diff options
Diffstat (limited to 'macros/optex/base/fonts-catalog.opm')
-rw-r--r-- | macros/optex/base/fonts-catalog.opm | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/macros/optex/base/fonts-catalog.opm b/macros/optex/base/fonts-catalog.opm index 3cd02e7b27..6576e5fb11 100644 --- a/macros/optex/base/fonts-catalog.opm +++ b/macros/optex/base/fonts-catalog.opm @@ -1,13 +1,13 @@ %% This is part of the OpTeX project, see http://petr.olsak.net/optex -\_codedecl \_undefined {Font catalogue <2020-02-26>} % loaded on demand by \fontfam[catalog] +\_codedecl \_undefined {Font catalogue <2022-02-22>} % loaded on demand by \fontfam[catalog] \_tracinglostchars=1 % only to log file \_initunifonts \_begingroup \_istoksempty\_catalogmathsample \_iftrue \_noloadmath \_fi -\_font\_ttfixed=[LMMono10-Regular]\_relax +\_global\_font\_ttfixed=[LMMono10-Regular]\_relax \_fontlet\_smalltt=\_ttfixed at7pt \_suppressfontnotfounderror=1 @@ -66,16 +66,16 @@ \_def\_wlog#1{\_nobreak\_smallskip \_hbox to\_hsize{\_hskip25pt - \_edef\_tmp{#1}\_replstring\_tmp{^^J}{\_par}% + \_edef\_tmp{#1}\_replstring\_tmp{^^J}{\_endgraf}% \_smalltt \_noindent \_ea \string \_csname \_currfamily\_endcsname \_vtop{\leftskip=1em \_baselineskip=9pt \_tmp \_par}\_hss \_if\_relax\_the\_famfrom\_relax \_else from: \_the\_famfrom \_fi } } -\_def\0#1{\_ifnum#1<10 0\_fi\_the#1} -\_footline={\_hfil\_ttfixed\_the\_pageno\_hfil} -\_headline={\_ttfixed Font Catalogue generated by \_OpTeX/ \_hfill \_the\_year-\0\_month-\0\_day} +\_gdef\0#1{\_ifnum#1<10 0\_fi\_the#1} +\_global\_footline={\_hfil\_ttfixed\_the\_pageno\_hfil} +\_global\_headline={\_ttfixed Font Catalogue generated by \_OpTeX/ \_hfill \_the\_year-\0\_month-\0\_day} \_parindent=0pt \_ttfixed @@ -131,6 +131,7 @@ as default for \OpTeX/) or in the file \code{fams-local.opm}. The second file does not exist by default but users can create it. The syntax rules are described in the \code{fams-ini.opm} file. - \_endcode % ------------------------------------- +2022-02-22 \_ttfixed, \footline set as global, bug fixed +2020-02-26 released |