[latex3-commits] [git/LaTeX3-latex3-latex3] master: Delay opacity stack set up to AtBeginDvi (392e4548e)

Frank Mittelbach frank.mittelbach at latex-project.org
Sun Jan 17 23:46:02 CET 2021


Am 17.01.21 um 23:24 schrieb Joseph Wright:
> +    \cs_if_exist:NTF \AtBeginDvi
> +      { \AtBeginDvi }
> +      { \use:n }

this is for use external to LaTeX format? Or is there some other reason? 
\AtBeginDvi exists forever in latex.fmt

In this case the code is executed only once so I guess it doesn't 
matter, but somehow as a general principle I think it would be nicer if 
all such "other format stuff" is isolated and never tested at runtime,

eg for plain or other formats there could be a separate file holding

  \cs_set_eq:NN \AtBeginDvi \use:n

so that the runtime is not slowed down

just a thought (as I said for this case I really doesn't matter)

frank


More information about the latex3-commits mailing list.