Results 287 comments of David Carlisle

a safer alternative to using `\tabularx` and `\figure` would be to use `\NewDocumentEnvironment{mytable}{b}{\begin{figure}\begin{tabularx} #1\end{tabularx}...` In particular this form still allows the environment hooks for `figure` to run.

yes use of the environment is unchanged, this used to be provided by the `xparse` package but has been integrated in the format for couple of releases now.

@josephwright I'd agree having documented setting would be better, but I suspect it needs to be for new documents where we could set it via `\DocumentMetadata` when I looked at...

won't ``` \protected\def\mathchoice#1#2#3#4{\@in@mathchoicetrue \@@mathchoice{#1}{#2}{#3}{#4}\maybe@freeze\@in@mathchoicefalse} ``` mean `@in@mathchoice` is false at `\mathtt` ? ``` \mathchoice{\mathchoice{a}{b}{c}{d}... \mathtt{1}} {2}{3}{4} ``` I guess we should at least document this doesn't work ``` $\mathchoice \bgroup...

some more cases need protecting, a test case discussed in #939 ``` \documentclass[foo,bar,baz=foo,ggg=\sqrt{4}]{article} \usepackage{amsmath} \begin{document} \end{document} ```

oops... But just using escapechar=-1 isn't quite enough as then `\~` and `~` both have the same internal form. I'll be offline most of today but ``` \documentclass{article} \makeatletter \def\declare@robustcommand#1{%...

@josephwright I suspect that the request is to treat warings as errors in `l3build doc` It is probably simpler to handle that at the tex level not as an l3build...

see `l3build-upload.lua` you can set `ctanupload` to true and it won't ask

line 2 should be enough as far as I can see, l3build does `local ctanupload = ctanupload or "ask"` so should be true if you set it to true, then...