[tex-eplain] \newfam and \ifx

Philip Taylor P.Taylor at Hellenic-Institute.Uk
Thu Mar 11 19:56:28 CET 2021

Gérald —

> I encounter a strange issue. For capacity reasons, I would like to 
> load a new font family only when a certain criterion is met. However
> \def\oui{oui}
> \def\criterion{oui}
> \ifx\criterion\oui
> \else
> \newfam ...
> \fi
> Does not work inasmuch the new family is nevertheless loaded.
> Is there an explanation?

\newfam is declared \outer, and (among other constraints), an \outer 
macro cannot occur in skipped conditional text (Eijkhout, TBT, p.~95).
/Philip Taylor/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-eplain/attachments/20210311/40b463c4/attachment.html>

More information about the tex-eplain mailing list.