« first day (4246 days earlier)      last day (692 days later) » 

6:15 AM
@DavidCarlisle, @UlrikeFischer PR coming up once I have done the washing up, etc., here
 
@JosephWright looks good, thanks,
 
7:11 AM
@Skillmon Why did you split up your key package over multiple packages?
@Skillmon That would be Section 1.7, I suppose?
 
@DavidCarlisle I guess I'll need to wait for the Ubuntu repos to be happy before I can actually merge
@DavidCarlisle, @UlrikeFischer We really for PL1 once this lands?
 
@Skillmon I feel like this is a dumb question, but I'm asking it anyway. Is speed really a concern for a key package?
 
@FaheemMitha Yes, if it's used heavily: one reason for 'templates' is to pre-digest keys into a faster-to-use-form
 
@Skillmon So l3keys handles this brace stripping correctly?
You didn't include an example of that in your answer.
@JosephWright What are 'templates'?
 
@FaheemMitha Yup
 
7:18 AM
I wonder why pgfkeys doesn't. Since apparently the behavior isn't controversial.
 
@FaheemMitha 'Prototype document functions' ... er, they are a way of abstracting the idea of say 'a list' to but all of the design part into keyvals so you implement-once, use-many-times
@FaheemMitha It predates @Skillmon and I really working hard on this
@FaheemMitha There's a performance cost to being careful
 
@JosephWright That doesn't really clarify it for me, but OK.
@JosephWright I see.
 
@FaheemMitha Hence the 'er'
@FaheemMitha OK, so we are currently working on lists (enumerate, itemize, etc.). The idea is to have a generic 'list' implementation, then define how it looks by setting a load of keys.
 
@JosephWright It seems that the chances of the pgfkeys behavior being changed is zero, so I should presumably not waste my time filing an issue. Correct?
 
@FaheemMitha You don't want to parse all of the keys for every list in a long document, so you want to turn the keys into a set of \def\foo{...} then use that set
@FaheemMitha You can log, so there is a record, but I think a change is extremely unlikely - of course a decision is down to @HenriMenke
 
7:22 AM
@JosephWright I see. So a replacement for the standard lists? Or an enhancement?
@JosephWright Would it be possible to fix pgfkeys to behave "sensibly" without extraordinary effort?
 
@FaheemMitha The aim is replacement with things like tagging build in
 
@JosephWright OK.
 
@FaheemMitha Fixing the code is not so hard, as we have two reference implementations that work right - it's the problem that there would almost certainly be effects in documents, and that is an issue
 
@JosephWright So backward compatibility concerns is the main issue?
 
@FaheemMitha Yes, as so often
 
7:25 AM
@JosephWright yes, although we said that before:-)
 
@DavidCarlisle We have a few fixes, so it should go out even if there is then PL2, I think is what I mean
@DavidCarlisle Need GitHub Actions to be working first
 
@JosephWright Thank you for the explanations. I most likely won't file an issue for pgfkeys. I file enough bug reports that are ignored already. Though the current behavior isn't exactly ideal.
 
@FaheemMitha a few years ago I fixed the brace stripping in keyval.sty and it broke babel and essentially every non english latex document stopped working. Backing out the change seemed the right thing to do, even though it gives @Skillmon an excuse to remind me of suboptimal behaviour of the package at frequent intervals
@JosephWright agreed
 
@DavidCarlisle I'm afraid to ask, but fixing the documents wasn't an option? Some software, notably some Python packages, don't seem to worry that much about backward compatibility. Pandas comes to mind.
 
7:41 AM
@FaheemMitha no. It's not documents but language support files, and that means reaching muliple possibly out of contact or deceased maintainers of languages, and possible extension packages and... At the time I needed to fix in hours not days so backing out the change the only possibility.
@FaheemMitha It would have then been possible to try to coordinate some longer term coordinated update, but why do it. Danger of breaking existing documents very high, and the weird brace behaviour had not prevented the package being used for 20 years with no one reporting the issue, so the need to sometimes double{{ is now a feature not a bug.
 
@DavidCarlisle So PL1 then a l3packages release today, plus I guess I should adjust pgfopts too
@DavidCarlisle A review task for you :)
 
@JosephWright looks fine, as above, but building that branch here will do some sanity checks
 
8:08 AM
@DavidCarlisle Cool
 
@JosephWright v
LaTeX2e <2022-06-01>
L3 programming layer <2022-06-02>
(/home/davidc/texmf/tex/latex-dev/base/article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
(/home/davidc/texmf/tex/latex-dev/base/size10.clo)) (./testclasskey.sty)
! Undefined control sequence.
<argument> \l__keys_latexe_options_clist
 
@DavidCarlisle Oops must be a copy-paste error
@DavidCarlisle Should be sorted now
@DavidCarlisle I am wondering about using e-type expansion as I think it's marginally quicker than x-type ...
 
@JosephWright better:-)
 
