[latex3-commits] [git/LaTeX3-latex3-latex2e] gh315: look at different options (unfinished) (9e490ea9)
Frank Mittelbach
frank.mittelbach at latex-project.org
Sun Apr 12 13:53:18 CEST 2020
Repository : https://github.com/latex3/latex2e
On branch : gh315
Link : https://github.com/latex3/latex2e/commit/9e490ea92f88c8d03b696282c8a4d8d1f04afa77
>---------------------------------------------------------------
commit 9e490ea92f88c8d03b696282c8a4d8d1f04afa77
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Sun Apr 12 13:53:18 2020 +0200
look at different options (unfinished)
>---------------------------------------------------------------
9e490ea92f88c8d03b696282c8a4d8d1f04afa77
base/ltfssdcl.dtx | 10 +++++-----
base/ltfssini.dtx | 21 +++++++++++++++++----
2 files changed, 22 insertions(+), 9 deletions(-)
diff --git a/base/ltfssdcl.dtx b/base/ltfssdcl.dtx
index e902ff7c..a90635c6 100644
--- a/base/ltfssdcl.dtx
+++ b/base/ltfssdcl.dtx
@@ -627,12 +627,12 @@
% to error font shape.
% Don't use |\reset at font| since that would trigger |\selectfont|.
% \begin{macrocode}
- \fontencoding{\encodingdefault}%
- \fontfamily{\familydefault}%
- \fontseries{\seriesdefault}%
- \fontshape{\shapedefault}%
+ \fontencoding\encodingdefault
+ \edef\f at family{\familydefault}%
+ \edef\f at series{\seriesdefault}%
+ \edef\f at shape{\shapedefault}%
% \end{macrocode}
-% kill all macros not longer needed.
+% Kill all macros not longer needed.
% we need to add many more!!!!!!
% \begin{macrocode}
\everyjob{}%
diff --git a/base/ltfssini.dtx b/base/ltfssini.dtx
index fe7d858d..855c37d7 100644
--- a/base/ltfssini.dtx
+++ b/base/ltfssini.dtx
@@ -389,6 +389,12 @@
% \begin{macro}{\expand at font@defaults}
+% \begin{macro}{\rm at def@ult}
+% \begin{macro}{\sf at def@ult}
+% \begin{macro}{\tt at def@ult}
+% \begin{macro}{\md at def@ult}
+% \begin{macro}{\bf at def@ult}
+% \begin{macro}{\fam at def@ult}
%
% The family specific defaults are fully expanded, i.e., they are
% defined via \cs{edef} inside \cs{DeclareFontSeriesDefault}.
@@ -421,6 +427,12 @@
% \end{macrocode}
%
% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
@@ -963,10 +975,11 @@
% the setup for us.
% \begin{macrocode}
\expand at font@defaults
- \ifx\famdef at ult\rmdef at ult \rmfamily
- \else\ifx\famdef at ult\sfdef at ult \sffamily
- \else\ifx\famdef at ult\ttdef at ult \ttfamily
- \fi\fi\fi
+% \ifx\famdef at ult\rmdef at ult \rmfamily
+% \else\ifx\famdef at ult\sfdef at ult \sffamily
+% \else\ifx\famdef at ult\ttdef at ult \ttfamily
+% \fi\fi\fi
+ \reset at font
}%
% \end{macrocode}
% \end{macro}
More information about the latex3-commits
mailing list.