[latex3-commits] [git/LaTeX3-latex3-latex2e] master: re-adjust docstrip guards around TU default (d54f7e9)

David Carlisle d.p.carlisle at gmail.com
Tue Sep 25 01:13:10 CEST 2018


Repository : https://github.com/latex3/latex2e
On branch  : master
Link       : https://github.com/latex3/latex2e/commit/d54f7e99b0e171f5b5537d42cd466c8f622dbd00

>---------------------------------------------------------------

commit d54f7e99b0e171f5b5537d42cd466c8f622dbd00
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Tue Sep 25 00:09:13 2018 +0100

    re-adjust docstrip guards around TU default


>---------------------------------------------------------------

d54f7e99b0e171f5b5537d42cd466c8f622dbd00
 base/fontdef.dtx |   19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/base/fontdef.dtx b/base/fontdef.dtx
index 6233d0e..9333252 100644
--- a/base/fontdef.dtx
+++ b/base/fontdef.dtx
@@ -391,10 +391,6 @@
 %    The following three definitions set up the meaning for
 %    |\rmfamily|, |\sffamily|, and |\ttfamily|.
 %    \begin{macrocode}
-%</text>
-%<*text|latexrelease>
-%<latexrelease>\IncludeInRelease{2017/01/01}%
-%<latexrelease>                 {\encodingdefault}{TU encoding default}%
 \ifx\Umathchar\@undefined
 \newcommand\encodingdefault{OT1}
 \newcommand\rmdefault{cmr}
@@ -406,6 +402,20 @@
 \newcommand\sfdefault{lmss}
 \newcommand\ttdefault{lmtt}
 \fi
+%</text>
+%<latexrelease>\IncludeInRelease{2017/01/01}%
+%<latexrelease>                 {\encodingdefault}{TU encoding default}%
+%<latexrelease>\ifx\Umathchar\@undefined
+%<latexrelease>\renewcommand\encodingdefault{OT1}
+%<latexrelease>\renewcommand\rmdefault{cmr}
+%<latexrelease>\renewcommand\sfdefault{cmss}
+%<latexrelease>\renewcommand\ttdefault{cmtt}
+%<latexrelease>\else
+%<latexrelease>\renewcommand\encodingdefault{TU}
+%<latexrelease>\renewcommand\rmdefault{lmr}\fontfamily{\rmdefault}
+%<latexrelease>\renewcommand\sfdefault{lmss}
+%<latexrelease>\renewcommand\ttdefault{lmtt}
+%<latexrelease>\fi
 %<latexrelease>\EndIncludeInRelease
 %<latexrelease>\IncludeInRelease{0000/00/00}%
 %<latexrelease>                 {\encodingdefault}{TU encoding default}%
@@ -414,7 +424,6 @@
 %<latexrelease>\renewcommand\sfdefault{cmss}
 %<latexrelease>\renewcommand\ttdefault{cmtt}
 %<latexrelease>\EndIncludeInRelease
-%</text|latexrelease>
 %<*text>
 %    \end{macrocode}
 % \end{macro}





More information about the latex3-commits mailing list