« first day (2425 days earlier)      last day (2509 days later) » 

6:40 AM
@PauloCereda Even latexmk in the terminal doesn't work, hence it is not an arara problem, I think: tex.stackexchange.com/q/376037/101651
 
@CarLaTeX looks like you need to install an additional library in your perl setup
 
@DavidCarlisle The problem is how I can I do it :):):) (I hardly know what perl is)
 
@CarLaTeX have you installed a perl for windows or just using the minimal perl that comes from texlive?
 
@DavidCarlisle The second one. If I did it I didn't know I was doing it...
 
@CarLaTeX hmmm... I'm not sure if that is enough but as I don't use windows perl and don't use latexmk I may not be the right person to help, in a full perl there is a cpan utility which is like tlmgr for tex but connects to cpan which is perl's copy of ctan so if you are missing a MD5 library or whatever it is you just go something like cpan md5 install and it does, but I don't think the texlive perl is hooked up in that way it is just a minimal installation to run the texlive scripts, I think
@CarLaTeX (@PauloCereda knows more about this sort of stuff, or @egreg is of course our windows expert)
 
7:02 AM
@DavidCarlisle Thank you anyway, David! I was whatsupping with Paulo about this problem last night, maybe he or egreg can help me. Otherwise I can do without latexmk. I wanted to use it only for the MWE I do to answer here, the folder where I put them is becoming large, since there are some I want to keep and to clean the auxiliary files manually every now and then is a bit boring.
 
7:29 AM
@CarLaTeX This sounds as if you actually have an external perl (but without the necessary modules) and texlive is using it. What do you get with kpsewhich --expand-var=$TEXLIVE_WINDOWS_TRY_EXTERNAL_PERL ?
 
8:03 AM
@UlrikeFischer Thank you! I'll tell you tonight, I'm going to work now.
 
