[latex3-commits] [latex3/latex2e] develop: Standardise "sec:" label prefix in non-historic guides (85f16356)

github at latex-project.org github at latex-project.org
Wed Sep 4 09:59:01 CEST 2024


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/85f163566f59b1468c79e0cb13f186070ead417f

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

commit 85f163566f59b1468c79e0cb13f186070ead417f
Author: Yukai Chou <muzimuzhi at gmail.com>
Date:   Wed Sep 4 15:48:05 2024 +0800

    Standardise "sec:" label prefix in non-historic guides


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

85f163566f59b1468c79e0cb13f186070ead417f
 base/doc/fntguide.tex | 42 +++++++++++++++++++++---------------------
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/base/doc/fntguide.tex b/base/doc/fntguide.tex
index 6106204a..23471f6f 100644
--- a/base/doc/fntguide.tex
+++ b/base/doc/fntguide.tex
@@ -52,7 +52,7 @@
    \texttt{fntguide.tex} for full details.}%
 }
 
-\date{March 2024}
+\date{Sep 2024}
 
 \begin{document}
 
@@ -93,28 +93,28 @@ This document contains an overview of the new font commands of \LaTeX.
 
 \begin{description}
 
-\item[Section~\ref{Sec:text}] describes the commands for selecting fonts
+\item[Section~\ref{sec:text}] describes the commands for selecting fonts
   in classes and packages.  It lists the five \LaTeX{} font attributes,
   and lists the commands for selecting fonts.  It also describes how to
   customize the author commands such as |\textrm| and |\textit| to suit
   your document design.
 
-\item[Section~\ref{Sec:math}] explains the commands for controlling
+\item[Section~\ref{sec:math}] explains the commands for controlling
   \LaTeX{} math fonts.  It describes how to specify new math fonts and
   new math symbols.
 
-\item[Section~\ref{Sec:install}] explains how to install new fonts into
+\item[Section~\ref{sec:install}] explains how to install new fonts into
   \LaTeX.  It shows how \LaTeX{} font attributes are turned into \TeX{}
   font names, and how to specify your own fonts using font definition
   files.
 
-\item[Section~\ref{Sec:encode}] discusses text font encodings.  It
+\item[Section~\ref{sec:encode}] discusses text font encodings.  It
   describes how to declare a new encoding and how to define commands,
   such as |\AE| or |\"|, which have different definitions in different
   encodings, depending on whether ligatures, etc.\ are available in the
   encoding.
 
-\item[Section~\ref{Sec:misc}] covers font miscellanea.  It describes how
+\item[Section~\ref{sec:misc}] covers font miscellanea.  It describes how
   \LaTeX{} performs font substitution, how to customize fonts that are
   preloaded in the \LaTeX{} format, and the naming conventions used in
   \LaTeX{} font selection.
@@ -143,7 +143,7 @@ same source as your copy of \LaTeX.
 The |psnfss| software uses fonts generated by Alan Jeffrey's |fontinst|
 software.  This can convert fonts from Adobe Font Metric format into a
 format readable by \LaTeX, including the generation of the font
-definition files described in Section~\ref{Sec:install}.  The |fontinst|
+definition files described in Section~\ref{sec:install}.  The |fontinst|
 software should be available from the same source as your copy of
 \LaTeX.
 
@@ -175,7 +175,7 @@ Addresses and other details can be found at:
 
 
 \section{Text fonts}
-\label{Sec:text}
+\label{sec:text}
 
 This section describes the commands available to class and package
 writers for specifying and selecting fonts.
