[latex3-commits] [git/LaTeX3-latex3-latex2e] typo-fix: Update ltfiles.dtx, ltfntcmd.dtx, and lttextcomp.dtx to remove typos found in #428, #429 (df0ac0fd)

Johannes Braams texniek at braams.xs4all.nl
Sat Dec 5 14:33:53 CET 2020


Repository : https://github.com/latex3/latex2e
On branch  : typo-fix
Link       : https://github.com/latex3/latex2e/commit/df0ac0fd23a10b1c27c331dc0beba4b9e5c901d4

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

commit df0ac0fd23a10b1c27c331dc0beba4b9e5c901d4
Author: Johannes Braams <texniek at braams.xs4all.nl>
Date:   Sat Dec 5 14:33:53 2020 +0100

    Update ltfiles.dtx, ltfntcmd.dtx, and lttextcomp.dtx to remove typos found in #428, #429


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

df0ac0fd23a10b1c27c331dc0beba4b9e5c901d4
 base/ltfiles.dtx    | 20 ++++++++++----------
 base/ltfntcmd.dtx   |  8 ++++----
 base/lttextcomp.dtx | 24 ++++++++++++------------
 3 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/base/ltfiles.dtx b/base/ltfiles.dtx
index 99be77c8..bdfd3ecc 100644
--- a/base/ltfiles.dtx
+++ b/base/ltfiles.dtx
@@ -32,7 +32,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltfiles.dtx}
-             [2020/10/04 v1.2j LaTeX Kernel (File Handling)]
+             [2020/12/04 v1.2j LaTeX Kernel (File Handling)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltfiles.dtx}
@@ -334,7 +334,7 @@
 % locally in the output routine. In particular it allows hyphenation
 % in the page head even if the page break happens in verbatim.
 % If this has already been set by a package, set to the value of |\language|
-% at this spoint.
+% at this point.
 % \changes{v1.1n}{2017/03/10}{Save language default}
 %    \begin{macrocode}
   \ifx\document at default@language\m at ne
@@ -456,7 +456,7 @@
 %    harmless), however, in more complicated scenarios where several
 %    full documents are combined to a single document it might get
 %    applied several times with harmful effects. We therefore
