Article View: comp.text.tex
Article #173Re: An extremely robust way to define fonts
From: Anil Trivedi
Date: Mon, 02 Nov 1992 14:53
Date: Mon, 02 Nov 1992 14:53
20 lines
1363 bytes
1363 bytes
Damian.Cugley@comlab.ox.ac.uk (Damian Cugley) writes: >> \batchmode\global\font#1=#2\errorstopmode% % 1st >> \ifx#1\nullfont% >> [... code if font not found ...] >This works -- if TeX happened to be in \errorstopmode. Is there a way >to do this that does not force TeX to be in \errorstopmode afterwards? Rewrite the macro to include a hook \everysetfont which is executed at the end (or wherever you want it) each time. It can be set to \relax, or to \batchmode. :-) After receiving much mail, I have already posted a more practical and less schematic version; it includes such a hook. >(Also the percent signs at the ends of those lines are not necessary You are absolutely right. It is just a matter of habit with me. No harm will come by leaving them out. -----
Technical Details
Message-ID:
<1992Nov2.145334.5058@midway.uchicago.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!daffy!uwvax!uchinews!yukawa.uchicago.edu!trivediReferences:
<1992Nov1.120459.26104@midway.uchicago.edu> <DAMIAN.CUGLEY.92Nov2125953@pierrot.comlab>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!daffy!uwvax!uchinews!yukawa.uchicago.edu!trivedi From: trivedi@yukawa.uchicago.edu (Anil Trivedi) Newsgroups: comp.text.tex Subject: Re: An extremely robust way to define fonts Message-ID: <1992Nov2.145334.5058@midway.uchicago.edu> Date: 2 Nov 92 14:53:34 GMT Article-I.D.: midway.1992Nov2.145334.5058 References: <1992Nov1.120459.26104@midway.uchicago.edu> <DAMIAN.CUGLEY.92Nov2125953@pierrot.comlab> Sender: news@uchinews.uchicago.edu (News System) Organization: Enrico Fermi Institute, University of Chicago Lines: 20