@@ -392,14 +392,14 @@ The author commands for fonts set the five attributes as shown in table~\vref{ta
   \caption{Author font commands and their effects (article class)}\label{tab:attributes}
 \end{table}
 The values used by these commands are determined by the document class,
-using the parameters defined in Section~\ref{Sec:text.param}.
+using the parameters defined in Section~\ref{sec:text.param}.
 
 Note that there are no author commands for selecting new encodings.
 These should be provided by packages, such as the |fontenc| package.
 
 This section does not explain how \LaTeX{} font specifications are
 turned into \TeX{} font names.  This is described in
-Section~\ref{Sec:install}.
+Section~\ref{sec:install}.
 
 
 
@@ -483,7 +483,7 @@ commands like |\fontfamily|, |\fontseries|, etc. If you disobey this
 warning you might produce code that loops.
 
 \subsection{Parameters for author commands}
-\label{Sec:text.param}
+\label{sec:text.param}
 
 The parameter values set by author commands such as |\textrm| and
 |\rmfamily|, etc.\ are not hard-wired into \LaTeX; instead these
@@ -644,7 +644,7 @@ the transcript file.
 
 
 \section{Math fonts}
-\label{Sec:math}
+\label{sec:math}
 
 This section describes the commands available to class and package
 writers for specifying math fonts and math commands.
@@ -658,7 +658,7 @@ Some math fonts are selected explicitly by one-argument commands such as
 |\mathsf{max}| or |\mathbf{vec}|; such fonts are called \emph{math
   alphabets}.  These math alphabet commands affect only the font used
 for letters and symbols of type |\mathalpha| (see
-Section~\ref{Sec:math.commands}); other symbols within the argument will
+Section~\ref{sec:math.commands}); other symbols within the argument will
 be left unchanged.  The predefined math alphabets are:
 \begin{center}
   \begin{tabular}{ccc}
@@ -730,7 +730,7 @@ packages.
 
 There are no commands for selecting symbol fonts.  Instead, these are
 selected indirectly through symbol commands like |\oplus|.
-Section~\ref{Sec:math.commands} explains how to define symbol commands.
+Section~\ref{sec:math.commands} explains how to define symbol commands.
 
 \begin{decl}
   |\mathnormal{<math>}| \quad
@@ -908,7 +908,7 @@ when it is first declared, a math alphabet uses a \TeX{} math group only
 when its command is used within a math formula.
 
 \subsection{Declaring math symbols}
-\label{Sec:math.commands}
+\label{sec:math.commands}
 
 \begin{decl}
   |\DeclareMathSymbol| \arg{symbol} \arg{type} \arg{sym-font}
@@ -1040,7 +1040,7 @@ Example:
 \end{verbatim}
 
 \section{Font installation}
-\label{Sec:install}
+\label{sec:install}
 
 This section explains how \LaTeX's font attributes are turned into
 \TeX{} font specifications.
@@ -1328,7 +1328,7 @@ This example sets up the `empty' size function (simplified):
 
 
 \section{Encodings}
-\label{Sec:encode}
+\label{sec:encode}
 
 This section explains how to declare and use new font encodings and how
 to declare commands for use with particular encodings.
@@ -1353,7 +1353,7 @@ the option list.
 The declarations in the encoding definition file |<enc>enc.def| for
 encoding \m{ENC} are responsible for declaring this encoding and telling
 \LaTeX{} how to produce characters in this encoding; this file should
-contain nothing else (see Section~\ref{Sec:encode.def}.
+contain nothing else (see Section~\ref{sec:encode.def}.
 
 The standard \LaTeX{} format declares the |OT1| and |T1| text encodings
 by inputting the files |ot1enc.def| and |t1enc.def|; it also sets up
@@ -1371,7 +1371,7 @@ prevents the system from attempting to load any |T1|-encoded fonts from
 the `cmr' family).
 
 \subsection{Encoding definition file commands}
-\label{Sec:encode.def}
+\label{sec:encode.def}
 
 \emph{Note}: An encoding definition file should contain only commands
 from this subsection.
@@ -1660,7 +1660,7 @@ encoding scheme is never substituted!  They are tried in the order
 
 \NEWdescription{2019/07/10}
 This declaration is normally done in an encoding definition file
-(see~\ref{Sec:encode.def}), but can also be used in a class file or the
+(see~\ref{sec:encode.def}), but can also be used in a class file or the
 document preamble to alter the default for a specific encoding.
 
 If no defaults are set up for an encoding, the values given by
@@ -1705,7 +1705,7 @@ problems when using other alphabets.  As an experiment, it has now been
 extended for use with some Cyrillic encodings.
 
 \section{Miscellanea}
-\label{Sec:misc}
+\label{sec:misc}
 
 This section covers the remaining font commands in \LaTeX{} and some
 other issues.





More information about the latex3-commits mailing list.