@DavidCarlisle Cool - I've swapped to e-type too as that is marginally faster (and I guess I'll be doing that more generally in future)
@DavidCarlisle I'll wait for @UlrikeFischer then merge
 
8:24 AM
@JosephWright you doing the l3keys2e version as well?
 
@DavidCarlisle Yes, adjusted in the same way
 
8:39 AM
@daleif Spurious space in memoir.cls, line 5670. See tex.stackexchange.com/a/647910/4427
 
8:50 AM
@DavidCarlisle Found the mysterious spaces!
 
@egreg I would say that the spurious space is not that user's biggest problem when it comes to the math...
(But that was a nice find)
 
@mickep Indeed! I added a better way to do the thing
 
@egreg Good, upvoted. Shouldn't you use the new fancy \mathcolor? Or have I missunderstood it?
Or maybe that is only for smaller pieces...
 
9:08 AM
@JosephWright @DavidCarlisle I don't get an error anymore from chat.stackexchange.com/transcript/message/61373647#61373647. But I get an unused global option warning:
LaTeX Warning: Unused global option(s):
[pagecolor].
 
9:44 AM
@egreg I knew you would have fun (I'd seen them all except the memoir one, I was too tired last night to look:-) Did you know of that package before?, seems very odd.
 
@DavidCarlisle Strange indeed! Why should one want ugly displays?
 
@UlrikeFischer some of my tests also gave warnigs, but given the number of overlapping packages here, happy to fix the errors for PL1, we can maybe look again when have more time (@JosephWright)
 
@DavidCarlisle Sounds good to me if @UlrikeFischer is happy
 
@DavidCarlisle Doing \tracingall I saw that the blank space involved \count151 which is \@curtab and was clearly visible in the replacement text of \@addamp. But \@curtab is not used by equationarray and array, so the only candidate was memoir (which has a long story of spurious spaces).
 
@egreg yes I saw it had to be in memoir, but I decided not to look, I didn't want to spoil your fun. Have you reported it to @daleif ?
 
9:58 AM
@JosephWright well my example is "latex only". But imho the bug with the unused option is unrelated. It happens already without the changes. something like pagecolor is removed, but pagecolor=red is not.
@DavidCarlisle @JosephWright xkeyval needs a similar fix. Do you know how to reach Hendri? I thought I had an address but can't find it.
 
10:13 AM
@UlrikeFischer I forwarded some mail
 
@FaheemMitha because the original expkv was meant as feature comparable to keyval (with some additions to ease the expandable use), and it is meant to be as fast as possible, and the next design goal was to be somewhat lightweight (it's big compared to keyval though, but provides two parsers instead of only one, and grew to have a few bonus features which weren't contained originally), hence the decision back then to write expkv-def just as an additional front end for key defining.
@FaheemMitha correct, plus table 1 (which belongs to that section, but floated to come after section 1.8 in the current manual)
 
@UlrikeFischer probably needs same fix (remove just the name) from the list but original plan was not to change too much of the original handler to avoid breaking packages that patch it. But we have been (forced to be) braver recently
 
2 hours ago, by egreg
@daleif Spurious space in memoir.cls, line 5670. See https://tex.stackexchange.com/a/647910/4427
 
@egreg ah good
 
@JosephWright there are three reference implementations! kvsetkeys is correct as well (and I think even more robust against category code changes than we are), but it has quadratic runtime.
@JosephWright it is marginally quicker :)
 
10:26 AM
@DavidCarlisle Sent also mail
 
@egreg You could put it in a video presentation at TUG2022. Oh no that would be too rude...
4
 
@DavidCarlisle :-D
 
10:43 AM
@Skillmon Fair point
@Skillmon Heiko is very careful with catcodes
 
11:10 AM
@JosephWright I just tested your changes for l3keys2e in l3packages. This here no longer errors:
\documentclass[width={3cm}]{article}
\usepackage{media9}
\begin{document}

xxx
\end{document}
But the unused option list is a bit verbose ;-):
LaTeX Warning: Unused global option(s):
    [width,width,width].
 
@UlrikeFischer Good:)
@UlrikeFischer Like @DavidCarlisle said, can we live with that for the present? Avoid the hard error and deal with the sub-optimal option list a bit later?
 
@JosephWright sure. Imho it is an older bug, somewhere it is not correctly removed. We should then only record the issue.
 
@UlrikeFischer OK, starting the build process for releases
@DavidCarlisle I've just realised: as well as base the PL needs cyrillic out, right?
 
11:40 AM
@FaheemMitha It depends heavily on what's the issue. If we can improve something without breaking shittons of documents, chances are pretty good (e.g. in the next release pgfkeys will gain \usepgfkeyslibrary for extensions).
We're also trying to fix some of the brace-stripping problems but these are much more likely to cause trouble for people “relying” on the broken behavior.
 