-%    explicitly drop it at this point. the coing is somewhat obscure
+%    explicitly drop it at this point. the coding is somewhat obscure
 %    due to the name of the macro which requires constructing.
 %    \begin{macrocode}
 \edef \@kernel at after@begindocument at before {%
@@ -710,15 +710,15 @@
     \@latex at error{\string\include\space cannot be nested}\@eha
   \else
 %    \end{macrocode}
-%    Here the normalisation will add |.tex| for all files, (it uses the
-%    the same normalisation as the hooks), so we need to remove that
+%    Here the normalization will add |.tex| for all files, (it uses
+%    the same normalization as the hooks), so we need to remove that
 %    manually.  \cs{@strip at tex@ext} does that.
 %    \begin{macrocode}
     \set at curr@file{#1}%
     \edef\@curr at file{\@strip at tex@ext\@curr at file}%
 %    \end{macrocode}
 %    For historical reasons \cs{@include} expects an argument
-%    delimited by a space. This is kept (though uncessary now) to avoid
+%    delimited by a space. This is kept (though unnecessary now) to avoid
 %    errors in other packages that use \cs{@include} directly.
 %    \begin{macrocode}
     \expandafter\@include\expandafter{\@curr at file} % deliberate space
@@ -726,13 +726,13 @@
 %    \end{macrocode}
 %
 %    Here in \cs{includeonly} we also need to strip |.tex| after
-%    normalisation:
+%    normalization:
 %    \begin{macrocode}
 \def\includeonly#1{%
   \@partswtrue
 %    \end{macrocode}
 %    Because the argument to |\includeonly| is a comma-separated list
-%    of filenames where there may be comma's precedeing some of the
+%    of filenames where there may be comma's preceding some of the
 %    filenames or trailing them. Therefore we need to take the list
 %    apart, remove the unwanted spaces while leaving the spaces
 %    \emph{in} the filenames intact.
@@ -996,7 +996,7 @@
 %   A side effect of the new code is that we will see quotes around
 %   file name displays where there haven't been any before.
 %
-%   For compatibilty with existing code using |{abc}.tex| or |{one.two}.png|
+%   For compatibility with existing code using |{abc}.tex| or |{one.two}.png|
 %   an initial brace group is discarded before expansion and |\string| is applied
 %   The content of the brace group is discarded. This means that a leading space
 %   will be lost unless protected (by |{ }| or |" "| or |\space|) but filenames
@@ -1058,7 +1058,7 @@
 %
 % \changes{v1.2a}{2019/07/01}{Support UTF-8}
 % \changes{v1.2b}{2019/08/27}{Make command robust}
-% \changes{v1.2d}{2019/10/26}{dont quote name}
+% \changes{v1.2d}{2019/10/26}{don't quote name}
 %    \begin{macrocode}
 \DeclareRobustCommand\IfFileExists[1]{%
   \set at curr@file{#1}%
diff --git a/base/ltfntcmd.dtx b/base/ltfntcmd.dtx
index 0a44d5ac..ebff2df2 100644
--- a/base/ltfntcmd.dtx
+++ b/base/ltfntcmd.dtx
@@ -32,7 +32,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltfntcmd.dtx}
-             [2019/12/17 v3.4c LaTeX Kernel (Font commands)]
+             [2020/12/05 v3.4c LaTeX Kernel (Font commands)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltfntcmd.dtx}
@@ -303,7 +303,7 @@
 %    character in an unsloped font; we believe (in early 2003) that
 %    this is perhaps inefficient but not dangerous.
 %
-%    It also now checks for empty contents of the text command and optimises
+%    It also now checks for empty contents of the text command and optimizes
 %    this case.  Some care is also taken to check that doing dangerous
 %    things in vertical mode is avoided.
 %
@@ -539,7 +539,7 @@
 %
 % \begin{macro}{\ifmaybe at ic}
 % \changes{v3.4a}{2009/12/14}{Macro added}
-%    Switch used soley within |\maybe at ic| not interfering with other
+%    Switch used solely within |\maybe at ic| not interfering with other
 %    switches.
 %    \begin{macrocode}
 \newif\ifmaybe at ic
@@ -585,7 +585,7 @@
 %    \begin{macrocode}
     \do \t at st@ic
 %    \end{macrocode}
-%    Frank thinks that the next bit it is inefficient if done after
+%    Frank thinks that the next bit is inefficient if done after
 %    the second change.  Chris thinks that most all of this is
 %    inefficient for the commonest cases: but that is the price of a
 %    cleverer algorithm.  It is certainly needed to deal with the use
diff --git a/base/lttextcomp.dtx b/base/lttextcomp.dtx
index 3b6231da..8a1dd669 100644
--- a/base/lttextcomp.dtx
+++ b/base/lttextcomp.dtx
@@ -33,7 +33,7 @@
 %
 %
 \ProvidesFile{lttextcomp.dtx}
-             [2020/04/29 v1.0d LaTeX Kernel (text companion symbols)]
+             [2020/12/05 v1.0d LaTeX Kernel (text companion symbols)]
 % \iffalse
 \documentclass{ltxdoc}
 \begin{document}
@@ -46,7 +46,7 @@
 %
 %
 % \GetFileInfo{lttextcomp.dtx}
-% \title{Providing addtional text symbols\\
+% \title{Providing additional text symbols\\
 %        (previously available through the \texttt{textcomp} package)\thanks
 %       {This file has version number
 %       \fileversion\ dated \filedate}}
@@ -112,7 +112,7 @@
    \mathgroup\symletters #1%
   \else
 %    \end{macrocode}
-%    The \cs{CheckEncodingSubset} is discused below.
+%    The \cs{CheckEncodingSubset} is discussed below.
 %    \begin{macrocode}
    \CheckEncodingSubset\@use at text@encoding{TS1}\tc at oldstylesubst2{{#1}}%
  \fi
@@ -200,7 +200,7 @@
 %    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.
 %
-%    For \texttt{TS1} the numbers have been choosen in a way that most
+%    For \texttt{TS1} the numbers have been chosen in a way that most
 %    fonts can be fairly correctly categorized, but the default
 %    settings are always conservative, that is they may claim that
 %    less glyphs are supported than there actually are.
@@ -408,7 +408,7 @@
 %
 %    Accents and been mad an error in the \texttt{textcomp} package when
 %    not available. Now that we provide the functionality in the
-%    kernel we avoid the eror by swapping in a \texttt{T1} accent if
+%    kernel we avoid the error by swapping in a \texttt{T1} accent if
 %    the \texttt{TS1} accent is not available.
 %    \begin{macrocode}
 %\def\tc at check@accent{\CheckEncodingSubset\UseTextAccent{TS1}\tc at error}
@@ -565,7 +565,7 @@
 %
 %    In Unicode engines we just execute the simple accents:
 % \changes{v1.0c}{2020/02/10}{Use \cs{@tabacckludge} for tabbing where necessary (gh/271)}
-% \changes{v1.0d}{2020/04/29}{Make all captial accents text commands for hyperref (gh/332)}
+% \changes{v1.0d}{2020/04/29}{Make all capital accents text commands for hyperref (gh/332)}
 %    \begin{macrocode}
 \else
   \DeclareTextCommandDefault\capitalacute{\@tabacckludge'}
@@ -720,14 +720,14 @@
 %
 %    Most older PS fonts (supported in \TeX{} since the early nineties
 %    when virtual fonts became available) are sorted under this
-%    sub-encoding. But in reality, many of them don't have all glpyhs
+%    sub-encoding. But in reality, many of them don't have all glyphs
 %    that should be available in sub-encoding \texttt{5}. Instead they
 %    show little squares, i.e., they produce ``tofu'' if you are
 %    unlucky.
 %
 %    But the coverage is so random that it is impossible to sort them
 %    properly and if we tried to ensure that they only typeset those
-%    glyphs that are really  always available wouput put them all into
+%    glyphs that are really  always available would put them all into
 %    sub-encoding \texttt{9} so that's a compromise really.
 %
 %    Modern fonts that don't typeset a tofu character if a glyph is
@@ -830,7 +830,7 @@
 \DeclareTextCommand{\texteightoldstyle}\UnicodeEncodingName{\oldstylenums{8}}
 \DeclareTextCommand{\textnineoldstyle} \UnicodeEncodingName{\oldstylenums{9}}
 %    \end{macrocode}
-%    These have Unicode slots so this should be integrated into TU explictly
+%    These have Unicode slots so this should be integrated into TU explicitly
 %    \begin{macrocode}
 \DeclareTextSymbol{\textpilcrow}       \UnicodeEncodingName{"00B6}
 \DeclareTextSymbol{\textborn}          \UnicodeEncodingName{"002A}
@@ -1156,7 +1156,7 @@
 %  \begin{macro}{\textlegacysection}
 %
 %    Here are new names for the legacy symbols that \LaTeX{} used to
-%    pick up from the \texttt{OMS} encoded fonts (and used dor itemize
+%    pick up from the \texttt{OMS} encoded fonts (and used for itemize
 %    lists or footnote symbols.
 %
 %    We go the roundabout way via separate OMS declarations so that
@@ -1443,7 +1443,7 @@
 %    of the default (which, unless changes, is 9 these days), i.e., it
 %    no longer depends on the font in use. This is mainly there
 %    because it might have been used in older documents, but not
-%    somehting that is recommended.
+%    something that is recommended.
 %    \begin{macrocode}
 \DeclareOption{force}{%
     \def\CheckEncodingSubset#1#2#3#4#5{%
@@ -1483,7 +1483,7 @@
 %    This section contains the old code for the textcomp package and
 %    its documentation. It is only used if we roll back prior to 2020.
 %    Thus all the rest is mainly for historians. Note that the old
-%    code categorised in the sub-encodings only into 6 classes not 10.
+%    code categorized in the sub-encodings only into 6 classes not 10.
 %
 %    \begin{macrocode}
 %<*TS1oldsty>





More information about the latex3-commits mailing list.