-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
expl3 macros only available in LaTeX format #1
Comments
I just checked that only six packages use \ifx\ExplSyntaxOn\undefined
\input expl3-generic\relax
\fi seems the simplest one to me. On the other hand, one could argue that a Finally: I will add these lines to the libraries since they provide no overhead. |
That was copy-and-paste from the |
expl3 doesn't provide a library/module mechanism, while tikz does. Hence a third-party expl3 module is usually in the form of a separate LaTeX package, while extensions to tikz have two choices, either as a standalone LaTeX package or as one of tikz's libraries. And as a tikz library it gains the same portability as tikz has (assume the implementation is portable as well). Therefore I think the difference between loading all expl3 and only needed part of tikz is ok and (more or less) by design. |
The doc implies
tikzfill
libraries are usable in each of plain TeX, LaTeX, and ConTeXt formats.tikzfill/doc/latex/tikzfill/tikzfill.tex
Lines 146 to 152 in 899c3ff
But that's not true because currently all three libraries uses
expl3
functions but only LaTeX format is shipped withexpl3
.To use
expl3
macros in portable ways, perhapstikzfill
could load the generic loaderexpl3-generic.tex
, as suggested intexdoc expl3
, sec. 8 "Using expl3 with formats other than LaTeX2ε". Writing\input expl3-generic
in LaTeX is safe as well.Also personally, in plain text
plain TeX, LaTeX, and ConTeXt
is preferable than the all-uppercaseTEX, LATEX, and ConTEXt
.The text was updated successfully, but these errors were encountered: