« first day (3466 days earlier)      last day (1466 days later) » 

7:15 AM
@HaraldHanche-Olsen don't blame me, I'm just the messenger, blame @UlrikeFischer
 
 
2 hours later…
9:04 AM
@JosephWright the pageobject_ref command in the source eats spaces. One gets \l_tmpa_tl=10R back. I could repair it but the only way I found to get the right space looks a bit odd, is there something better:
\documentclass{article}
\begin{document}

\ExplSyntaxOn


\tl_set:Nx \l_tmpa_tl{\__pdf_backend_pageobject_ref:n{1}}
\tl_show:N\l_tmpa_tl


\cs_set:Npx \__pdf_backend_pageobject_ref:n #1
  {
    \exp_not:N \int_value:w
      \cs_if_exist:NTF \tex_pdffeedback:D
        { \exp_not:N \tex_pdffeedback:D pageref }
        { \exp_not:N \tex_pdfpageref:D }
          #1 ~\exp_not:N\c_space_tl\exp_not:N\c_space_tl 0 \exp_not:N\c_space_tl R
  }


\tl_set:Nx \l_tmpa_tl{\__pdf_backend_pageobject_ref:n{1}}
\tl_show:N\l_tmpa_tl
 
@UlrikeFischer Let me open the dtx
 
9:16 AM
\cs_set:Npx \__pdf_backend_pageobject_ref:n #1
  {
    \exp_not:N \int_value:w
      \cs_if_exist:NTF \tex_pdffeedback:D
        { \exp_not:N \tex_pdffeedback:D pageref }
        { \exp_not:N \tex_pdfpageref:D }
          #1 \c_space_tl \c_space_tl \c_space_tl 0 ~ R
  }
@UlrikeFischer ^^^
 
@JosephWright I knew I was overdoing somewhere. Should I add it or do you want to do it?
 
@UlrikeFischer Go for it
 
9:31 AM
quack
 
@JosephWright if I would want to add a test file where should it go and how should I name it?
 
@UlrikeFischer Er, we don't really have backend tests at the moment, but they'd go into l3backend/testfiles, I guess just as m3backend-00X
 
@JosephWright I tried this, but it doesn't find regression-test.tex then. I will check the build.lua
 
9:49 AM
@UlrikeFischer Ah, I might not have set anything up as there were no tests
 
@JosephWright Yes just saw it. I will leave it for now and put the test into pageresources, if something break I will realize it (like I did this morning) if I run the tests there.
 
 
1 hour later…
11:19 AM
Does anyone know of a known incompatibility between packages calc and ehhline? This question, tex.stackexchange.com/questions/540700/…, seems to show it (note: stackengine loads calc, which is causing it).
 
11:32 AM
@StevenB.Segletes user error. There is a \global\setlength which doesn't work with calc, see e.g. tex.stackexchange.com/a/443970/2388 or tex.stackexchange.com/a/297189/2388
 
12:11 PM
@StevenB.Segletes the important thing is that any error is in ehhline (or of course stackengine) not in hhline.
 
12:36 PM
@DavidCarlisle ^^^ hmmmm
 
Thanks @UlrikeFischer for the debug!
@DavidCarlisle You're reputation is intact.
 
cis
12:55 PM
......
......
......
......
......
Does anyone know in which wad (pk3) Rick Astley can be seen on a big screen and his song runs as a melody? (I don't mean "Doom Rickroller")
I want to start a server with that.
 
1:10 PM
@PauloCereda that one is bug free but I can't speak for ehhline
 
 
1 hour later…
2:25 PM
ooh
 
@PauloCereda boo, it doesn't work :(
 
2:50 PM
@DavidCarlisle oh no
 
@PauloCereda they don't let us use data: URI, spoilsports
 
@DavidCarlisle ooh
 
@PauloCereda what's wrong with [ooh](data:,dinner)
 
@DavidCarlisle oh no
 
3:17 PM
uff ifdraft is not broken ;-)
 
@UlrikeFischer finally something you haven't broken:-)
 
@DavidCarlisle that's mean
 
@DavidCarlisle I haven't broken hhline either - it is bug free.
 
@UlrikeFischer naturally
@PauloCereda You are objecting to me saying @UlrikeFischer hasn't broken something?
 
@DavidCarlisle oh
@DavidCarlisle Emphasis on finally :)
 
3:24 PM
user image
2
^^^ we have to wear masks now
 
@UlrikeFischer "boil in the bag" ?
 
@UlrikeFischer ooh
@DavidCarlisle oh no
 