@CarLaTeX I will be away in the evening. If you get "1" as answer, try what happens if you change it to zero by adding TEXLIVE_WINDOWS_TRY_EXTERNAL_PERL = 0 to your local texmf.cnf, or by finding the texmf.cnf which sets it to one and changing it there (in my case it is the one in texlive/2017.
 
@UlrikeFischer OK but don't worry, I have no hurry, thank you!
 
9:15 AM
@GustavoMezzetti concerning \newpage change: chat.stackexchange.com/transcript/41?m=38110781#38110781 the question is "efficient in what sense?" The visual outcome of the two mods is the same, yours needs more token space and has two extra assignments to execute, while mine makes (sometimes) 2 skips in the output insistead of a single one. So clearly, a dvi would be slightly large but whether or not one runs faster than the other, I couldn't say
 
@FrankMittelbach Oh you are here ;-). There was an interesting question on the context list about optimization of the page output for a dictionary: If it is possible (with luatex) to avoid widows and orphans by changing columnwidth slightly or changing looseness slightly (vertical spaces should not be changed (gridsetting required). I wondered if alice could do it ...
 
@UlrikeFischer No sure about the spec you describe. Alice to work needs some flexibility on the page to work and it gets extra flexibility by running paragraphs longer or shorter (via some looseness attempts) and by running spreads long or short by one line. It doesn't try anything with columnwidth as that doesn't translate really into the TeX model
@UlrikeFischer and the variation in looseness may not really give you much with short paragraphs in a dictionary, but that depends on the dictionary I guess. If they are often long enough then it should work nicely
 
@FrankMittelbach Well if it can change looseness dynamically it would imho at least in part fullfill the specs of the question. It should only avoid stretching vertical spaces to stay on the grid. Also it is set raggedright (that's why small changes in columnwidth are possible) so probably looseness can do a lot.
@FrankMittelbach and Hans asked for a minimal example, so will perhaps try to implement something.
 
9:32 AM
@UlrikeFischer If you allow the column width to change on a paragraph level (somewhat invisible because of the ragged right) then yes, that + looseness would give you a lot of the needed flexibility. If however you want the whole column change its coumn width then you are in trouble doing that as you can't do the galley before the optimization
@UlrikeFischer with looseness you have to be careful not to use the TeX method directly as that tends to move just a single word to the next line which looks quite ugly. so you have to manipulate the token sequence to make breaks near the end of the para fairly bad
@UlrikeFischer good luck to him ... I'm now working on tis for more than a year and still it is WIP prototype level
 
Hello all. Is there a way to use AND, or OR with \ifdefined?
Any resource which explores it in greater detail?
 
@FrankMittelbach I thought so. But I don't think that a general change of column width is really needed - the involved values should be small anyway.
 
yo'
@manucpp WHAT?!
 
@FrankMittelbach I can tell you if he comes up with something ;-)
 
something like
if (this) && (this)
then
{
do something
}
 
9:39 AM
@UlrikeFischer in that case an approach like I use could work (as it is locally generating variations if they exist and record their outcome). Then of course in addition to looseness you could also vary the column width slightly and simply end up with more variations if they exist
 
yo'
@manucpp ah well, basically your way is expl3 if you want this
 
@UlrikeFischer well he needs to do the dynproc programming eventually it doesn't help to get the variations if there isn't something determining which of them to use unless you ty to optimize locally page by page but I doubt that this gives you enough flexibility to work (most of the time).
 
exp13?
@yo
 
yo'
@PauloCereda Can I get a permalink for a specific search in texdoc.net? Something like texdoc.net/?s=interface3 bringing me to the right place?
@manucpp LaTeX3 syntax and kernel provides these. Look for interface3.pdf and/or expl3.pdf here: texdoc.net
@manucpp However, be advised that there's a certain learning curve
 
@FrankMittelbach In this case the one to use seems to be defined as "no widows and orphans" + "on grid" + "flushbottom". Imho this is something that is not seldom wanted, so it wouldn't be bad to have some strategies to get it.
 
9:48 AM
@yo
Thanks. I understand the learning curve is pretty steep.
I also know that I am no einstein. It has taken me more than a year to get here...
 
@UlrikeFischer not sure I'm with you. "no widows and orphans" + "on grid" + "flushbottom" is pretty hard if all you can do is to change one or two f the paragraphs on a given page. More often than not there will be no paragraphs to enlarge or shorten, so you can only hope for a solution if you are optimizing across the board and not just locally
 
I will keep LaTeX3 for later. Nested ifs can handle && and ||, yes?
 
@yo' etoolbox has something in this area
@manucpp Yes: we've recently 'renovated' some of the code to deal with a few technical issues wrt lazy evaluation
 
@FrankMittelbach I didn't say that it is easy or always possible only that is is wanted ;-). "No widows and orphans" is something quite often requested by publishers. I try to tell people that they pay the price somewhere else with such hard requirements but they often don't want to listen ;-(.
 
yo'
10:16 AM
@UlrikeFischer this widows/orphans frenzy is so ridiculous...
 
@yo' don't quite agree, but there has to be some checks and balances. On the whole both orphans and widows look bad, but sometimes the alternative is worse
 
yo'
@FrankMittelbach yep, that's what I mean. People set \widowpenalty=\clubpenalty=10000 and are surprised that things go wrong.
 
10:37 AM
@PauloCereda The duck is online!! youtube.com/watch?v=8eeDVfSW2Cc&feature=youtu.be
2
 
11:12 AM
@UlrikeFischer @PauloCereda <3 <3 <3 (BTW: very beautiful house and furniture, actual Latin American style!)
 
@CarLaTeX Professore van Duck should make a video too!
 
@UlrikeFischer We don't have such a beautiful house! :):):)
 
11:23 AM
@CarLaTeX Oh he could do a slide show and tell that he wants to see italy playing and then visit the well known donkeys (I can provide a picture ;-)).
 
@yo' http://texdoc.net/pkg/interface3 (I chose the syntax since it's similar to CTAN such as http://ctan.org/pkg/xparse) - the pkg is actually a search with aliases, not limited to package names
 
@UlrikeFischer Donkey?
 
yo'
@StefanKottwitz maybe a "link to this search" could be added somewhere? (just an idea)
@StefanKottwitz ah but it opens the document directly, I would prefer a link to the search as opening document directly on foreign sites could be a red flag...
 
@yo' I will see what I can do
 
yo'
@StefanKottwitz thanks
 
12:04 PM
@UlrikeFischer Ah, that donkey! :):):)
 
