[latex3-commits] [git/LaTeX3-latex3-latex2e] clsguide-cleanup: Typos (a7e8f196)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Jan 13 16:42:40 CET 2023


Repository : https://github.com/latex3/latex2e
On branch  : clsguide-cleanup
Link       : https://github.com/latex3/latex2e/commit/a7e8f1963c55db580f6dd8e4d32b1cd33c370879

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

commit a7e8f1963c55db580f6dd8e4d32b1cd33c370879
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Jan 13 15:42:40 2023 +0000

    Typos


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

a7e8f1963c55db580f6dd8e4d32b1cd33c370879
 base/doc/clsguide.tex | 41 +++++++++++++++++++++--------------------
 1 file changed, 21 insertions(+), 20 deletions(-)

diff --git a/base/doc/clsguide.tex b/base/doc/clsguide.tex
index 5ddb9cab..0a1f15b9 100644
--- a/base/doc/clsguide.tex
+++ b/base/doc/clsguide.tex
@@ -39,7 +39,7 @@
    \footnote{This file may distributed and/or modified under the
      conditions of the \LaTeX{} Project Public License, either version 1.3c
      of this license or (at your option) any later version. See the source
-    \texttt{usrguide.tex} for full details.}%
+    \texttt{clsguide.tex} for full details.}%
 }
 
 \date{2023-01-12}
@@ -298,10 +298,10 @@ avoid every University having its own thesis class, all called |thesis.cls|.
 
 If you rely on some features of the \LaTeX{} kernel, or on a package,
 please specify the release-date you need.  For example, the package
-error commands were introduced in the June 2022 release so, if you use
+error commands were introduced in the June 1994 release so, if you use
 them then you should put:
 \begin{verbatim}
-   \NeedsTeXFormat{LaTeX2e}[2022-06-01]
+   \NeedsTeXFormat{LaTeX2e}[1994-06-01]
 \end{verbatim}
 
 \subsubsection{Useful hooks}
@@ -343,7 +343,7 @@ Package files do this as follows:
 For example:
 \begin{verbatim}
    \NeedsTeXFormat{LaTeX2e}
-   \ProvidesPackage{latexsym}[2002-06-01 Standard LaTeX package]
+   \ProvidesPackage{latexsym}[1998-08-17 Standard LaTeX package]
 \end{verbatim}
 Class files do this as follows:
 \begin{verbatim}
@@ -353,7 +353,7 @@ Class files do this as follows:
 For example:
 \begin{verbatim}
    \NeedsTeXFormat{LaTeX2e}
-   \ProvidesClass{article}[2002-06-01 Standard LaTeX class]
+   \ProvidesClass{article}[2022-06-01 Standard LaTeX class]
 \end{verbatim}
 The \m{date} should be given in the form `\textsc{yyyy-mm-dd}' and must be
 present if the optional argument is used (this is also true for the
@@ -365,7 +365,7 @@ developer made a mistake!
 This date is checked whenever a user specifies a date in their |\documentclass|
 or |\usepackage| command. For example, if you wrote:
 \begin{verbatim}
-   \documentclass{article}[2002-06-01]
+   \documentclass{article}[2022-06-01]
 \end{verbatim}
 then users at a different location would get a warning that their copy of
 |article| was out of date.
@@ -384,7 +384,7 @@ A \LaTeX{} package or class can load a package as follows:
 \end{verbatim}
 For example:
 \begin{verbatim}
-   \RequirePackage{ifthen}[2002-06-01]
+   \RequirePackage{ifthen}[2022-06-01]
 \end{verbatim}
 This command has the same syntax as the author command |\usepackage|. It allows
 packages or classes to use features provided by other packages. For example, by
@@ -426,7 +426,7 @@ that the name of an option should contain only those characters allowed in a
 `\LaTeX{} name'; in particular it must not contain any control sequences.
 
 \LaTeX{} supports two methods for creating options: a key--value system and a
