diff options
author | Karl Berry <karl@freefriends.org> | 2021-02-03 23:14:41 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-02-03 23:14:41 +0000 |
commit | fbc120cd33d8943ebc958077683e2bc0fed7658e (patch) | |
tree | e36e2d975f08b8f5b0da301d4b1bd35d5f5a4a26 /Master/texmf-dist/tex | |
parent | e8aca6c126d52eaf34d6683e9e5f7240b05caf91 (diff) |
xsim (4feb21)
git-svn-id: svn://tug.org/texlive/trunk@57610 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/xsim/xsim-manual.cls | 1 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/xsim/xsim.sty | 21 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/xsim/xsim.style.layouts.code.tex | 8 |
3 files changed, 16 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/xsim/xsim-manual.cls b/Master/texmf-dist/tex/latex/xsim/xsim-manual.cls index 600a7f60eb9..f67e2754aea 100644 --- a/Master/texmf-dist/tex/latex/xsim/xsim-manual.cls +++ b/Master/texmf-dist/tex/latex/xsim/xsim-manual.cls @@ -997,6 +997,7 @@ \xsim@add@version{0.19b} {2020-04-04} \xsim@add@version{0.20} {2021-01-31} \xsim@add@version{0.20a} {2021-02-01} +\xsim@add@version{0.20b} {2021-02-02} % ---------------------------------------------------------------------------- \newrobustcmd*\xsimauxfileinfo{% diff --git a/Master/texmf-dist/tex/latex/xsim/xsim.sty b/Master/texmf-dist/tex/latex/xsim/xsim.sty index e1953059a7b..157fd3eb82f 100644 --- a/Master/texmf-dist/tex/latex/xsim/xsim.sty +++ b/Master/texmf-dist/tex/latex/xsim/xsim.sty @@ -29,10 +29,10 @@ \ExplSyntaxOn -\tl_const:Nn \c_xsim_date_tl {2021/02/01} +\tl_const:Nn \c_xsim_date_tl {2021/02/02} \tl_const:Nn \c_xsim_version_major_number_tl {0} \tl_const:Nn \c_xsim_version_minor_number_tl {20} -\tl_const:Nn \c_xsim_version_subrelease_tl {a} +\tl_const:Nn \c_xsim_version_subrelease_tl {b} \tl_const:Nx \c_xsim_version_number_tl { \c_xsim_version_major_number_tl . @@ -2485,6 +2485,7 @@ { \prg_return_true: } { \prg_return_false: } } +\prg_generate_conditional_variant:Nnn \xsim_if_parameter_set:nn {o} {T,F,TF} % ---------------------------------------------------------------------------- @@ -4625,13 +4626,13 @@ \NewExpandableDocumentCommand \IfExercisePropertyExistF {+m+m} { \IfExercisePropertyExistTF {#1} {} {#2} } -\NewDocumentCommand \IfExercisePropertySetTF {m+m+m} +\NewExpandableDocumentCommand \IfExercisePropertySetTF {m+m+m} { \xsim_if_property_set:eenTF {\ExerciseType} {\ExerciseID} {#1} {#2} {#3} } -\NewDocumentCommand \IfExercisePropertySetT {m+m} +\NewExpandableDocumentCommand \IfExercisePropertySetT {m+m} { \IfExercisePropertySetTF {#1} {#2} {} } -\NewDocumentCommand \IfExercisePropertySetF {m+m} +\NewExpandableDocumentCommand \IfExercisePropertySetF {m+m} { \IfExercisePropertySetTF {#1} {} {#2} } \NewExpandableDocumentCommand \GetExerciseProperty {m} @@ -4733,22 +4734,22 @@ { \xsim_input:oon { \ExerciseType } { \ExerciseID } {#1} } \NewExpandableDocumentCommand \IfExerciseParameterSetTF {+m+m+m} - { \xsim_if_parameter_set:nnTF {\ExerciseType} {#1} {#2} {#3} } + { \xsim_if_parameter_set:onTF {\ExerciseType} {#1} {#2} {#3} } \NewExpandableDocumentCommand \IfExerciseParameterSetT {+m+m} - { \IfExerciseParameterSetTF {#1} {#2} {} } + { \xsim_if_parameter_set:onT {\ExerciseType} {#1} {#2} } \NewExpandableDocumentCommand \IfExerciseParameterSetF {+m+m} - { \IfExerciseParameterSetTF {#1} {} {#2} } + { \xsim_if_parameter_set:onF {\ExerciseType} {#1} {#2} } \NewExpandableDocumentCommand \ExerciseParameterIfSetTF {+m+m+m+m} { \xsim_if_parameter_set:nnTF {#1} {#2} {#3} {#4} } \NewExpandableDocumentCommand \ExerciseParameterIfSetT {+m+m+m} - { \ExerciseParameterIfSetTF {#1} {#2} {#3} {} } + { \xsim_if_parameter_set:nnT {#1} {#2} {#3} } \NewExpandableDocumentCommand \ExerciseParameterIfSetF {+m+m+m} - { \ExerciseParameterIfSetTF {#1} {#2} {} {#3} } + { \xsim_if_parameter_set:nnF {#1} {#2} {#3} } \NewDocumentCommand \GetExerciseParameterTF {m+m+m} { \xsim_get_parameter_if_set:onTF {\ExerciseType} {#1} {#2} {#3} } diff --git a/Master/texmf-dist/tex/latex/xsim/xsim.style.layouts.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.style.layouts.code.tex index 31f5810bce5..778ad66eb0a 100644 --- a/Master/texmf-dist/tex/latex/xsim/xsim.style.layouts.code.tex +++ b/Master/texmf-dist/tex/latex/xsim/xsim.style.layouts.code.tex @@ -11,12 +11,12 @@ % Copyright 2017--2020 Clemens Niederberger % % This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 +% conditions of the LaTeX Project Public License, either version 1.3c % of this license or (at your option) any later version. % The latest version of this license is in % http://www.latex-project.org/lppl.txt -% and version 1.3 or later is part of all distributions of LaTeX -% version 2005/12/01 or later. +% and version 1.3c or later is part of all distributions of LaTeX +% version 2008/05/04 or later. % % This work has the LPPL maintenance status `maintained'. % @@ -25,7 +25,7 @@ % If you have any ideas, questions, suggestions or bugs to report, please % feel free to contact me. % ---------------------------------------------------------------------------- -\xsimstyle{layouts}[2019/10/12] +\xsimstyle{layouts}[2021/02/02] \RequirePackage{needspace} |