diff options
author | Norbert Preining <norbert@preining.info> | 2020-02-03 03:02:01 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-02-03 03:02:01 +0000 |
commit | 34897eebd22c3de968b64f09bb4a371d96cb0b89 (patch) | |
tree | 19a50e54fca63f1f6482d6cb4c2fdee676fd97b1 /macros/latex/base/ltxref.dtx | |
parent | e05dc0bb38b16bfb9ba35591285e40af0adaadc4 (diff) |
CTAN sync 202002030302
Diffstat (limited to 'macros/latex/base/ltxref.dtx')
-rw-r--r-- | macros/latex/base/ltxref.dtx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/macros/latex/base/ltxref.dtx b/macros/latex/base/ltxref.dtx index 27d3250413..c20a324558 100644 --- a/macros/latex/base/ltxref.dtx +++ b/macros/latex/base/ltxref.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 1993-2019 +% Copyright (C) 1993-2020 % The LaTeX3 Project and any individual authors listed elsewhere % in this file. % @@ -70,7 +70,7 @@ % % |\ref|\marg{foo}: value of most recently incremented referencable % counter. in the current environment. (Chapter, section, -% theorem and enumeration counters counters are +% theorem and enumeration counters are % referencable, footnote counters are not.) % % |\pageref|\marg{foo}: page number at which |\label{foo}| command @@ -314,7 +314,7 @@ %<latexrelease>\IncludeInRelease{2019/10/01}% %<latexrelease> {\refstepcounter}{Add \labelformat and \Ref}% % \end{macrocode} -% +% % \begin{macro}{\refstepcounter} % Step the counter and allow for labels to point to its current value. % \begin{macrocode} @@ -324,14 +324,14 @@ % By generating the second csname first the |\p@...| command can % grab it as an argument which can be helpful for more complicated % typesetting arrangements. -% +% % The trick is to ensure that |\csname the#1\endcsname| is turned % into a single token before |\p@...| is expanded further. This % way, if the |\p@...| command is a macro with one argument it will % receive |\the...|. With the original kernel code (i.e., without the % |\expandafter|) it will instead pick up |\csname| which would be % disastrous. -% +% % Using |\expandafter| instead of braces delimiting the argument is % better because, assuming that the |\p@...| command is not defined % as a macro with one argument, the braces will stay and prohibit @@ -394,11 +394,11 @@ %<latexrelease>\EndIncludeInRelease %<*2ekernel> % \end{macrocode} -% -% -% -% -% +% +% +% +% +% % % % \begin{macro}{\@currentlabel} |