@HenriMenke Indeed
@DavidCarlisle, @UlrikeFischer The l3keys2e version is off, building PL1 now
 
@JosephWright yes
 
@DavidCarlisle Right .. that's one I don't do a lot
 
ooh first ever 2e thesis class file:-) tex.stackexchange.com/questions/647919/…
@JosephWright @DenisBitouzé these should fix your issues
 
12:00 PM
@DavidCarlisle Many thanks for the hard work and sorry again for the typo!
 
14 hours ago, by David Carlisle
@UlrikeFischer \tracingall waded through dozens of lines of l3 code trace trying to work out where the \ was dropped then finally looked at the test example....
:-)
 
12:51 PM
@DavidCarlisle, @UlrikeFischer Sent
 
@JosephWright and now latex-dev?
 
@UlrikeFischer ER, yes: I'll move the tag to force a build, but I'll give CTAN a day to get the PL out first
 
Regarding tex.stackexchange.com/q/646983, I wonder is an empty line between (traditional hence non-tikz) matrix cells a supported syntax?
\documentclass{article}
\usepackage{amsmath}

\begin{document}
\[
  \begin{matrix}
    a & b & c \\

    d &

    e & f
  \end{matrix}
\]
\end{document}
The example above works and gives expected output, but if that usage is officially supported?
 
@HenriMenke I posted a question. tex.stackexchange.com/q/647759/3406
 
@muzimuzhiZ yes:
\documentclass{article}


\begin{document}
\[
  \begin{array}{ccc}
    a & b & c \\

    d &

    e & f
  \end{array}
\]
\end{document}
@muzimuzhiZ same as array
 
1:02 PM
@HenriMenke pgfkeys requires 4 pairs of braces in my use case, which isn't exactly expected behavior.
 
@DavidCarlisle thx. Then pgf will receive a new issue.
 
@JosephWright meow
 
@PauloCereda lunch
 
@DavidCarlisle oh no
 
@JosephWright they are perhaps all on holiday today ;-)
 
1:13 PM
@FaheemMitha Even worse, when for example a style key (defined by /.style handler) passes its value to another key, which is another style key that passes the value on. :(
\documentclass{article}
\usepackage{pgfkeys}

\begin{document}
\pgfkeys{
  key a/.code={\texttt{\detokenize{#1}}},
  key b/.style={key a={#1}},
  key c/.style={key b={#1}}
}

\pgfkeys{key c={{{{{{{{xx}}}}}}}}} % output "{xx}", eight levels!
\end{document}
 
@muzimuzhiZ Well, that's fun.
 
@UlrikeFischer Petra got the luaotfload release out this morning, so at least someone seems to be active there.
 
@MarcelKrüger quack :)
 
@PauloCereda quack quack :)
 
@muzimuzhiZ Ooops
 
1:22 PM
@MarcelKrüger ooh
 
yo'
1:34 PM
Are you using Overleaf? If so, are you in the Beta program? If no, you should be! :D
3
user image
4
 
1:47 PM
@FaheemMitha no I didn't as I didn't see a big advantage of showing yet another example (and there are many l3keys examples on the page), and the l3keys example would've been identical to the expkv-def one (modulo the different key defining syntax, and the expl3 naming conventions).
 
1:58 PM
@yo' ooh <3
 
2:50 PM
@yo' another of those lucky coincidences: back on 6...6 series after an excursion via 6...9
@yo' ooh it works, once I had worked out how to make a coding error:
 
@DavidCarlisle ooh
 
3:09 PM
@DavidCarlisle they should use for the button "Disable" a light gray tiny font on a lighter gray background.
 
3:31 PM
@yo' @PauloCereda I corrected the css in your compile options menu
 
@UlrikeFischer ... and a couple of dozen confirmation queries "Are you sure?" -- "Are you really, really sure?" -- ... -- "You will hurt a lot of cute ducks if you do this!"
 
@DavidCarlisle ooh
 
 
2 hours later…
5:17 PM
@DavidCarlisle I suggest "Disabling it may annoy the hell out of your advisor".
4
 
5:59 PM
@AlanMunn or "Pay $5 to disable it" :)
 
@PauloCereda Pay me $5 to disable it. :)
 
@AlanMunn ooh
 
6:22 PM
"... or when the compilation is finished."
 
 
2 hours later…
yo'
8:31 PM
@AlanMunn we acutally have the other fear: enabling it for your colleagues would drive them crazy!
 
@yo' Ah, you mean the ones who are not too LaTeX savvy?
 
yo'
@AlanMunn yep
 
8:46 PM
@yo' Yes, I can definitely see that too. Errors are definitely the think that most trip up new users.
@yo' Would Overleaf have got to 10 million using -halt-on-error I doubt it. :)
 

« first day (4246 days earlier)      last day (692 days later) »