-`simple text` approach. The key--value system is recommended for new classes
+`simple text' approach. The key--value system is recommended for new classes
 and packages, and is more flexible in handling of option classes than the
 simple text approach. Both option methods use the same basic structure within
 the \LaTeX{} source: declaration of options first then processing options in a
@@ -478,8 +478,9 @@ option is used. This can be done by writing:
 
 It is possible to pass options on to another package or class, using the
 command |\PassOptionsToPackage| or |\PassOptionsToClass| (note that this is a
-specialised operation that works only for option names). For example, to pass
-every unknown option on to the |article| class, you can use:
+specialised operation that works only for option names): see
+Section~\ref{Sec:opmove}. For example, to pass every unknown option on to the
+|article| class, you can use:
 \begin{verbatim}
    \DeclareOption*{%
       \PassOptionsToClass{\CurrentOption}{article}%
@@ -794,13 +795,13 @@ For example, with
    second-name.store = \@mypkg at other@name
  }
 \end{verbatim}
-three options would be create. The option \texttt{draft} can be given anywhere
+three options would be created. The option \texttt{draft} can be given anywhere
 in the preamble, and will set a switch called |\if at mypkg@draft|. The option
 \texttt{name} can only be given during package loading, and will save whatever
 value it is given in |\@mypkg at name|. Finally, the option \texttt{second-name}
 can be given anywhere, and will save its value in |\@mypkg at other@name|.
 
-Keys created \emph{before} the use of |\ProcessKeyOptions|act as package
+Keys created \emph{before} the use of |\ProcessKeyOptions| act as package
 options.
 
 \begin{decl}
@@ -821,8 +822,8 @@ against the keys defined for \m{family}. Global (class) options and local
 \begin{decl}
   |\SetKeys| \oarg{family} \arg{keyvals}
 \end{decl}
-Sets (applies) the explicit list of \m{keyvals} for the \m{family}: it the
-latter is not given, the value of |\@currname| used. This command may be used
+Sets (applies) the explicit list of \m{keyvals} for the \m{family}: if the
+latter is not given, the value of |\@currname| is used. This command may be used
 within a package to set options before or after using |\ProcessKeyOptions|.
 
 \subsection{Passing options around}
@@ -893,10 +894,10 @@ with:
 \end{verbatim}
 In the first example, the \textsf{article} class will be loaded with option
 |landscape| precisely when the current class is called with this option. By
-contrast, in the second example it will never be called with option
-\texttt{landscape} as in that case \textsf{article} is passed options only by
-the default option handler, but this handler is not used for |landscape|
-because that option is explicitly declared.
+contrast, in the second example it will never be called with option |landscape|
+as in that case \textsf{article} is passed options only by the default option
+handler, but this handler is not used for |landscape| because that option is
+explicitly declared.
 
 \subsection{Safe file commands}
 
@@ -1014,7 +1015,7 @@ being used. This should be actual paper size, unlike |\textwidth| and
 
 As described in \texttt{usrguide}, case changing for text should be carried out
 using the commands |\MakeUppercase|, |\MakeLowercase| and
-|\MakeTitlecase|. If you need to change the cae of programmatic material, the
+|\MakeTitlecase|. If you need to change the case of programmatic material, the
 team strongly suggest using the L3 programming layer commands in the
 \texttt{str} module. If you do not wish to do this, you should use the \TeX{}
 |\uppercase| and |\lowercase| primitives \emph{in this situation only}.
@@ -1039,7 +1040,7 @@ does not work perfectly when used in the middle of a paragraph because an
 inter-word space appears at the beginning of the first line after the
 environment.
 
-You can to avoid this problem using |\ignorespacesafterend|; it should be
+You can avoid this problem using |\ignorespacesafterend|; it should be
 inserted as shown here:
 \begin{verbatim}
   \newenvironment{texteqn}





More information about the latex3-commits mailing list.