@JosephWright Can I add more than one category to a \printbibliography command? The intuitive \printbibliography[category={foo,bar}] gives me category "foo,bar" undefined.
 
3:42 PM
@AlanMunn That's a good question, but I'm not familar with the internals here
 
@AlanMunn you probably can define a filter.
 
@UlrikeFischer I tried that too, and it doesn't seem to work. I did \defbibfilter{cat}{category=foo and category=bar}\printbibliography[filter=cat] and nothing shows up. Clearly I'm not understanding somthing.
 
@AlanMunn do you have a small example?
 
@UlrikeFischer No, but I can concoct one.
 
@AlanMunn and or or ?
 
3:50 PM
With algorithm2e is it possible to gray-out certain lines?
In particular lines with \If statements
Hah, the naive approach of wrapping in \textcolor worked
 
@DavidCarlisle duh. I was in .bib file 'and' mode not logical 'and' mode...
@UlrikeFischer @DavidCarlisle has solved the \bibfilter problem, so that works. I'm still not clear on why I can't add multiple categories to the command, but this works.
 
@AlanMunn ooh
 
@AlanMunn I didn't even know the \defbibfilter command existed, but being a linguist I know the difference between and and or.
 
@AlanMunn the predefined filter keys are rather simple. If you want more you normally have to use \defbibfilter.
 
@DavidCarlisle And my dissertation was literally about conjunction so I should know too.
 
4:05 PM
@AlanMunn you are excused in that case. Everybody wipes their memories after graduation
 
@DavidCarlisle ooh
 
How can I use a macro inside a filecontents environment?
 
@ComFreek you can't
 
Is there an alternative way?
(I want to create a MWE, hence embed the file)
 
@ComFreek What are you trying to do?
 
4:11 PM
For my MWE I need a file with exactly 86 lines of text
 
@ComFreek There is always an alternative but what are you trying to do
 
@DavidCarlisle This is my non-working MWE pastebin.com/Z9Z1kVp0
you see that I build up 86 lines
 
@ComFreek yes but why use filecontents that is a verbatim environment
 
how else?
My actual problem also uses minted to load from a file
So I tried mimicking
 
@ComFreek exactly or more than 86 lines?
 
4:14 PM
I can reproduce the spacing problem (with Beamer's animations) with 86 lines
might also reproduce with more, idk
 
@ComFreek you could try to include hhline.sty - it has 98 lines.
 
Now that's unconventional
:D
I think I'd like to make it forever reproducible since I want to ask a question here at TeX.SE
Anyway, I think I just settle on providing a file
 
@ComFreek well you could write with a loop 86 lines.
\documentclass{beamer}
\makeindex
\usepackage{pgffor}
\begin{document}abc
\begin{frame}
\foreach \x in {1,...,86}{\index{a}}
\end{frame}
\end{document}
 
@ComFreek \\ wouldn't write a newline in anycase you'd want ^^J
 
^^^ 86 lines in the idx.
 
4:21 PM
Does that write to a file?
Doesn't seem so
 
@ComFreek Ulrike's code yes to the idx file
@ComFreek this for example
\newwrite\zzz
\immediate\openout\zzz casestudy1.txt
\immediate\write\zzz{%
a^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^J%
a^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^J%
a^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^J%
a^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^J%
a^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^J%
a^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^J%
a^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^J%
a^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^Ja^^J%
a^^Ja^^Ja^^Ja^^Ja^^Ja}
\immediate\closeout\zzz
 
@DavidCarlisle Are you a yes-man in German, or just laughing in Spanish?
2
 
@DavidCarlisle I just realized that xr-hyper is still broken. It adds braces to the url: test2.pdf{}{}{}#section.2{}{}{}.
 
4:37 PM
@UlrikeFischer is it clear why? Can we you fix it?
 
@DavidCarlisle ;-) Not sure. We had it in january chat.stackexchange.com/transcript/41?m=53325975#53325975. Simply removing the braces should fix the example, but I wonder if they are there for a reason and what I would break instead.
 
@AlanMunn LOL
 
@DavidCarlisle Ah, thank you
I now settled with files
0
Q: Beamer's \only animations break layout intra-animation with multicol

ComFreekI am typesetting code with minted inside a multicols environment together with Beamer's \only animations. That leads to inconsistent layout spacing between the animated frames. Demo Video (click if you don't see a GIF animation) MWE For the MWE you first need to download two text files: h...

 
@UlrikeFischer ah those. Ok it probably needs to more carefully remove them rather than just not adding them. If you don't add two spare {}{} and reference a document not made with hyperref that only has two fields then you get low level parsing errors when it hits } looking for #3 and #4
@UlrikeFischer but if you reference a document that was built with hyperref they are doing nothing useful (or breaking things) depending on how you look at it
 