2
Q: TeX's reading rules (text to tokens)

Evan AadAre TeX's reading rules, which define the conversion from text to tokens, and which are described on pp. 46-48 of Knuth's The TeXbook (1996), describe correctly and completely the reading rules of the TeX systems available in TeXLive 2017, namely pdfTeX, XeTeX and LuaTeX? If not, where can I find...

Is there anything useful to say here beyond 'They are TeX engines' and linking to the detailed question/answer about incompatibility we had some time ago?
 
12:55 PM
@JosephWright not really.
@JosephWright will try to get to the file parsing later (but time a bit squeezed) the multiple dot thing is sort of (not) reflected in the back end .def files (which is why I didn't parse multiple dots at the time, or rather, why I took it out) the stop at first dot is optimised for filename.eps.gz but these days it's more likely people want to do figure-12.4.png
@JosephWright .... but the current mechanism assumes the calling package can separate out the extension from the filename without (in theory) knowing which extensions are supported by the .def that was loaded (hence rules for .eps.gz etc) if you parse multiple dots you really need some pipeline that works from the end seeing which extensions are known, I suppose that is still possible with the existing def files...
 
1:12 PM
@DavidCarlisle Yes, I'd wondered about 'known' extensions. At the moment I'm working on the basis that might be handled by a driver doing 'Oh look, it's a .gz file: parse again and see if we get a second extension we understand'. As this is purely for L3 work I can be confident of the driver set that has to work.
@DavidCarlisle I'm still not sure if we really want to support .eps.gz nowadays (do people still do this?). What I do have to get my head around is epstopdf-type support for 'change the extension'.
 
@CarLaTeX To be honest, it is not the first time I saw that error regarding Perl programs, but they seems to be Windows specific, perhaps related to the bundled Perl interpreter shipped with TeX Live.
@DavidCarlisle I am not sure, but I think latexmk is shipped with local modules, so there would be no need of retrieving additional modules from CPAN. However, that specific error is indeed related to a missing module. Surprisingly, that module is pretty common, even for the correct usage of tlmgr, so I would suspect some sort of method deprecation in newer Perl interpreters.
@yo' (and @StefanKottwitz): I will take a closer look later on. :) As Stefan suggested, /pkg/interface3 would be my approach, but I see the advantages on your proposal. :)
@UlrikeFischer Oh no, I've been spotted! :)
@CarLaTeX Quack! <3
 
1:28 PM
@PauloCereda I'll try Ulrike's solution tonight! Quack!
 
@CarLaTeX Poke me later on, I am curious about this issue.
 
1:47 PM
@PauloCereda Surely!
 
@JosephWright actually I suppose we should check does it even work, does texlive let dvipdfmx or xelatex shell out to call gunzip? divips.def used to say that but they stopped that and instead build unzip functionality in to save the danger of a backtick shell escape
 
@DavidCarlisle Ah, hadn't even thought of that: I will check!
 
@JosephWright someone was compressing eps in 2012 recheliu.org/memo/untitledpost
 
@DavidCarlisle: how do you like my YouTube video? :)
 
@PauloCereda ah not played it yet was at work then forgot:-)
 
1:56 PM
@DavidCarlisle ooh :)
 
@DavidCarlisle Heiko's code in grffile seems to look up if there is a rule for the possible extensions: more or less what I was imagining but done the 'other way around'. I guess we could simply build-in support for 'known' two-part extensions (I know of only .gz and .Z)
 
@PauloCereda I don't trust you enough to play your video suggestions in an open plan office at work
@JosephWright yes well he wasn't trying to make it fit into emtex:-)
@JosephWright and only one of those two works
 
