diff options
author | Norbert Preining <norbert@preining.info> | 2021-02-05 03:01:00 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-02-05 03:01:00 +0000 |
commit | 6dd01829674e94f8b6b4829e703e6e0686f07a25 (patch) | |
tree | 2d7666cb4df65d2e581d1c20dc5df6b826a2ac63 /macros/latex/contrib/xsim | |
parent | c18f29fc8bbdc114e808b53b99e9244054483190 (diff) |
CTAN sync 202102050301
Diffstat (limited to 'macros/latex/contrib/xsim')
-rw-r--r-- | macros/latex/contrib/xsim/HISTORY | 2 | ||||
-rw-r--r-- | macros/latex/contrib/xsim/README | 2 | ||||
-rw-r--r-- | macros/latex/contrib/xsim/examples/xsim.crossref.pdf | bin | 38748 -> 38748 bytes | |||
-rw-r--r-- | macros/latex/contrib/xsim/xsim-manual.cls | 1 | ||||
-rw-r--r-- | macros/latex/contrib/xsim/xsim-manual.pdf | bin | 1353988 -> 1353993 bytes | |||
-rw-r--r-- | macros/latex/contrib/xsim/xsim.sty | 16 | ||||
-rw-r--r-- | macros/latex/contrib/xsim/xsim.style.layouts.code.tex | 2 |
7 files changed, 14 insertions, 9 deletions
diff --git a/macros/latex/contrib/xsim/HISTORY b/macros/latex/contrib/xsim/HISTORY index 83eaeb2efd..37068a327a 100644 --- a/macros/latex/contrib/xsim/HISTORY +++ b/macros/latex/contrib/xsim/HISTORY @@ -179,3 +179,5 @@ HISTORY: v0.20a 2021/02/01 - re-add missing `layouts' style - add example texsx-549540 v0.20b 2021/02/02 - fix issue #78 + v0.20c 2021/02/03 - fix issue #80 + - add missing test in \xsim_if_exist:nnnTF diff --git a/macros/latex/contrib/xsim/README b/macros/latex/contrib/xsim/README index 0bca910fa0..7399405eaa 100644 --- a/macros/latex/contrib/xsim/README +++ b/macros/latex/contrib/xsim/README @@ -1,5 +1,5 @@ -------------------------------------------------------------------------- -XSIM 2021/02/02 v0.20b +XSIM 2021/02/03 v0.20c XSIMVERB 2021/01/31 v0.3 eXercise Sheets IMproved diff --git a/macros/latex/contrib/xsim/examples/xsim.crossref.pdf b/macros/latex/contrib/xsim/examples/xsim.crossref.pdf Binary files differindex 19843c4185..f3e8c8a471 100644 --- a/macros/latex/contrib/xsim/examples/xsim.crossref.pdf +++ b/macros/latex/contrib/xsim/examples/xsim.crossref.pdf diff --git a/macros/latex/contrib/xsim/xsim-manual.cls b/macros/latex/contrib/xsim/xsim-manual.cls index f67e2754ae..6d09782c37 100644 --- a/macros/latex/contrib/xsim/xsim-manual.cls +++ b/macros/latex/contrib/xsim/xsim-manual.cls @@ -998,6 +998,7 @@ \xsim@add@version{0.20} {2021-01-31} \xsim@add@version{0.20a} {2021-02-01} \xsim@add@version{0.20b} {2021-02-02} +\xsim@add@version{0.20c} {2021-02-03} % ---------------------------------------------------------------------------- \newrobustcmd*\xsimauxfileinfo{% diff --git a/macros/latex/contrib/xsim/xsim-manual.pdf b/macros/latex/contrib/xsim/xsim-manual.pdf Binary files differindex 02803ce557..45529ae8d5 100644 --- a/macros/latex/contrib/xsim/xsim-manual.pdf +++ b/macros/latex/contrib/xsim/xsim-manual.pdf diff --git a/macros/latex/contrib/xsim/xsim.sty b/macros/latex/contrib/xsim/xsim.sty index 157fd3eb82..c802477528 100644 --- a/macros/latex/contrib/xsim/xsim.sty +++ b/macros/latex/contrib/xsim/xsim.sty @@ -29,10 +29,10 @@ \ExplSyntaxOn -\tl_const:Nn \c_xsim_date_tl {2021/02/02} +\tl_const:Nn \c_xsim_date_tl {2021/02/03} \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 {b} +\tl_const:Nn \c_xsim_version_subrelease_tl {c} \tl_const:Nx \c_xsim_version_number_tl { \c_xsim_version_major_number_tl . @@ -1497,7 +1497,7 @@ \xsim_verbose:n { Saving~ #3~ environment~ type~ `#1'~ id~ `#2' } \xsim_set_property:nnnn {#1} {#2} {#3-body} {#4} \xsim_if_exchange:nnnF {#1} {#2} {#3} - { \xsim_set_property:nnnn {#1} {#2} {solution-body} {#3} } + { \xsim_set_property:nnnn {#1} {#2} {solution-body} {#4} } } \cs_new:Npn \__xsim_save_environment_body_end: { } @@ -1608,7 +1608,9 @@ { \xsim_if_write_to_files:TF { - \__xsim_set_file_signature:nnn {#1} {#2} {#3} + \xsim_if_exchange:nnnTF {#1} {#2} {#3} + { \__xsim_set_file_signature:nnn {#1} {#2} {exercise} } + { \__xsim_set_file_signature:nnn {#1} {#2} {#3} } \file_if_exist:VTF \l__xsim_file_path_and_name_tl { \prg_return_true: } { \prg_return_false: } @@ -1656,8 +1658,8 @@ { \__xsim_set_file_signature:nnn {#1} {#2} {#3} } \xsim_if_write_to_files:TF { - \file_if_exist:nTF { \exp_not:V \l__xsim_file_path_and_name_tl } - { \file_input:n { \exp_not:V \l__xsim_file_path_and_name_tl } } + \file_if_exist:VTF \l__xsim_file_path_and_name_tl + { \file_input:V \l__xsim_file_path_and_name_tl } { \xsim_verbose:n { File~ `\l__xsim_file_path_and_name_tl'~ doesn't~ exist. } @@ -4816,7 +4818,7 @@ { \XSIMifblankTF {#1} {#2} {} } \NewExpandableDocumentCommand \XSIMifblankF {+m+m} - { \XSIMifblankTF {#1} {} {#2} {} } + { \XSIMifblankTF {#1} {} {#2} } % ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/xsim/xsim.style.layouts.code.tex b/macros/latex/contrib/xsim/xsim.style.layouts.code.tex index 778ad66eb0..120df82fef 100644 --- a/macros/latex/contrib/xsim/xsim.style.layouts.code.tex +++ b/macros/latex/contrib/xsim/xsim.style.layouts.code.tex @@ -8,7 +8,7 @@ % Web: https://github.com/cgnieder/xsim % E-Mail: contact@mychemistry.eu % ---------------------------------------------------------------------------- -% Copyright 2017--2020 Clemens Niederberger +% Copyright 2017--2021 Clemens Niederberger % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c |