@DavidCarlisle nerds are the worst: they are complaining that the worst thing about F# is that it lives on a framework written for C#, so they want a... Frexit.
 
4:44 PM
@PauloCereda give them ocaml and tell them to speak French.
 
@DavidCarlisle ooh chameau
 
@DavidCarlisle I see. I will look if one can get rid of them when writing the URI.
 
@PauloCereda I see what you did there.
 
@AlanMunn <3
 
@PauloCereda Not to be confused with the Shamwow.
 
4:46 PM
 
@AlanMunn ooh
@DavidCarlisle ooh das Kamel
 
@PauloCereda er no it has to be a french camel otherwise the name doesn't make sense:-)
I just got told off by my sister for getting the gender of the sky wrong :(
 
@DavidCarlisle What about Russian camels? Another camel is approaching.
 
@AlanMunn YES YES YES
Flanders and Swann rocks!
@AlanMunn The semantics is this chat is beyond awesomeness. :)
@DavidCarlisle ooh camels
 
@AlanMunn would it be a major hindrance to world communication if we banned any language that assigned gender to the sky?
 
4:53 PM
@DavidCarlisle I guess for you, the sky's the limit.
3
 
@AlanMunn I'm sure French people don't really use all these genders and it's just a trick to make English people fail French tests.
 
@DavidCarlisle also the Chantecler chicken guy
@DavidCarlisle sacred bleu
 
@DavidCarlisle I won't tell you about Swahili then.
 
@AlanMunn I have never failed a Swahili test.
 
5:04 PM
@DavidCarlisle tricky. Couldn't xr-hyper check if the aux is from a "hyperref" file, e.g. by detecting \global\let\oldnewlabel\newlabel and add the braces only if this is not the case?
@DavidCarlisle does this looks sensible:
\def\XR@URLbraces{{}{}{}} %<---new
\long\def\XR@test#1#2#3#4\XR@{%
  \let\XR@tempa\@gobblethree
  \ifx#1\HyperFirstAtBeginDocument %<--- new
    \def\XR@URLbraces{}% %<---
  \fi %<--- new
  \ifx#1\newlabel
    \let\XR@tempa\@firstofthree
  \else\ifx#1\XR@bibcite
    \let\XR@tempa\@secondofthree
  \else\ifx#1\@input
     \let\XR@tempa\@thirdofthree
  \fi\fi\fi
   \XR@tempa
    {\expandafter\protected@xdef\csname r@\XR@prefix#2\endcsname{\XR@addURL{#3}\XR@URLbraces}}% <--
    {\expandafter\bibcite\expandafter{\XR@prefix#2}{#3}}%
 
5:19 PM
@UlrikeFischer I'll do some tests later...
 
@DavidCarlisle it seems to work, but I'm not sure that I understand why \XR@URLbraces doesn't need to be reset. Either I'm missing a group somewhere or there is flaw.
 
yo'
6:13 PM
Why doesn't hyperref simply put a flag in AUX?
 
@yo' basically the hyperref definitions are a flag. There is no really need for one more. (xr doesn't execute the aux, it read only strings anyway)
 
6:33 PM
The question input-like command for in-file shortcuts was closed. I think I have grasped what the question is about and can provide an answer if it gets reopened.
 
6:49 PM
@UlrikeFischer @yo' also I think there are some other ...ref packages that have more than two fields in the \ref data so you really need to check for that, not just fo rhyperref.
@PauloCereda the local pub can not open at the moment but is allowed to run a takeaway service, you may be interested in next weekends specials... souldern.org/home/announcements/covid-19#fox-inn
 
@DavidCarlisle oh no
> Home made Burger with Smoked Bacon, Cheddar Cheese, chips and onion rings
hmmmm
 
@PauloCereda I wonder how many pubs post their coronavirus menus via git :-)
 
@DavidCarlisle LOL
 
@PauloCereda @CarLaTeX has just arrived to complain about the obvious missing ingredient in the 4th item.
 
@DavidCarlisle ooh
 
6:57 PM
@PauloCereda it's just so hard to get nutella during the lockdown
 
@DavidCarlisle ooh Nutella pizza is good
 
@DavidCarlisle -- The fish and chips sounds good. I don't suppose they're still allowed to wrap them in newspaper ... Ah, the old days!
 
@DavidCarlisle Pineapple?
@PauloCereda But it's not pizza
 
@CarLaTeX it is!
 
@barbarabeeton not since.. ooh I think since we joined the EU, maybe they'll allow that again:-)
 
yo'
7:01 PM
@DavidCarlisle yeah, well, basically that's somehow what I meant, actually. Now everyone fiddling with \ref does some crazy stuff to keep compatible with (at least) someone else.
 
@PauloCereda -- Just because someone writes "pizza" on a menu doesn't mean it really is.
2
 
@DavidCarlisle Or wrapped in recycled maroon passports.
 
@barbarabeeton but it's round and it looks like pizza, and it has even a pizza box, also it's written pizza on the menu, so the number of arguments that support the hypothesis are significant. :)
ooh empirical pizza
 
