« first day (3312 days earlier)      last day (1622 days later) » 

8:59 AM
ooh 9 hours later...
Quack
 
yo'
@PauloCereda Boo! (My organ lesson starts in a couple of minutes)
 
9:24 AM
@yo' ooh :)
 
9:36 AM
@DavidCarlisle @voices The history part of memoir that I assume David is referring to have been moved out of memoir some time ago. It is now a separate document: ctan.org/pkg/memdesign?lang=en
 
10:13 AM
@daleif oops you caught me out, not as if I have looked recently:-)
 
10:30 AM
@DavidCarlisle you cannot possibly have all of CTAN in your head at one time.
 
10:50 AM
@UlrikeFischer you broke the latex3 tests I see:-)
 
@DavidCarlisle ooh
 
11:07 AM
@DavidCarlisle ? Just home now.
 
@UlrikeFischer then you should leave again!
 
@UlrikeFischer epstopdf got packaged as epstopdf-pkg rather than oberdiek, so broke @JosephWright's mininal texlive test installation (until he added it) Just because I did it (and it wasn't an error) doesn't seem a reason not to blame you.
 
@DavidCarlisle does that mean I missed all the fun?
@DavidCarlisle @JosephWright seems to miss pdftexcmds too, if I look at the build failure.
 
@UlrikeFischer check the secret repo, I added an idea and a video. :)
@UlrikeFischer: forced my MP4 in there, as the timing would be tricky.
 
@PauloCereda ;-))))))))
 
11:21 AM
@PauloCereda New Extravaganza?
 
@AlexG shhhhh
 
@AlexG oh no
/quacks in despair
@AlexG we ducks are very good at keeping secrets
 
@AlexG could you sent me a mail?
 
11:37 AM
@UlrikeFischer n...3@ni.......de ?
 
@AlexG for example. (almost every mail you can find reaches me ...)
 
@UlrikeFischer Done.
 
@AlexG ooh a secret
Nickelback
Nickelodeon
Am I close?
 
12:09 PM
@AlexG answered
 
12:31 PM
Mar 6 '18 at 12:20, by Paulo Cereda
We ducks are not good at keeping secrets
 
@DavidCarlisle uh-oh
 
 
1 hour later…
1:46 PM
@AlexG basically the problem is that \pdfximage and \saveimageresource handles quoted file names differently - the second doesn't like them at all. So you need to unquote. The main problem is to get the expansion order right when using macros.
\documentclass{article}
\usepackage{pdfbase}

\begin{document}
\pdfximage page 1 {"example-image.pdf"} %fails with luatex
\makeatletter
\pdfximage page 1 {\unquote@name{"example-image.pdf"}} %works with both

\end{document}
@DavidCarlisle ^^^ (pdfbase does \pdfximage=\saveimageresource)
 
