From 34897eebd22c3de968b64f09bb4a371d96cb0b89 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 3 Feb 2020 03:02:01 +0000 Subject: CTAN sync 202002030302 --- macros/latex/base/ltmiscen.dtx | 44 +++++++++++++++++++++++++++++------------- 1 file changed, 31 insertions(+), 13 deletions(-) (limited to 'macros/latex/base/ltmiscen.dtx') diff --git a/macros/latex/base/ltmiscen.dtx b/macros/latex/base/ltmiscen.dtx index 61e44e5e91..97b1f4a572 100644 --- a/macros/latex/base/ltmiscen.dtx +++ b/macros/latex/base/ltmiscen.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. % @@ -32,7 +32,7 @@ %<*driver> % \fi \ProvidesFile{ltmiscen.dtx} - [2019/11/10 v1.1r LaTeX Kernel (Misc. Environments)] + [2019/11/02 v1.1s LaTeX Kernel (Misc. Environments)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltmiscen.dtx} @@ -345,7 +345,7 @@ % package that uses \cs{@writefile} for writing its own files) then % the command behaves exactly as before. % \end{itemize} -% +% % % \begin{macro}{\protected@file@percent} % Dummy cs to be replaced by a percent sign inside @@ -358,7 +358,7 @@ %<*2ekernel|latexrelease> %\IncludeInRelease{2018/12/01}% % {\protected@file@percent}{Mask line endings}% -\protected\def\protected@file@percent{} +\protected\def\protected@file@percent{} % \end{macrocode} % \end{macro} @@ -372,7 +372,7 @@ % writing to files (github/73)} % % \begin{macrocode} -\catcode`\^^A=9 +\catcode`\^^A=9 \long\gdef\add@percent@to@temptokena #1\protected@file@percent#2\add@percent@to@temptokena % \end{macrocode} @@ -381,12 +381,12 @@ % group the braces aren't stripped. The |\expandafter| then expands % this extra token away again. % \changes{v1.1q}{2019/10/25}{Allow unbalanced conditionals in \texttt{\#1} (gh/202)} -% \changes{v1.1r}{2019/08/27}{fix to special comment catcodes (gh/202)} +% \changes{v1.1r}{2019/11/10}{fix to special comment catcodes (gh/202)} % \begin{macrocode} {\expandafter\ifx\expandafter X\detokenize{#2}X\expandafter\dont@add@percent@to@temptokena\else \expandafter\do@add@percent@to@temptokena\fi{#1}} % \end{macrocode} -% +% % \begin{macrocode} \long\def\dont@add@percent@to@temptokena#1{% \@temptokena\expandafter{#1}} @@ -398,7 +398,7 @@ % in the definition. Therefore the |\fi| needs to be on the next % line and we need locally another comment character to avoid % getting spaces into the definition---a weird problem :-) -% +% % \begin{macrocode} \begingroup \catcode`\%=12 @@ -435,7 +435,7 @@ }% } % \end{macrocode} -% +% % \begin{macrocode} % %\EndIncludeInRelease @@ -706,9 +706,27 @@ % \begin{macro}{\@centercr} % \changes{v1.0h}{1994/05/03}{\cs{@badcrerr} replaced by \cs{@nolnerr}} % \changes{v1.0z}{1995/07/13}{Use \cs{nobreak}} +% \changes{v1.1s}{2019/11/02}{Make \cs{@centercr} robust (gh/203)} % \begin{macrocode} -\def\@centercr{\ifhmode \unskip\else \@nolnerr\fi +% +%<*2ekernel|latexrelease> +%\IncludeInRelease{2020/02/02}% +% {\@centercr}{Make robust}% +\protected\def\@centercr{\ifhmode \unskip\else \@nolnerr\fi \par\@ifstar{\nobreak\@xcentercr}\@xcentercr} +% +% \end{macrocode} +% +% \begin{macrocode} +%\EndIncludeInRelease +%\IncludeInRelease{0000/00/00}% +% {\@centercr}{Make robust}% +% +%\def\@centercr{\ifhmode \unskip\else \@nolnerr\fi +% \par\@ifstar{\nobreak\@xcentercr}\@xcentercr} +% +%\EndIncludeInRelease +%<*2ekernel> % \end{macrocode} % \end{macro} % @@ -723,7 +741,7 @@ % \begin{macrocode} \def\@icentercr[#1]{\vskip #1\ignorespaces} % \end{macrocode} -% +% % \end{macro} % % @@ -741,7 +759,7 @@ % \end{macrocode} % \end{environment} % -% +% % \begin{macrocode} % %<*2ekernel|latexrelease> @@ -987,7 +1005,7 @@ % \end{macrocode} % \end{macro} % -% +% % \begin{macrocode} % %<*2ekernel|latexrelease> -- cgit v1.2.3