@barbarabeeton some fish and chip shops do use paper with printed fake news on. But they don't use soft paper with ink that makes your hands go black just holding the wrapping:-)
 
@DavidCarlisle I thought fake news were just a rumour amongst internet people
 
7:06 PM
@PauloCereda -- Lahmajun is round, has a nice thin crust and spicy chopped meat on top, and some people think it looks like pizza, but it's not.
 
@barbarabeeton ooh Lahmajun pizza
:)
 
@PauloCereda -- Aarrrggggghhhhhhh!
 
@barbarabeeton sorry sorry sorry! <3
 
@PauloCereda no you are not.
@barbarabeeton just remind him of next week's special.
 
@DavidCarlisle we need to keep some material for comedic purpose. :)
@DavidCarlisle oh no
@barbarabeeton on a more serious note, it's amazing to see how almost everything is now categorized as pizza. I think only a few pizzerias still abide by the rules.
 
7:12 PM
@PauloCereda -- Thank goodness most of the ones I know do still follow tradition. (I ignore any one that doesn't serve anchovies.)
@DavidCarlisle -- thanks. I think the example is very much nicer now. (At least, more informative.)
@DavidCarlisle -- That added something to the flavor.
 
@barbarabeeton yummy! Anchovies are almost impossible to get around here...
 
@PauloCereda -- It's nice to live near water in a place where a noticeable segment of the population is descended from Portuguese fishermen.
 
@barbarabeeton Save a date in your agenda, so we can go to a pizzeria. :)
(secret duck plan, but I cannot tell it right now... we ducks are very good at keeping secrets)
 
@PauloCereda /awww
 
@Skillmonlikestopanswers.xyz /hugs
 
7:20 PM
@PauloCereda /hugs back, this time not biting
 
@Skillmonlikestopanswers.xyz ooh improvements :)
 
@PauloCereda we killer rabbits are adaptive and learn what's friend and what's prey.
 
@Skillmonlikestopanswers.xyz awww <3
 
@UlrikeFischer They look cute. What about shemags? ;-)
 
@DavidCarlisle really? But even if: it can not get worser for them.
 
7:29 PM
@UlrikeFischer I think that was my thought at the time but that was a long time ago:-) l'll try to check
 
@DavidCarlisle I looked at a number of ref packages and until now I only found 2 or 5. And hyperref doesn't contain some patch either.
 
@UlrikeFischer xr is very old maybe I just thought such a package might appear, I really don't remember. xr-hyper was just a quick chat with Sebastian, it never even got docuemnted properly. Why does it still exist? :-)
 
@DavidCarlisle some code has a long life :-).
 
8:30 PM
@l3team Why doesn't \int_to_base:nn support base64? It's the most important base.
 
yo'
@barbarabeeton Have you seen Rob Scallon's on the carillon?
 
@yo' -- Yes! (I think I may even have posted a link here a while ago.) Fabulous, isn't it!
 
yo'
@barbarabeeton yeah. There's a bellmaker in Prague who built a portable carillon!
but I have a feeling now that we indeed discussed this before!
 
@yo' -- Uh, I am trying to picture that. I think that there won't be many bells with a particularly low pitch; they get pretty heavy pretty fast.
 
yo'
@barbarabeeton oh yeah. The lastest is "only" 860kg
 
8:36 PM
@yo' -- That's portable???
 
yo'
on a truck, obviously :)
 
@yo' -- Amazing! It's even more amazing that it should need an amplifier.
 
yo'
@barbarabeeton I believe it doesn't need to be amplified, but it can
 
@yo' -- I hope the carilloneur has good ear protection.
 
yo'
@barbarabeeton yeah, I think so. But with only f1 as the lowest note, it's probably not that bad.
 
