From 6057f09f891b6d01017cd64ad93a973a53dfd2d1 Mon Sep 17 00:00:00 2001 From: Frank Mittelbach Date: Thu, 12 Dec 2024 10:25:03 +0100 Subject: [PATCH] correct docs after review --- base/doc/ltnews41.tex | 2 +- base/ltfssaxes.dtx | 40 ++++++++++++++++++++-------------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/base/doc/ltnews41.tex b/base/doc/ltnews41.tex index 9b7ab8ab6..146720a6a 100644 --- a/base/doc/ltnews41.tex +++ b/base/doc/ltnews41.tex @@ -281,7 +281,7 @@ \subsection{Supporting the \texttt{ssc} and \texttt{sw} shapes} \end{verbatim} changed unconditionally to \texttt{it} (italics) rather than to \texttt{sscit} (spaced small italic capitals). Thanks to Michael -Ummels the missing declarations have now been added so that shape +Ummels, the missing declarations have now been added so that shape changes in font families that support spaced small capitals work properly. diff --git a/base/ltfssaxes.dtx b/base/ltfssaxes.dtx index fde2ec98b..29b08b828 100644 --- a/base/ltfssaxes.dtx +++ b/base/ltfssaxes.dtx @@ -1178,12 +1178,11 @@ % \begin{macro}{\textssc} % \begin{macro}{\sscdefault} % -% New command to select spaced small capitals. This is only here -% because \texttt{fontaxes} offered it. There isn't a single free -% font that supports it. However, some commercial ones do, so we -% offer it and it is possible to produce spaced small capitals from -% normal small capitals in OTF fonts using \texttt{otftotfm} with -% calls such as +% New commands to select spaced small capitals. There isn't a +% single free font that supports it. However, some commercial ones +% do, so we offer it. It is possible to produce spaced small +% capitals from normal small capitals in OTF fonts using +% \texttt{otftotfm} with calls such as %\begin{verbatim} % otftotfm -e TEXMF/fonts/enc/dvips/base/texnansx.enc \ % SourceSerifPro-Regular.ttf -fkern -fliga --feature=smcp \ @@ -1192,10 +1191,10 @@ % % Michael Ummels kindly prepared the necessary rules for % \texttt{ssc} ages ago, but until recently they managed to hide -% deep down in my inbox. I -% finally got around integrating them (with a few changes) and also -% took the opportunity to rationalize the other uncommon -% \texttt{sw} shape rules a bit. +% deep down in my inbox. I finally got around to integrating them +% (with a few changes) and I also took the opportunity to +% rationalize (a bit) the rules for the only other uncommon shape, +% \texttt{sw}. % \begin{macrocode} \DeclareRobustCommand\sscshape {\not@math@alphabet\sscshape\relax @@ -1262,10 +1261,10 @@ % for \texttt{ssc} we try to replace it by \texttt{sc} because we % then assume that the current font family simply doesn't have any % \texttt{ssc} shapes. However, if we are already in some -% \texttt{ssc} shape and a change is requested we know that at +% \texttt{ssc} shape and a shape change is requested we know that at % least some \texttt{ssc} shapes exist for the current font family, -% so rather than falling back to some \texttt{sc} we try to stay -% within \texttt{ssc} changes in a fallback situation. +% so rather than falling back to some \texttt{sc} shape we try to stay +% within \texttt{ssc} shapes in a fallback situation. % \changes{v1.0k}{2024/12/11}{Add \texttt{ssc} shape change % rules (gh/1581)} % \begin{macrocode} @@ -1308,8 +1307,9 @@ \DeclareFontShapeChangeRule {sc}{ulc} {n} {} % \end{macrocode} % -% The next rule might be a bit surprising and rightly so. Correct -% would be that \texttt{sc} is not affected by \texttt{up}, i.e., +% The next rule might be a bit surprising, and rightly so. +% It would be more correct if \text{sc} +% were not affected by \texttt{up}, so that it % remains \texttt{sc} as shown in the commented out rule. However, % for nearly three decades commands such as \cs{upshape} or % \cs{textup} changed small caps back to the ``normal'' shape. So @@ -1339,7 +1339,7 @@ % \end{macrocode} % The next rule assumes that if \texttt{scit} exists then % \texttt{it} exists as well. If not, the mechanism will save -% \texttt{ulc} in \cs{f@series} which most certainly doesn't +% \texttt{ulc} in \cs{f@series}, which most certainly doesn't % exist. So when a font is later selected that would result in a % substitution (so no harm done really). Alternatively, we could in % this case use \texttt{n} as alternative, which may be a bit @@ -1480,10 +1480,10 @@ % % \end{macrocode} % In 2022-02-02 the \texttt{ssc} shape had no rules, so -% whenever it was used it would have resulted in just switching to -% that shape or switching away from it, so we mimic that by -% providing the corresponding trivial rules to overrule the ones -% from above. +% that any use of it would have resulted in just switching to +% that shape or switching away from it; so we mimic that by +% providing the corresponding trivial rules to overrule those +% from above when we roll back. % \begin{macrocode} %\DeclareFontShapeChangeRule {n}{ssc} {ssc} {} %\DeclareFontShapeChangeRule {it}{ssc} {ssc} {}