Skip to content

Commit

Permalink
Correct typos in lttextcompt.dtx
Browse files Browse the repository at this point in the history
  • Loading branch information
muzimuzhi authored and josephwright committed Feb 2, 2024
1 parent 7daefa1 commit 15927ca
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions base/lttextcomp.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
%
%
\ProvidesFile{lttextcomp.dtx}
[2024/01/27 v1.1a LaTeX Kernel (text companion symbols)]
[2024/02/02 v1.1a LaTeX Kernel (text companion symbols)]
% \iffalse
\documentclass{ltxdoc}
\begin{document}
Expand Down Expand Up @@ -167,8 +167,8 @@
% for which a subsetting is wanted (currently always \texttt{TS1},
% and most likely forever), the \emph{font family} for which we
% declare the subset and finally the \emph{subset} number (between
% \texttt{0} (all of the encoding is supported) and \texttt{9} many
% glyphs are missing.
% \texttt{0} (all of the encoding is supported) and \texttt{9} (many
% glyphs are missing).
%
% For \texttt{TS1} the numbers have been chosen in a way that most
% fonts can be fairly correctly categorized, but the default
Expand Down Expand Up @@ -2364,19 +2364,19 @@
% \end{macrocode}
%
% For the purpose of this check a glyph exists if the font slot is
% occupied---to bad if that contains the wrong glyph or some tofu.
% occupied---too bad if that contains the wrong glyph or some tofu.
% If it ``exists'' we return 0 otherwise 1. This way we can call
% this macro several times in a row and obtain a number that is 0
% if all glyphs are existing or greater than 0 if any of them is
% missing.
%
% The second argument (holding the command name for a symbol) is
% not used during tese tests.
% not used during these tests.
% \begin{macrocode}
\def\doesglyphexist#1#2{\iffontchar\testFont #1 0\else 1\relax \fi}
% \end{macrocode}
%
% This macro also tests and outputs some information about the the
% This macro also tests and outputs some information about the
% symbol if it is missing. This time we make use of the second
% argument.
% \begin{macrocode}
Expand All @@ -2394,7 +2394,7 @@
% sub-encoding $x$ (\texttt{\#2}) to $x+1$ (\texttt{\#3}). As far
% as the code is concerned, the
% symbols that are supposed to be always available (the core)
% become available if we test the group \texttt{-1},\texttt{0}.
% become available if we test the group \texttt{-1} and \texttt{0}.
%
% The first argument contains the testing code and is supposed to
% return a single number greater or equal to zero.
Expand Down Expand Up @@ -2426,15 +2426,15 @@
% \begin{macrocode}
{\let\doesglyphexist \glyphmissingdetails #1}%
% \end{macrocode}
% And because we had misses we have definitely have found the subset.
% And because we had misses we have definitely found the subset.
% \begin{macrocode}
\safesubencodingfoundtrue
\fi
}
% \end{macrocode}
%
% The currently defined subset for the family is either stored in
% \cs{TS1:}\meta{family} if it was declared, or it is the default
% \cs{TS1:\meta{family}} if it was declared, or it is the default
% subset which is stored in \cs{TS1:?}.
% \begin{macrocode}
\def\currsubencoding#1{\csname TS1:\ifcsname TS1:#1\endcsname #1\else ?\fi\endcsname}
Expand Down

0 comments on commit 15927ca

Please sign in to comment.