8:44 PM
@yo' -- But it's not handbells either.
 
yo'
@barbarabeeton no, indeed
Anyway, I shall still give the organ a bit of time today. Petr Eben's Due Pezzi (two modern organ improvizations over very old Latin church antiphones) are waiting :-)
 
9:09 PM
@Skillmonlikestopanswers.xyz for encoding binary but not from integers surely
 
@DavidCarlisle yes, not really for integers, obviously :)
 
@Skillmonlikestopanswers.xyz well the function is \int_to...
 
@DavidCarlisle ok, then \tl_to_base_sixtyfour:n? :)
 
@Skillmonlikestopanswers.xyz \str_utf8_btoa is probably what you want? base64 encoding of utf-8 encoding of a unicode string?
 
@DavidCarlisle I don't really need it. I just find the idea funny to setup TeX to automatically print base64 instead of normal text :)
 
cis
9:14 PM
@Skillmonlikestopanswers.xyz Mr. Skilmon, did you see the world-sensation at 18:53?
 
@cis I don't know what you're talking about, tbh.
 
I have a simple question regarding Mathematica, how do I plot a parametrized elipse as such puu.sh/FDimw/c8a14aaeee.png but not having to copy paste the code 4 times for all sign combinations (in this case the +- doesnt work)
 
cis
@Skillmonlikestopanswers.xyz I meant to post here at 18:53
 
@Skillmonlikestopanswers.xyz asked for before (of course, there are no new questions) tex.stackexchange.com/questions/385667/…
 
cis
@AlanMunn Under that post.... (sry)
 
9:15 PM
so as such puu.sh/FDir8/762e4a2005.png but for all 4 quadrants
 
@redivider you could ask in the mathematica chat not the tex one:-)
 
i can see a mathematics chat but not a mathematicA
 
@cis I still don't understand what you're referring to.
 
cis
@Skillmonlikestopanswers.xyz There is a post from me under Alans post... And this is a world-sensation.
 
9:19 PM
@cis oh, didn't see that. Well, I'm not really using Evince, too... :)
 
cis
@Skillmonlikestopanswers.xyz That's no problem ---> see video... ;)
 
 
1 hour later…
@Skillmonlikestopanswers.xyz was interesting (mpost isn't in the list any more)
 
@DavidCarlisle yes, sure. But I guess I can find someone with a TL2016 installation :)
 
@Skillmonlikestopanswers.xyz you could ask egreg to test your document on every tl he has....
@AlanMunn oops:-) thanks
 
11:21 PM
Hello dear friends. Where can I find the list of string produced by this kind of commands: \string\124 ?
 
@Sigur ??? it just gives the command you give it so there you have \string\1 so it returns \1
 
@DavidCarlisle, hello.
 
@Sigur I suspect that wasn't the question you meant to ask?
 
Nice to see you here. I remeber you teached me how to insert this command in pdfinfo: /Creator (\string\124\string\150\string\151\string\141\string\147\string\157 \string\144\string\145 \string\115\string\145\string\154\string\157)
 
@Sigur \string\1 just takes the token \1 and returns the two tokens \ and 1
 
11:33 PM
@DavidCarlisle, hum.... so I'm confused. Let tell you that I used that command in
\pdfinfo{
/Title (\cqd\ \if@user\else Vol.\ \@volume\ (\@ano)\fi)
/Author (\deptoname, Unesp Bauru)
%/Producer (pdfTeX 1.40.0)
/Creator (\string\124\string\150\string\151\string\141\string\147\string\157 \string\144\string\145 \string\115\string\145\string\154\string\157)
/Subject (\cqd)
/Keywords (\if@user versão do usuário \else versão final\fi)
}
}
So, as we see, the creator contains my name, hidden.
 
@Sigur that's one way of writing a PDF string using octal escape codes but why are yoou using such low level access.
 
To learn and to hide it... I'm going to share with some students and I'd like to make things harder to change... but in this case is hard even for me... lol
 
@Sigur \124 is PDF syntax for octal 124 which is hex 54 which is S
 
@DavidCarlisle, so, thanks for telling me the octal escape codes. I'll look for it. Thanks again.
 
@Sigur note it is not a tex command, there is no tex command \124 it is just the commad \1 followed by 2 4 but you don't want to execute \1 so \string\1 makes a verbatim \ and 1 so you end up making the PDF string \124
 
11:38 PM
@DavidCarlisle, very interesting. Amazing how it works. Really amazing.
 

« first day (3466 days earlier)      last day (1466 days later) »