@DavidCarlisle you know me very well. :)
 
@JosephWright gunzip functionality is built in but with no backtick to the shell and no uncompress functionality I don't thing .Z works at all (but I'd need to check)
 
This is dvips(k) 5.997 Copyright 2017 Radical Eye Software (www.radicaleye.com)
' TeX output 2017.06.21:1501' -> test.ps
<c:/texlive/2017/texmf-dist/dvips/base/tex.pro>
<c:/texlive/2017/texmf-dist/dvips/base/texps.pro>
<c:/texlive/2017/texmf-dist/dvips/base/special.pro>.
<c:/texlive/2017/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>[1
dvips: Secure mode is 1 so execute <gzip -d compress-test.eps.gz> will not run
]
@DavidCarlisle OK, so what syntax do I need for \DeclareGraphicsRule?
 
2:03 PM
@JosephWright hmm I'm sure it's extensively documented... let me investigate (but may have to be this evening)
 
@DavidCarlisle For dvips it works with \DeclareGraphicsRule{.eps.gz}{eps}{.eps.bb}{#1} (or at least the decompression works: I've messed up the .bb so just used the keyval interface)
 
@JosephWright isn't that what we have? (or at least \@namedef{Gin@rule@.eps.gz}#1{{eps}{.eps.bb}{#1}}
 
@DavidCarlisle Probably :)
 
@JosephWright I thought you meant the current .def was making dvips: Secure mode is 1 so execute <gzip -d compress-test.eps.gz> will not run
 
