summaryrefslogtreecommitdiff
path: root/macros/latex-dev/base/fontdef.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex-dev/base/fontdef.dtx')
-rw-r--r--macros/latex-dev/base/fontdef.dtx45
1 files changed, 26 insertions, 19 deletions
diff --git a/macros/latex-dev/base/fontdef.dtx b/macros/latex-dev/base/fontdef.dtx
index d1931e8652..4dd5ea3845 100644
--- a/macros/latex-dev/base/fontdef.dtx
+++ b/macros/latex-dev/base/fontdef.dtx
@@ -39,7 +39,7 @@
%<driver, >\ProvidesFile{fontdef.drv}
% \fi
% \ProvidesFile{fontdef.dtx}
-%<-latexrelease> [2019/12/17 v3.0e LaTeX Kernel
+%<-latexrelease> [2020/01/25 v3.0f LaTeX Kernel
% \iftrue (\else
%<text, >(Text
%<math, >(Math
@@ -102,7 +102,7 @@
%
% You are not allowed to change this source file! If you want to
% change the default encodings and/or the font shape groups preloaded
-% you should should create a copy of \texttt{fonttext.ltx}
+% you should create a copy of \texttt{fonttext.ltx}
% under the name \texttt{fonttext.cfg} and change this copy. If
% \LaTeXe{} finds a file of this name it will use it, otherwise it
% uses the standard file which is \texttt{fontdef.ltx}.
@@ -249,11 +249,18 @@
% \changes{v3.0a}{2016/12/03}{(DPC) Default to TU encoding for Unicode TeX engines}
% \begin{macrocode}
\input {omlenc.def}
-\input {t1enc.def}
-\input {ot1enc.def} % <- should come after T1 for speed
\input {omsenc.def}
% \end{macrocode}
-%
+% Documents containing a lot of accented characters should really
+% be using T1 fonts. We therefore load this last so that T1 encoding
+% specific commands are executed as fast as possible (encoding
+% files are no longer reloaded in \texttt{fontenc}.
+% \changes{v3.0f}{2020/01/25}{Load t1enc.def last (gh/255)}
+% \begin{macrocode}
+\input {ot1enc.def}
+\input {t1enc.def}
+% \end{macrocode}
+%
% \begin{macrocode}
\input{ts1enc.def}
% \end{macrocode}
@@ -262,7 +269,7 @@
\ifx\Umathchar\@undefined
% \end{macrocode}
%
-% We then set set the default text font encoding. This will
+% We then set the default text font encoding. This will
% hopefully change some day to |T1|. This setting should \emph{not}
% be changed to produce a portable format.
% \begin{macrocode}
@@ -278,7 +285,7 @@
\def\ttsubstdefault{cmtt}
\LoadFontDefinitionFile{TS1}{cmr}
% \end{macrocode}
-%
+%
% \begin{macrocode}
\else
% \end{macrocode}
@@ -291,7 +298,7 @@
\LoadFontDefinitionFile{TU}{lmss}
\LoadFontDefinitionFile{TU}{lmtt}
% \end{macrocode}
-%
+%
% \begin{macrocode}
\def\rmsubstdefault{lmr}
\def\sfsubstdefault{lmss}
@@ -472,7 +479,7 @@
% \begin{macro}{\sldefault}
% \begin{macro}{\scdefault}
% \begin{macro}{\updefault}
-%
+%
% Shape changing commands use the following hooks.
% \changes{v3.0e}{2019/12/17}{Set \cs{updefault} to ``up''}
% \begin{macrocode}
@@ -908,7 +915,7 @@
% \let\lnot=\neg
\DeclareMathSymbol{\lnot}{\mathord}{symbols}{"3A}
% \end{macrocode}
-%
+%
% \begin{macrocode}
\DeclareMathSymbol{\flat}{\mathord}{letters}{"5B}
\DeclareMathSymbol{\natural}{\mathord}{letters}{"5C}
@@ -918,9 +925,9 @@
\DeclareMathSymbol{\heartsuit}{\mathord}{symbols}{"7E}
\DeclareMathSymbol{\spadesuit}{\mathord}{symbols}{"7F}
% \end{macrocode}
-%
+%
% \changes{v3.0c}{2019/08/27}{Various commands made robust throughout
-% the file}
+% the file}
% \begin{macrocode}
\DeclareRobustCommand\hbar{{\mathchar'26\mkern-9muh}}
\DeclareRobustCommand\surd{{\mathchar"1270}}
@@ -988,7 +995,7 @@
\DeclareMathSymbol{\land}{\mathbin}{symbols}{"5E}
\DeclareMathSymbol{\lor}{\mathbin}{symbols}{"5F}
% \end{macrocode}
-%
+%
% \begin{macrocode}
\DeclareMathSymbol{\cap}{\mathbin}{symbols}{"5C}
\DeclareMathSymbol{\cup}{\mathbin}{symbols}{"5B}
@@ -1039,7 +1046,7 @@
\DeclareRobustCommand\neq{\not=}
% \end{macrocode}
% As \cs{neq} is robust we should not use \cs{let} to define
-% \cs{ne} as then then it would change if \cs{neq} changes.
+% \cs{ne} as then it would change if \cs{neq} changes.
% \changes{v3.0d}{2019/09/21}{Distangle alias (gh/184)}
% \begin{macrocode}
\DeclareRobustCommand\ne{\not=}
@@ -1059,7 +1066,7 @@
\DeclareMathSymbol{\le}{\mathrel}{symbols}{"14}
\DeclareMathSymbol{\ge}{\mathrel}{symbols}{"15}
% \end{macrocode}
-%
+%
% \begin{macrocode}
\DeclareMathSymbol{\succ}{\mathrel}{symbols}{"1F}
\DeclareMathSymbol{\prec}{\mathrel}{symbols}{"1E}
@@ -1079,7 +1086,7 @@
% \let\owns=\ni
\DeclareMathSymbol{\owns}{\mathrel}{symbols}{"33}
% \end{macrocode}
-%
+%
% \begin{macrocode}
\DeclareMathSymbol{\gg}{\mathrel}{symbols}{"1D}
\DeclareMathSymbol{\ll}{\mathrel}{symbols}{"1C}
@@ -1096,7 +1103,7 @@
\DeclareMathSymbol{\gets}{\mathrel}{symbols}{"20}
\DeclareMathSymbol{\to}{\mathrel}{symbols}{"21}
% \end{macrocode}
-%
+%
% \begin{macrocode}
\DeclareMathSymbol{\mapstochar}{\mathrel}{symbols}{"37}
\DeclareRobustCommand\mapsto{\mapstochar\rightarrow}
@@ -1440,7 +1447,7 @@
%
% \subsubsection{Biggggg}
%
-% \changes{v3.0b}{2018/09/24}{Start LR-mode if necessary (git/49)}
+% \changes{v3.0b}{2018/09/24}{Start LR-mode if necessary (git/49)}
% \begin{macrocode}
%</math>
%<*math|latexrelease>
@@ -1465,7 +1472,7 @@
%<latexrelease>\EndIncludeInRelease
%<*math>
% \end{macrocode}
-%
+%
% \begin{macrocode}
\def\n@space{\nulldelimiterspace\z@ \m@th}
% \end{macrocode}