[latex3-commits] [git/LaTeX3-latex3-latex2e] starredrefs: Typos (43b34f64)

PhelypeOleinik phelype.oleinik at latex-project.org
Sat Apr 16 02:33:49 CEST 2022


Repository : https://github.com/latex3/latex2e
On branch  : starredrefs
Link       : https://github.com/latex3/latex2e/commit/43b34f643725f1a94e22e941206c1f9c306ef3aa

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

commit 43b34f643725f1a94e22e941206c1f9c306ef3aa
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Fri Apr 15 21:33:49 2022 -0300

    Typos


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

43b34f643725f1a94e22e941206c1f9c306ef3aa
 base/changes.txt      | 4 ++--
 base/doc/ltnews35.tex | 4 ++--
 base/ltxref.dtx       | 8 ++++----
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/base/changes.txt b/base/changes.txt
index f7fa9da1..931d3940 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -8,8 +8,8 @@ are not part of the distribution.
 2022-04-13  Ulrike Fischer <Ulrike.Fischer at latex-project.org>
 
 	* ltxref.dtx:
-	Added starred versions of \ref,\pageref and \Ref
-    Added expandable version for \pageref and \ref
+	Added starred versions of \ref, \pageref and \Ref
+	  Added expandable version for \pageref and \ref
 	* ifthen.dtx:
 	use new expandable version for \pageref and \ref
 
diff --git a/base/doc/ltnews35.tex b/base/doc/ltnews35.tex
index ab1554f1..0cc2216e 100644
--- a/base/doc/ltnews35.tex
+++ b/base/doc/ltnews35.tex
@@ -460,11 +460,11 @@ lua.get_functions_table()
 For a long time \pkg{hyperref} provides starred versions for the reference commands
 that don't create active links. This syntax extension required users and
 package authors to check if \pkg{hyperref} was loaded and adjust the coding
-accordingly or take the starrred forms out iff text was copied to a document 
+accordingly or take the starrred forms out if text was copied to a document
 without \pkg{hyperref}. The commands have now been aligned with
 the \pkg{hyperref} usage and always allow an optional star. The \pkg{showkeys} package
 has been updated to handle the starred versions too, both with \pkg{hyperref} or \pkg{nameref}
-and without. The command are defined with \cs{NewDocumentCommand} and so no longer expand when
+and without. The commands are defined with \cs{NewDocumentCommand} and so no longer expand when
 written to auxiliary files. This reduces the number of compilations needed to resolve references
 in captions and sectioning commands. The package \pkg{ifthen} has been updated to ensure that
 \cs{pageref} can still be used inside tests like \cs{isodd}.
diff --git a/base/ltxref.dtx b/base/ltxref.dtx
index efcb26a3..19172535 100644
--- a/base/ltxref.dtx
+++ b/base/ltxref.dtx
@@ -72,7 +72,7 @@
 %   |\ref|*\marg{foo}: value of most recently incremented referenceable
 %             counter. in the current environment. (Chapter, section,
 %             theorem, footnote and enumeration counters and other counters
-%             stepped with |refstepcounter| are
+%             stepped with \cs{refstepcounter} are
 %             referenceable.)
 %
 %   |\pageref|*\marg{foo}: page number at which |\label{foo}|  command
@@ -90,7 +90,7 @@
 %  a space on either side.
 %
 %  Note: the starred versions |\ref*| and |\pageref*| are provided
-%  to align with the use of hyperref. Without \pkg{hyperref} (or some
+%  to align with the use of \pkg{hyperref}. Without \pkg{hyperref} (or some
 %  other package using the starred form) the star is simply ignored.
 %
 %
@@ -255,8 +255,8 @@
 \NewDocumentCommand\pageref{s}
    {\IfBooleanTF{#1}{\@kernel at spageref}{\@kernel at pageref}}
 %    \end{macrocode}
-% As the commands are now protected we also need expandable version for use
-% in ifthenelse:
+% As the commands are now protected we also need expandable versions for use
+% in \cs{ifthenelse}:
 %    \begin{macrocode}
 \def\@kernel at pageref@exp#1{\csname cs_if_exist:cTF\endcsname
    {r@#1}{\csname tl_item:cn\endcsname{r@#1}{2}}{0}}





More information about the latex3-commits mailing list.