diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/spectralsequences/sseqcheckdefinitions.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/spectralsequences/sseqcheckdefinitions.code.tex | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/spectralsequences/sseqcheckdefinitions.code.tex b/Master/texmf-dist/tex/latex/spectralsequences/sseqcheckdefinitions.code.tex index b672193681f..5cd92a3bf37 100644 --- a/Master/texmf-dist/tex/latex/spectralsequences/sseqcheckdefinitions.code.tex +++ b/Master/texmf-dist/tex/latex/spectralsequences/sseqcheckdefinitions.code.tex @@ -1,8 +1,8 @@ %% -%% Package: spectralsequences v1.2.1 +%% Package: spectralsequences v1.2.2 %% Author: Hood Chatham %% Email: hood@mit.edu -%% Date: 2018-10-08 +%% Date: 2019-02-18 %% License: Latex Project Public License %% %% File: sseqcheckdefinitions.code.tex @@ -17,9 +17,11 @@ \begingroup \def\sseq@checkprotecteddef#1{\def\sseq@temp{\sseq@checkdef@{#1}}\afterassignment\sseq@temp\protected\long\@xp\def\csname sseq@check@\sseq@macroname#1\endcsname} \def\sseq@checkdef#1{\def\sseq@temp{\sseq@checkdef@{#1}}\afterassignment\sseq@temp\@xp\def\csname sseq@check@\sseq@macroname#1\endcsname} -\def\sseq@checkdef@#1{\@xp\ifx\csname sseq@check@\sseq@macroname#1\endcsname#1\else - \sseq@tempiffalse -\fi} +\def\sseq@checkdef@#1{ + \@xp\ifx\csname sseq@check@\sseq@macroname#1\endcsname#1\else + \sseq@tempiffalse + \fi +} %% %% sseqmacromakers.code.tex @@ -45,23 +47,33 @@ \sseq@checkprotecteddef \__xparse_normalize_type_u:w #1 { \quark_if_recursion_tail_stop_do:nn {#1} { \__xparse_bad_arg_spec:wn } \__xparse_normalize_check_lu:N u - \__xparse_add_arg_spec:n { u {#1} } - \int_incr:N \l__xparse_mandatory_args_int - \tl_clear:N \l__xparse_last_delimiters_tl + \__xparse_add_arg_spec_mandatory:n { u {#1} } % Oct 17, 2018 +% \int_incr:N \l__xparse_mandatory_args_int +% \tl_clear:N \l__xparse_last_delimiters_tl \__xparse_normalize_arg_spec_loop:n } \ifsseq@tempif \global\sseq@patchxparseUtrue \else - %\sseq@warning{fit-patch-failed} \global\sseq@patchxparseUfalse \fi \sseq@tempiftrue }{} -\ExplSyntaxOff +\@ifpackagelater{expl3}{2018/10/01}{ + % TODO: Check that \peek_meaning and \peek_meaning_remove have the right definitions + \sseq@tempiftrue + \sseq@checkprotecteddef\peek_meaning_ignore_spaces:NTF#1#2#3{\peek_remove_spaces:n{\peek_meaning:NTF#1{#2}{#3}}} + \sseq@checkprotecteddef\peek_meaning_remove_ignore_spaces:NTF#1#2#3{\peek_remove_spaces:n{\peek_meaning_remove:NTF#1{#2}{#3}}} + \ifsseq@tempif\else + \sseq@error@n{expl3-incompatibility}{\peek_meaning_ignore_spaces:NTF} + \fi +}{} + +\ExplSyntaxOff +\sseq@tempiftrue %% %% sseqkeys.code.tex %% |