Closed muzimuzhi closed 3 months ago
Ah, \IfInstanceExist(TF)
were reintroduced to the kernel in commit latex3/latex2e@41f33bc4 (Re-introduce \IfInstanceExist(TF), 2024-02-15). It's just not included in any public nor dev releases.
I filed a new issue in latex3/latex2e: https://github.com/latex3/latex2e/issues/1306 to suggest a new pre-release.
Originally reported by @akiyks in https://github.com/CTeX-org/ctex-kit/issues/707.
Commands
\IfInstanceExist(TF)
are always undefined with -dev formats which have templates integrated, both with and withoutxtemplate
package.gives
xtemplate
loads the frozen versionxtemplate-2023-10-10.sty
, in which\IfInstanceExist(TF)
are provided.xtemplate
only adds commands\DeclareRestrictedTemplate
and\DeclareObjectType
.Though the LaTeX2e kernel doesn't need
\IfInstanceExist(TF)
, I think they should be available ifxtemplate
package is explicitly loaded.The docs of
\IfInstanceExist(TF)
inxtemplate.dtx
were first dropped then restored in 0599924d (Revert "Drop \IfInstanceExist(TF) docs", 2024-02-15), but not their implementation.Related PRs