[tex-eplain] \newfam and \ifx

Gérald Tenenbaum gerald.ten at free.fr
Thu Mar 11 20:02:01 CET 2021


Thanks.
So I presume that replacing \newfam by \innernewfam should be OK?
Regards,

Gérald

De :  Philip Taylor <P.Taylor at Hellenic-Institute.Uk>
Date :  jeudi 11 mars 2021 à 19:56
À :  Gérald Tenenbaum <gerald.ten at free.fr>
Cc :  <tex-eplain at tug.org>
Objet :  Re: [tex-eplain] \newfam and \ifx

    
 
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/9d326b7a/attachment.html>


More information about the tex-eplain mailing list.