[latex3-commits] [git/LaTeX3-latex3-latex3] cmd: \ExplSyntaxOff earlier still (0d960e5b8)

PhelypeOleinik phelype.oleinik at latex-project.org
Sat Jan 23 21:16:30 CET 2021


Repository : https://github.com/latex3/latex3
On branch  : cmd
Link       : https://github.com/latex3/latex3/commit/0d960e5b8aba18a931fddac4703e5f14bc36f528

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

commit 0d960e5b8aba18a931fddac4703e5f14bc36f528
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Sat Jan 23 17:16:30 2021 -0300

    \ExplSyntaxOff earlier still


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

0d960e5b8aba18a931fddac4703e5f14bc36f528
 l3packages/xparse/xparse.dtx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/l3packages/xparse/xparse.dtx b/l3packages/xparse/xparse.dtx
index 591f2bcba..85c2d4b17 100644
--- a/l3packages/xparse/xparse.dtx
+++ b/l3packages/xparse/xparse.dtx
@@ -1003,11 +1003,11 @@
 \ExplSyntaxOn
 \cs_if_free:NTF \NewDocumentCommand
   {
+    \ExplSyntaxOff
     \IfFormatAtLeastTF{2020/10/01}
 %<2ekernel>      {\@@@@input xparse-generic.tex }
 %<package>      {\RequirePackage{xparse-2020-10-01}}
       {\RequirePackage{xparse-2018-04-12}}
-    \ExplSyntaxOff
     \file_input_stop:
   }
 %    \begin{macrocode}
@@ -1021,10 +1021,10 @@
 % |__cmd| prefix.
 %    \end{macrocode}
   {
+    \ExplSyntaxOff
     \cs_if_exist:NF \@@_start:nNNnnn
       {
         \RequirePackage{xparse-2020-10-01}
-        \ExplSyntaxOff
         \file_input_stop:
       }
   }





More information about the latex3-commits mailing list.