[latex3-commits] [git/LaTeX3-latex3-latex2e] gh479: Define \if at forced@series correctly when rolling forward (ac42284f)

PhelypeOleinik phelype.oleinik at latex-project.org
Tue Mar 23 12:35:35 CET 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh479
Link       : https://github.com/latex3/latex2e/commit/ac42284f38745c72dd473e58ac482356815982bc

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

commit ac42284f38745c72dd473e58ac482356815982bc
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Tue Mar 23 08:35:35 2021 -0300

    Define \if at forced@series correctly when rolling forward


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

ac42284f38745c72dd473e58ac482356815982bc
 base/ltfssaxes.dtx | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/base/ltfssaxes.dtx b/base/ltfssaxes.dtx
index e0c07874..1d3b149d 100644
--- a/base/ltfssaxes.dtx
+++ b/base/ltfssaxes.dtx
@@ -772,11 +772,10 @@
 %<latexrelease>
 %    \end{macrocode}
 %    For a roll forward we may have to define \cs{if at forced@series}
-%    but this needs doing in a somewhat roundabout way.
+%    but this needs doing in a way that \TeX{} doesn't see it when
+%    skipping over conditionals.
 %    \begin{macrocode}
-%<latexrelease>\ifx\@forced at seriestrue\@undefined \else
-%<latexrelease>  \expandafter\newif\csname if at forced@series\endcsname
-%<latexrelease>\fi
+%<latexrelease>\expandafter\newif\csname if at forced@series\endcsname
 %<latexrelease>
 %<latexrelease>\EndIncludeInRelease
 %    \end{macrocode}





More information about the latex3-commits mailing list.