@UlrikeFischer that would be wrong then I guess (luatex85.sty does the same (@JosephWright) it should define \pdfximage to use \unquote@name as you show I think.
 
@DavidCarlisle how do you define a command like \pdfximage with primitive syntax??
 
@UlrikeFischer mess around with the token library to scan past the keywords.... It would be easier just to document that the filename shouldn't be quoted (in either case) but I think it could be defined to strip the quotes if needed.
 
@DavidCarlisle , @Ulrike So I'd be better off defining a private command for internal use, making use of \unquote@name{...}?
 
@AlexG are you adding the " or are these coming ultimately from user input?
 
2:01 PM
@DavidCarlisle Not from my side.
 
@AlexG just blame the users and go to bed happy?
@AlexG but in graphics.sty I added this compatibility block for pre 2019 latex releases:
\ifx\set@curr@file\@undefined
\def\set@curr@file#1{%
  \begingroup
    \escapechar\m@ne
    \xdef\@curr@file{\expandafter\string\csname\@firstofone#1\@empty\endcsname}%
  \endgroup
}
\def\quote@name#1{"\quote@@name#1\@gobble""}
\def\quote@@name#1"{#1\quote@@name}
\def\unquote@name#1{\quote@@name#1\@gobble"}
\fi
 
@DavidCarlisle there are not from user input, but somewhere from here:
    \xdef\@anim@pathtofile{\expandafter\zap@finalspace\@filef@und\@nil}%
      \filename@parse{\@anim@pathtofile}%
 
then used \unquote@name as needed.
@UlrikeFischer \filename@parse doesn't add quotes before 2019-10-01 or after 2019-10-01 PL3
@UlrikeFischer oh but \@filef@und does. OK.
@UlrikeFischer \pdfximage [ ⟨rule spec⟩ ] [ ⟨attr spec⟩ ] [ ⟨page spec⟩ ] [ ⟨colorspace spec⟩ ] [ ⟨pdf box spec⟩ ] ⟨general text⟩ (h, v, m) hmm it would take a lot of hand parsing, probably not worth it.
 
@DavidCarlisle No, I think a general rule "unquote file names" is better.
 
2:17 PM
@UlrikeFischer I kept the quotes in \@filef@und as it has a trailing space (that the code you show above is removing:-( I'd have like to have removed that but I was scared of existing code doing \@@input \@filef@und and expecting teh filename to terminate at the hidden space
@UlrikeFischer as in this from latex.ltx
\def\@input#1{%
  \IfFileExists{#1}{\@@input\@filef@und}{\typeout{No file #1.}}}
 
In animate.sty I tried
% get number of pages in file given as #1 (file basename); #2 extension;
% store result into macro given as #3
\ifpdf %pdflatex/lualatex
  \def\@anim@getpagecount#1#2#3{%
    \pdfximage page 1 {\unquote@name{#1.#2}}\xdef#3{\the\pdflastximagepages}%
  }
\else
  \if@anim@xetex
  ...
 
@DavidCarlisle perhaps the code could beside \@filef@und also store an unquoted/unspaced version of the filename \@filef@und@unquoted.
 
.. but it didn't help.
 
@UlrikeFischer yes well it generates that first then carefully adds the quotes....
 
@AlexG I think you need something like
\edef\@anim@tempfilename{\noexpand\unquote@name{#1.#2}}%
    \pdfximage page 1 {\@anim@tempfilename}
:52685327 #1.#2 contains macros in Alex's code and \unquote@name didn't work correctly.
 
2:25 PM
@DavidCarlisle hi David, what do you tnink about this issue? puszcza.gnu.org.ua/bugs/index.php?444
 
@UlrikeFischer yep
 
2:35 PM
@michal.h21 the mi form is preferred for mathml
 
@DavidCarlisle thanks, I will fix that.
 
3:26 PM
@DavidCarlisle and @UlrikeFischer -- If you would like help getting in touch with the author of the Bangla script article, either Karl or I would be happy to help. But his email address should be published in the article, so I think that should reach him. Just let me know if help is needed/wanted.
user image
4
^^^ We're in Quebec, and our little friends are here with us.
 
@barbarabeeton wooooo
 
@barbarabeeton Avez-vous besoin d'aide avec votre français?
 
@DavidCarlisle ooh Anglais
 
@PauloCereda Franglais
 
@AlexG googleais, actually.
 
3:44 PM
@DavidCarlisle -- Merci, non. Nous pouvons faire ça.
 
@DavidCarlisle D'accord. I was suspecting this.
 
@barbarabeeton OK, I know you struggle with English sometimes, so I thought I'd offer.
 
@AlexG ooh
@DavidCarlisle I thought you could add some la and le in the sentence to get French. :)
This is le duck.
Perfect French
 
4:05 PM
@PauloCereda good idea, abbreviated le and accents as well:
Canard à l'orange
 
@DavidCarlisle oh no
 
yo'
4:19 PM
@barbarabeeton possibly also "nous poussions". Have a good time!
(I hope I'll visit New York, Providence, Boston, Montreal and Chicago after this TUG2020)
 
@yo' ooh
 
@yo' -- We can give you some suggestions in all of those places.
 
yo'
4:41 PM
Well, the biggest Q is whether (and if then where and how) to rent a car in NY.
 
4:58 PM
@yo' -- You really don't want to drive in NYC. Better to get a good transit map. If you're thinking of renting a car to get out of NYC (e.g., to drive to Rochester), then getting it at an airport would be better. I'd suggest Newark, since JFK is south of the city, and getting out requires driving through the city. You certainly don't want to drive in Manhattan.
 
@UlrikeFischer Quotes are evil. Shouldn't \IfFileExists be fixed accordingly? (to not add quotes altogether)
 
@AlexG well I could do that if I could but I'd break half of ctan so it's a bit tricky
 
@AlexG well as @DavidCarlisle wrote chat.stackexchange.com/transcript/message/52685199#52685199, the problem like always in latex is not to break existing stuff.
 
@DavidCarlisle , @Ulrike I will use and upload your fix this evening or so.
 
@AlexG since latex2e was introduced in 1993 you have been able to do \@@input\@file@f@und (and latex does that itself in several places) with the space inserted at the end of that macro ending the filename. The only way to support that while allowing spaces in filenames is to add quotes. I could of course remove the quotes and remove the trailing space and adjust those uses that I have write access to, but...
@AlexG every package on ctan that patches IfFileExists will break (again) if I change its definition (again)
 
5:09 PM
@DavidCarlisle Will @Ulrike's fix be safe in the long run?
 
@AlexG yes worse that happens if we shuffle this again is that you call unquote@name on something that in future doesn't contain quotes, so you cost a few expansion steps
 
5:30 PM
@barbarabeeton I was asked to investigate if the right one is a bear or not.
 
6:13 PM
@UlrikeFischer -- Yes, he's a "rescue bear", named bearley. He was found face down in a snowbank, and adopted.
3
user image
4
 
@barbarabeeton We have got a rescue hippopotamus which we saved from a puddle.
 
6:50 PM
@UlrikeFischer -- I hope you've given your hippopotamus a virtual lagoon to wallow in.
 
7:01 PM
user image
4
@barbarabeeton ^^^^
 
7:21 PM
@UlrikeFischer -- What a sweetie! Looks very huggable.
 
7:36 PM
@barbarabeeton ooh
@UlrikeFischer ooh
 
7:52 PM
Gooed evening for my preferite users into chat.
@DavidCarlisle I have removed also my last question.
 
8:25 PM
:52690843 Yes
 
@JosephWright yep I can now, I was getting a HTTP 500 forbidden status
 
8:46 PM
↑↑↑ Amazing how the lack of appropriate kerning can ruin a message, isn't it?
 
 
1 hour later…
9:51 PM
@DavidCarlisle Why are you actually maintaining ho-tex now? What happened to Heiko?
 
Would I be correct to think that the aux file should return the same results after a few runs, and continue doing so regardless how many further runs were made?
 
@HenriMenke since 2016, with @UlrikeFischer's help (he got busy, essentially vanished) so when luatex changed the names of all the primitives they all broke, and he allowed us to step in.
 
@FaheemMitha In theory it should converge, but you can always make up something that doesn't: tex.stackexchange.com/questions/30674/…
 
@FaheemMitha well that would be good, but it's not guaranteed.
@HenriMenke I set up ho-tex, Heiko has not been involved since the files were put on github.
 
@DavidCarlisle I see, so kind of like PGF.
@DavidCarlisle Any idea why Heiko vanished? I recall that he attended TUG2015 in Darmstadt.
 
10:02 PM
@HenriMenke and tkz-euclide and rf-latex and bidi-tex and ....
@HenriMenke I think he changed his real life job and just had no time.
 
@DavidCarlisle Well, the usefulness of tkz-euclide is debatable.
 
@HenriMenke good to practice my French
 
I'm not asking for my own amusement, btw. I've dealing with something that doesn't appear to stabilize, but I don't see why.
@HenriMenke @DavidCarlisle Would I be correct in thinking that these would mostly be pathological examples?
 
@DavidCarlisle That's what happened to Christian Feuersänger as well. I took over pgf but pgfplots is practically unmaintained right now.
 
And do these examples that don't stabilize have something in common?
 
10:05 PM
@FaheemMitha Yes, they have a fixed cycle.
@FaheemMitha The example I linked oscillates between page 4 and page 5, so diffing the aux files of two consecutive runs should reveal that.
@FaheemMitha Of course, if your example is really pathological, the cycle might be longer than just two.
 
In my current test case, the aux file is switching between two different versions. It's not clear to me why.
@HenriMenke So, would this be pathological, or could it arise "normally"?
This is the diff:
-\newlabel{1:2019.02.18}{{1}{1}}
-\newlabel{1:2019.02.11}{{2}{1}}
+\newlabel{1:2019.02.11}{{1}{1}}
+\newlabel{1:2019.02.18}{{2}{1}}
 
@FaheemMitha I can arise normally if you have content of varying width at the page boundary.
 
Can someone remind me what the second part in curly brackets corresponds to? I.e.
{{1}{1}}
 
@FaheemMitha \ref and \pageref
 
I can't easily provide a MWE.
 
10:10 PM
@FaheemMitha \newlabel{label}{{currentlabel}{pagenumber}}
 
@FaheemMitha the odd thing is that you are writing the labels in a different order so they must be attached to floats that are floating past each other?
 
So currentlabel is switching between 1 and 2?
@DavidCarlisle No, there are no floats. Are you saying that the labels are switching orders?
 
@FaheemMitha yes but why are you writing .18 then .11 in one case but .11 then .18 in the other?
@FaheemMitha something floated.
 
So the two labels are appearing in order 1 and then 2, and then 2 and then 1?
 
@DavidCarlisle I second that, there is some if-then construct there (either explicit or implicit).
 
10:12 PM
@DavidCarlisle I've had to use l3build's tdslocation feature :)
 
@DavidCarlisle I'm not.
 
@FaheemMitha that's what your diff shows. ignore the second argument,
 
I'm calling from a db. That might be causing some order issues. I'd need to check.
 
@JosephWright I was just going to ask you inf I needed to do that, in magicnum theer is a .txt file that gets docstripped out of the dtx, Heiko put it in the doc tree but docfiles={"*.txt"} doesn't work, I can add it to installfiles but then it goes to the wrong place by default...
@FaheemMitha look at your generated latex file, what order are the labels 1:2019.02.11 and 1:2019.02.18 ?
 
Yes, indeed, it's switching back and forth.
Ok, I'll investigate. It should be in a fixed order. Thanks, that was helpful.
 
10:15 PM
@FaheemMitha you regenerate the tex file each time? there is no guarantee that will stabalize then
 
@DavidCarlisle They're switching orders. They should stay in the same order.
 
@DavidCarlisle Working with a .profile
 
Thanks. I now have something concrete to check. I wasn't sure what was going on.
 
@JosephWright I'm pulling out magicnum as it's the last remaining one with a two dot oberdiek.zzz.lua copy of zzz.lua file.
 
@DavidCarlisle I had to look up what it is doing ;-)
 
10:21 PM
Mar 26 '12 at 19:37, by David Carlisle
@Canageek moral of the story: never read the documentation, bad things happen
 
Does a \newlabel normally get written to the aux file when there is a \ref in the file? Are there any other situations when it gets written?
 
@DavidCarlisle ool
 
@FaheemMitha no. there is a hint in the name, it is written by\label
 
@DavidCarlisle Oh. Sorry.
Was PGF/TikZ not part of TeX Live 2009?
 
@FaheemMitha It was
 
10:35 PM
Does @SchrodingersCat hang out in the chat room?
 
@voices not usually
 
will he get notified if he's mentioned here? i wanted to thank him, but i know how y'all feel about seeing that in the comments
 
@voices no, if a name doesn't appear when you start to type @ then the ping won't work.
 
@JosephWright It was part of TeX Live 2009?
 
thought as much
 
10:38 PM
@FaheemMitha Yes
 
@JosephWright Huh. Strange.
 
 *File List*
 article.cls    2007/10/19 v1.4h Standard LaTeX document class
  size10.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
    tikz.sty    2008/02/13 v2.00 (rcs-revision 1.27)
     pgf.sty    2008/01/15 v2.00 (rcs-revision 1.12)
  pgfrcs.sty    2008/02/20 v2.00 (rcs-revision 1.21)
  pgfrcs.code.tex
 pgfcore.sty    2008/01/15 v2.00 (rcs-revision 1.6)
graphicx.sty    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
  keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
graphics.sty    2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
@FaheemMitha ^^^
 
@JosephWright Ok. Thank you.
 
what's with the ducks? i mean i like ducks. but you guys really like ducks
 
@voices blame @PauloCereda
 
10:42 PM
@DavidCarlisle You should be fine with tdslocations = {"doc/latex/magicnum/*.txt"}
 
@JosephWright the existing locations had doc in latex and extracted code in generic as well so i just copied the existing manifest lines exactly and ended with
tdslocations={
"doc/latex/oberdiek/magicnum.pdf",
"doc/latex/oberdiek/magicnum.txt",
"scripts/oberdiek/magicnum.lua",
"source/latex/oberdiek/magicnum.dtx",
"tex/generic/oberdiek/magicnum.sty"
}
well that with oberdiek changed to magicnum
 
@DavidCarlisle Worked OK?
 
@JosephWright seems that way
@JosephWright it just made:
Archive:  build/distrib/tds/magicnum.tds.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  11-25-2019 22:47   doc/
        0  11-25-2019 22:47   doc/latex/
        0  11-25-2019 22:47   doc/latex/magicnum/
     1107  11-25-2019 22:47   doc/latex/magicnum/magicnum.txt
       38  11-25-2019 22:47   doc/latex/magicnum/README.md
        0  11-25-2019 22:47   scripts/
        0  11-25-2019 22:47   scripts/magicnum/
     5320  11-25-2019 22:47   scripts/magicnum/magicnum.lua
 
@DavidCarlisle Cool
 
There is something like gnu make but in LUA, which is multiplatform capable of reading a Makefile (not so complicated) dedicated to a LaTeX project. I know make is available for most platforms, but I'm looking for something like ltxmake.
 
10:57 PM
@PabloGonzálezL why not l3build?
 
@DavidCarlisle Yes, l3build is pretty good, but I would be interested to know if there is a script that directly interprets a .mk file without having to modify it.
 
@PabloGonzálezL I doubt it, or at least cross platform (I doubt any of our makefiles at work would run in windows even if lua parsed the make syntax)
 
@DavidCarlisle I know there is xmake which is like cmake but in LUA, but, I don't find anything like make in LUA.
 
@PabloGonzálezL Like @DavidCarlisle said, that sounds pretty unlikely to work
 
@JosephWright Of course I'm not looking for you to interpret all the complexity of make, just some basic instructions such as system calls, copying and file creation, compression and deletion.
 
11:05 PM
@PabloGonzálezL yes but they are the hard part, most make files are written on the assumption that rm removes a file or cp copies them etc, so to make it cross platform you'd have to not only parse the make rules but parse every executable line and change it from linux shell to windows cmd (unless you assume that gnu tools are available, but in that case you could just use make)
 
@PabloGonzálezL Well yes, that's rather the point, file copying etc. has different syntax on Windows an *nix systems ...
 
@JosephWright @DavidCarlisle What happened here?
! LaTeX Error: File `pdftexcmds.sty' not found.
 
@HenriMenke pdftexcmds got moved out of oberdiek to its own package so if you have aminimal tl installation you need to install it
 
@DavidCarlisle and @JosephWright That's the exact point I'm looking for...a script able to interpret if it's in win(del) or linux (rm) but transparent to me as users, i.e. the same Make for a win linux project ...the script reads the file, interprets the lines (.PHONY for example) and makes the adjustments according to the operating system.
 
@HenriMenke @DavidCarlisle moved stuff ;)
 
11:10 PM
@JosephWright oi, blame @UlrikeFischer
 
@PabloGonzálezL Er, that's what l3build does, more or less, but I didn't want to try to reimplement make
 
@JosephWright did you add it to latex3 now too?
 
@PabloGonzálezL but that is what l3build does by providing a lua syntax designed to be cross platform, parsing make files with embedded linux shell syntax and making it cross platform is making things much harder
 
@UlrikeFischer Yup
 
@JosephWright I should better make a list - I bet luaotfload breaks now too.
 
11:14 PM
@HenriMenke you can share the apology:-) tug.org/pipermail/tex-live/2019-November/044465.html
 
@DavidCarlisle OK, the final answer is ..does not exist (snif)..., I will try to understand the documentation and change the rules from Make to l3build
 
@PabloGonzálezL well it might exist (the internet is big:-) but I wouldn't trust it, translating shell commands on the fly to windows cmd then executing them unseen sounds like you need to really trust the conversion.
 
@DavidCarlisle Grrrrr.....
! LaTeX Error: File `epstopdf-base.sty' not found.
 
@DavidCarlisle Mmm, that's a good point, well I have WSL for most things, but not everyone we work on the project has WSL, and forces to write extra .bat files. I found (github.com/garious/flake) but it's a lot more than I need...l3build is the best option apparently.
But it would be interesting if there were a ltxmake in LUA for LaTeX projects only.
 
11:27 PM
@HenriMenke same, basically this only hits people running minimal texlives in CI and I'm not sure how best to do it, ctan didn't want me to split it in one go so they would have to update 95 package catalogue entries all at once, but I really need to split it. So I'm splitting off 4 or 5 at a time...
 
@DavidCarlisle You could make oberdiek depend on all the ones that you pulled out.
 
@HenriMenke well I can't, I don't have access to the tlmgr dependencies, but I could suggest that to Karl I suppose. But actually if you want a minimal installed texlive not installing the entire oberdiek monster and just installing the 2 or 3 bits you need is a win (even if that is short term pain)
 
@HenriMenke Interesting, I'll take a look.
 
@DavidCarlisle Well, if I explicitly say tlmgr install oberdiek I want all of oberdiek and not just the subset that accidentally still happens to be in there.
@DavidCarlisle And once they are all nicely split out and oberdiek is basically just a metapackage that pulls in some dependencies, then you can remove oberdiek and tell people to use the individual ones.
 
@HenriMenke why? for example why did you want pdfcolmk (that has done exactly nothing since pdftex 1.40 a decade ago) or luatex.sty which defined a lua package loader that's been incompatible with lualatex for some years?
 
11:35 PM
@DavidCarlisle Right now I just don't want spurious build failures.
 
@HenriMenke but that is the same as now just puts off the day things break until the entire package is removed.
 
@DavidCarlisle but it would perhaps be good to have a list of the new packages for copy&paste in travis setups.
 
@UlrikeFischer so far
attachfile2
epstopdf-pkg
grffile
hobsub
inputenx
magicnum
makerobust
oberdiek
old-source
pdfcolmk
pdftexcmds
zref
but zref inputenx and majicnum not on ctan yet oh and old-source doesn't go to ctan, plus iftex that aquired ifpdf,ifluatex from ere
 
The relevant are probably only pdftexcmds and epstopdf-pkg. But the new latex-dev broke my tests too ;-(
 
11:52 PM
@DavidCarlisle Please notify me when you pull out atveryend. I think that's the only one still in oberdiek that PGF depends on explicitly right now.
 
@HenriMenke yes the hooks, I am not sure whether to make that a package on its own or something like ho-hook with a collection like atbegshi.dtx atenddvi.dtx atveryend.dtx auxhook.dtx But yes I will ping you if that is coming up
 

« first day (3312 days earlier)      last day (1622 days later) »