diff options
Diffstat (limited to 'Master/texmf-dist/source/latex-dev/base/ltxref.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex-dev/base/ltxref.dtx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Master/texmf-dist/source/latex-dev/base/ltxref.dtx b/Master/texmf-dist/source/latex-dev/base/ltxref.dtx index ae7d4ef5890..c20a3245588 100644 --- a/Master/texmf-dist/source/latex-dev/base/ltxref.dtx +++ b/Master/texmf-dist/source/latex-dev/base/ltxref.dtx @@ -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} |