@DavidCarlisle I have to admit I didn't check
@DavidCarlisle That's where I put in the version suggested by the manual ;)
@DavidCarlisle Or rather, \DeclareGraphicsRule{.eps.gz}{eps}{.eps.bb}{`gzip -d #1} as I don't have zcat
 
2:08 PM
@JosephWright The manual was correct (and the world was more trusting) when the manual was written
 
@DavidCarlisle Probably needs to be supported as the epstopdf route uses the same mechanism, and that does need to work
 
@JosephWright nobody told me but for years they put that security block on dvips shelling out and had a texlive graphics.cfg that detected if it was going to default to dvips and patched in modified rules not to use backtick escape. So when we got the graphics.cfg back I took that out and changed the rules in dvips.def not to need patching
 
@DavidCarlisle Ah
@DavidCarlisle What I mean is that while compressing graphics might be somewhat esoteric nowadays, using epstopdf isn't. So there has to be continued support for finding one file and using a separate one, and so the graphics rule mechanism is still required in general terms.
 
@JosephWright yes but that means we only need to support shelling out to the restricted commands allowed to run by default in restricted shell escape so don't need to support arbitrarily long pipelines of commands making arbitrary conversions
 
@DavidCarlisle This is true
@DavidCarlisle That I know of, just compressed EPS files and epstopdf, so it could all be handled with a couple of special cases
 
2:25 PM
In the older xparse how did we handle e{^}? Wrote something that the user could not compile because hes still on TL16 (we'll update him later in the year)
 
@PauloCereda I suspect that @CarLaTeX issue is that she doesn't use the bundled perl interpreter.
 
@UlrikeFischer Quite possibly indeed!
 
2:48 PM
@PauloCereda It seems obvious from the error message.
 
@daleif I don't know enough Perl, sorry. :(
 
@daleif We had k at one point: I've posted some code that deals with this
6
Q: Patch 2016 xparse to support k-type argument

Peter GrillAs per Xparse's new e-type argument (replacement for k-type argument), support for xparse's k_ argument type is no longer available as of TeXLive 2016 and thus have stuck to TeXLive 2015 so far. I have numerous macros that are defined using the older k_ arguments, so wondering if there is an eas...

 
3:18 PM
@DavidCarlisle I've not really got to that part of handling images yet: I'll see what looks sensible given the fact we almost certainly don't want/need a system allowing arbitrary commands
 
ebo
3:32 PM
@StefanPinnow Thanks for letting me know! (I'm not using pdfplot (yet) and I had not the time to look through the documentation. So I just gave an obvious quick solution.)
 
ooh @FrankMittelbach is here! :)
 
@PauloCereda @DavidCarlisle @JosephWright and here is an english man advertising Mönchengladbach: youtube.com/watch?v=hzR5SzIN3Uw. The best is at the end ;-)
 
@UlrikeFischer LOL
 
3:47 PM
@UlrikeFischer are you more trustworthy than @PauloCereda?
2 hours ago, by David Carlisle
@PauloCereda I don't trust you enough to play your video suggestions in an open plan office at work
 
@DavidCarlisle oi
 
@DavidCarlisle I read documentations ;-) (I did it today again tex.stackexchange.com/questions/376113/…).
 
@DavidCarlisle: I had advanced German classes to be able to pronounce Mönchengladbach!
 
@PauloCereda the error message mentions where it fails to find the MD5 module, the @INS part, there some LyX and . is listed. Thus no TL
 
@DavidCarlisle But @PauloCereda video is much more serious and suitable for an office.
 
3:50 PM
@DavidCarlisle ^^ See? You don't see my name and the words suitable and serious all the time.
 
@JosephWright thanks was using it to mess with superscript placement on tall parentheses, and broke on his pc, the e works very well and is easy to understand
 
@daleif We've had a lot of discussion to get this (hopefully) right
 
@DavidCarlisle regarding keyval-arguments in package/class options: did you saw the message of Michael Shell in c.t.t. where _ broke with hyperref?
 
@UlrikeFischer Recent?
 
@UlrikeFischer that's where you went wrong. Better to read the source.
@UlrikeFischer no, I only look at c.t.t these days when @JosephWright sends me there.
 
4:00 PM
@JosephWright @DavidCarlisle Today. It is nothing serious, only another demonstration that keyval values in package options should be handled with care/don't always do what one expect. In this case the underscores disappears in \usepackage[pdftitle={Testing the Under\_score PDF Title}]{hyperref}
 
@UlrikeFischer it presumably works with _ ?
 
@UlrikeFischer Oh, in the argument to \usepackage, I see
 
@DavidCarlisle No, then it removes "supscript".
 
@UlrikeFischer report it to the maintainer of hyperref.....
 
@DavidCarlisle I did better: I told Mike the github address ...
 
4:05 PM
@UlrikeFischer @JosephWright the anonymous members of the support group will no doubt get mail about it then.
 
@DavidCarlisle perhaps he simply accepts that it is better to use \hypersetup to set pdftitle.
 
@DavidCarlisle :)
@UlrikeFischer I suspect this is 'not our fault'
 
@UlrikeFischer I had a plan to fix that...
 
@DavidCarlisle ooh a plan
 
@DavidCarlisle a cunning plan?
 
4:33 PM
@UlrikeFischer ooh
 
4:55 PM
\xspace and \ensuremath in the same question. tex.stackexchange.com/q/376135/2693. Have fun @DavidCarlisle @egreg. :)
4
 
@AlanMunn LOL
 
yo'
I just noticed: arXiv updated to TeXLive 2016 4 months ago. What a surprise...
 
yo'
5:12 PM
@AlanMunn I'm just writing a comment :-)
 
@yo' It was big news!
 
yo'
@egreg haven't submitted to arXiv for some time
@egreg and I actually remember now hearing something about it...
Where do I start? I mean, pardon my sincere tone, but you're actually doing three things that should not be done. (1) Use \xspace. (2) Use \ensuremath improperly. (3) Define or re-define one-letter macros for math symbols instead of using more descriptive names. Note that your code would not compile with the error ! LaTeX Error: Command \P already defined. Or name \end... illegal, see p.192 of the manual.yo' 4 mins ago
 
@yo' ah I knew it was being tested but hadn't noticed it had gone live
 
@yo' Personally I'm a big fan of \ensuremath because my use of mathy stuff is always always in a non-math context.
 
@UlrikeFischer very
 
yo'
5:24 PM
@AlanMunn that may be a different thing. I mean, I've got a macro that uses \ensuremath, but it's for a thing that does happen to be schizophrenic.
 
@yo' Yes, exactly.
 
yo'
@AlanMunn note that I said "use \ensuremath improperly" as there are proper usage cases. OTOH, there are none for \xspace. (looking @DavidCarlisle 's direction)
 
@yo' Yes, I'm agreeing with you. xspace appeals to beginners I think. I liked it a lot when I was first using LaTeX, but now not at all.
 
@yo' it's not that bad, like \ensuremath it probably has uses, but is over-used.
 
yo'
@AlanMunn exactly, it's on the same level as \newcommand\be{\begin{equation*}}
 
5:28 PM
@DavidCarlisle Yes, I agree. And it's nowhere near as non-robust as people make it out to be, I think.
 
yo'
@DavidCarlisle I can't agree.
I you thought the world is boring, or changing or whatever, be advised that one of our nuclear power plants has just chosen an intern based on ... a bikini show performance.
 
@yo' WTF? As in that's how they chose candidates or that's how they discovered the person they chose?
 
@yo' WHAT?!
 
yo'
@AlanMunn I am not making this up. Literally, they decided to give a scientific intern to the winner of the "Miss High School" competition. Which basically comprised ... bikini show inside a nuclear power plant cooler tower.
 
@yo' That's insane.
 
@yo' Let's hope she wasn't as qualified as this one:
 
yo'
@AlanMunn now what was that again? I don't want to sound chauvinist, but how could she make it to any Miss competition?
 
@yo' Your guess is as good as mine.
 
All Debian 9 Live Images Are Broken, Developers Working On a Fix http://ow.ly/ey9y50cjoVr
Oopsie
 
yo'
@PauloCereda that hurts....
 
5:50 PM
@yo' :)
 
6:00 PM
@PauloCereda "All Debian Live images are dead." :)
 
 
3 hours later…
8:37 PM
@UlrikeFischer It works! If you would like to post an answer to my question (tex.stackexchange.com/q/376037/101651) I'll accept it, thank you!
@PauloCereda I've changed TEXLIVE_WINDOWS_TRY_EXTERNAL_PERL = 1 into TEXLIVE_WINDOWS_TRY_EXTERNAL_PERL = 0 in texmf.cnf, as Ulrike suggested to me, and now it works!
 
yo'
@CarLaTeX let's party then!
(I gotta go however, get something to eat)
 
@yo' duck and pineapple pizzas all round
 
@yo' Any occasion is good to have a party! :)
@DavidCarlisle :P
 
9:26 PM
@CarLaTeX Yay, glad it worked!
@DavidCarlisle you are mean
@wilx LOL
@daleif I didn't notice it, my bad. :(
 
9:38 PM
@PauloCereda authorised by the vatican, no less: ideasthattastegood.com/2015/02/23/the-vatican-500/…
 
@DavidCarlisle I'm going to sleep, I hope not to have a nightmare!
 
@DavidCarlisle oh no
 
9:57 PM
@yo' It was a $5 gig on fiverr.com
 
@DavidCarlisle Restricted commands currently available are
shell_escape_commands = \
bibtex,bibtex8,\
extractbb,\
gregorio,\
kpsewhich,\
makeindex,\
repstopdf,\
texosquery-jre8,\
 
@JosephWright so just epstopdf then really
 
@DavidCarlisle Exactly: there is a comment about wanting to allow rpdfcrop but that's not 'live'
@DavidCarlisle So I wonder about special-casing rather than providing a general mechanism for this one use case (I'm not too keen on the unzipping one as that won't work I think with epstopdf and so is very limited in a largely PDF-based workflow world)
@DavidCarlisle I'll see where I get to working on image support, but it seems first I have some l3build feature requests ... (might try to rope in @PauloCereda!)
 

« first day (2425 days earlier)      last day (2509 days later) »