summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/xsim
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-01-17 03:01:22 +0000
committerNorbert Preining <norbert@preining.info>2020-01-17 03:01:22 +0000
commite71ffee2103e3f137bbc9ee526858bc277e95908 (patch)
treeac2a97b2b6e40f1cf6d3191f3e08adb12e3d401e /macros/latex/contrib/xsim
parent4c0e3e7fa86ecd3794204d362c7e17b3d9433415 (diff)
CTAN sync 202001170301
Diffstat (limited to 'macros/latex/contrib/xsim')
-rw-r--r--macros/latex/contrib/xsim/README3
-rw-r--r--macros/latex/contrib/xsim/code/xsim.auxfile.code.tex2
-rw-r--r--macros/latex/contrib/xsim/code/xsim.base.code.tex9
-rw-r--r--macros/latex/contrib/xsim/code/xsim.blanks.code.tex2
-rw-r--r--macros/latex/contrib/xsim/code/xsim.collections.code.tex2
-rw-r--r--macros/latex/contrib/xsim/code/xsim.definitions.code.tex2
-rw-r--r--macros/latex/contrib/xsim/code/xsim.environments.code.tex2
-rw-r--r--macros/latex/contrib/xsim/code/xsim.exercises.code.tex2
-rw-r--r--macros/latex/contrib/xsim/code/xsim.goals.code.tex2
-rw-r--r--macros/latex/contrib/xsim/code/xsim.grades.code.tex2
-rw-r--r--macros/latex/contrib/xsim/code/xsim.interface.code.tex2
-rw-r--r--macros/latex/contrib/xsim/code/xsim.modules.code.tex2
-rw-r--r--macros/latex/contrib/xsim/code/xsim.properties.code.tex4
-rw-r--r--macros/latex/contrib/xsim/code/xsim.random.code.tex2
-rw-r--r--macros/latex/contrib/xsim/code/xsim.solutions.code.tex2
-rw-r--r--macros/latex/contrib/xsim/code/xsim.sty13
-rw-r--r--macros/latex/contrib/xsim/code/xsim.style.layouts.code.tex2
-rw-r--r--macros/latex/contrib/xsim/code/xsim.tags.code.tex2
-rw-r--r--macros/latex/contrib/xsim/code/xsim.templates.code.tex2
-rw-r--r--macros/latex/contrib/xsim/code/xsim.translations.code.tex2
-rw-r--r--macros/latex/contrib/xsim/code/xsim.verbwrite.code.tex2
-rw-r--r--macros/latex/contrib/xsim/code/xsimverb.sty52
-rw-r--r--macros/latex/contrib/xsim/doc/xsim-manual.cls17
-rw-r--r--macros/latex/contrib/xsim/doc/xsim.history6
-rw-r--r--macros/latex/contrib/xsim/doc/xsim.ideas2
-rw-r--r--macros/latex/contrib/xsim/doc/xsim_manual.pdfbin1232911 -> 1231162 bytes
-rw-r--r--macros/latex/contrib/xsim/doc/xsim_manual.tex13
27 files changed, 86 insertions, 67 deletions
diff --git a/macros/latex/contrib/xsim/README b/macros/latex/contrib/xsim/README
index 0aa35c006f..c96de8d2a3 100644
--- a/macros/latex/contrib/xsim/README
+++ b/macros/latex/contrib/xsim/README
@@ -1,5 +1,6 @@
--------------------------------------------------------------------------
-XSIM 2019/11/10 v0.16
+XSIM 2020/01/16 v0.16a
+XSIMVERB 2019/12/29 v0.1a
eXercise Sheets IMproved
diff --git a/macros/latex/contrib/xsim/code/xsim.auxfile.code.tex b/macros/latex/contrib/xsim/code/xsim.auxfile.code.tex
index d308a9ccc3..69e5a9a618 100644
--- a/macros/latex/contrib/xsim/code/xsim.auxfile.code.tex
+++ b/macros/latex/contrib/xsim/code/xsim.auxfile.code.tex
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/xsim
% E-Mail: contact@mychemistry.eu
% ----------------------------------------------------------------------------
-% Copyright 2017--2019 Clemens Niederberger
+% 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
diff --git a/macros/latex/contrib/xsim/code/xsim.base.code.tex b/macros/latex/contrib/xsim/code/xsim.base.code.tex
index b1fa20bff7..3eb336e3a3 100644
--- a/macros/latex/contrib/xsim/code/xsim.base.code.tex
+++ b/macros/latex/contrib/xsim/code/xsim.base.code.tex
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/xsim
% E-Mail: contact@mychemistry.eu
% ----------------------------------------------------------------------------
-% Copyright 2017--2019 Clemens Niederberger
+% 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
@@ -143,6 +143,13 @@
{ \prg_return_false: }
}
+\prg_new_conditional:Npnn \xsim_if_write_to_files: {p,T,F,TF}
+ {
+ \bool_if:NTF \g__xsim_write_to_file_bool
+ { \prg_return_true: }
+ { \prg_return_false: }
+ }
+
\prg_new_conditional:Npnn \xsim_if_clear_aux: {p,T,F,TF}
{
\xsim_if_final:TF
diff --git a/macros/latex/contrib/xsim/code/xsim.blanks.code.tex b/macros/latex/contrib/xsim/code/xsim.blanks.code.tex
index 18af3f404d..70c4440537 100644
--- a/macros/latex/contrib/xsim/code/xsim.blanks.code.tex
+++ b/macros/latex/contrib/xsim/code/xsim.blanks.code.tex
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/xsim
% E-Mail: contact@mychemistry.eu
% ----------------------------------------------------------------------------
-% Copyright 2017--2019 Clemens Niederberger
+% 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
diff --git a/macros/latex/contrib/xsim/code/xsim.collections.code.tex b/macros/latex/contrib/xsim/code/xsim.collections.code.tex
index 3097981b74..eba9940e23 100644
--- a/macros/latex/contrib/xsim/code/xsim.collections.code.tex
+++ b/macros/latex/contrib/xsim/code/xsim.collections.code.tex
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/xsim
% E-Mail: contact@mychemistry.eu
% ----------------------------------------------------------------------------
-% Copyright 2017--2019 Clemens Niederberger
+% 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
diff --git a/macros/latex/contrib/xsim/code/xsim.definitions.code.tex b/macros/latex/contrib/xsim/code/xsim.definitions.code.tex
index 2a7add33de..c6fa9bd011 100644
--- a/macros/latex/contrib/xsim/code/xsim.definitions.code.tex
+++ b/macros/latex/contrib/xsim/code/xsim.definitions.code.tex
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/xsim
% E-Mail: contact@mychemistry.eu
% ----------------------------------------------------------------------------
-% Copyright 2017--2019 Clemens Niederberger
+% 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
diff --git a/macros/latex/contrib/xsim/code/xsim.environments.code.tex b/macros/latex/contrib/xsim/code/xsim.environments.code.tex
index 2f9c870b71..9c0c30111a 100644
--- a/macros/latex/contrib/xsim/code/xsim.environments.code.tex
+++ b/macros/latex/contrib/xsim/code/xsim.environments.code.tex
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/xsim
% E-Mail: contact@mychemistry.eu
% ----------------------------------------------------------------------------
-% Copyright 2017--2019 Clemens Niederberger
+% 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
diff --git a/macros/latex/contrib/xsim/code/xsim.exercises.code.tex b/macros/latex/contrib/xsim/code/xsim.exercises.code.tex
index f9cb706410..6f1503dbc4 100644
--- a/macros/latex/contrib/xsim/code/xsim.exercises.code.tex
+++ b/macros/latex/contrib/xsim/code/xsim.exercises.code.tex
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/xsim
% E-Mail: contact@mychemistry.eu
% ----------------------------------------------------------------------------
-% Copyright 2017--2019 Clemens Niederberger
+% 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
diff --git a/macros/latex/contrib/xsim/code/xsim.goals.code.tex b/macros/latex/contrib/xsim/code/xsim.goals.code.tex
index 6e482737b5..cf7975c4bd 100644
--- a/macros/latex/contrib/xsim/code/xsim.goals.code.tex
+++ b/macros/latex/contrib/xsim/code/xsim.goals.code.tex
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/xsim
% E-Mail: contact@mychemistry.eu
% ----------------------------------------------------------------------------
-% Copyright 2017--2019 Clemens Niederberger
+% 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
diff --git a/macros/latex/contrib/xsim/code/xsim.grades.code.tex b/macros/latex/contrib/xsim/code/xsim.grades.code.tex
index bfcecf92b2..678011c610 100644
--- a/macros/latex/contrib/xsim/code/xsim.grades.code.tex
+++ b/macros/latex/contrib/xsim/code/xsim.grades.code.tex
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/xsim
% E-Mail: contact@mychemistry.eu
% ----------------------------------------------------------------------------
-% Copyright 2017--2019 Clemens Niederberger
+% 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
diff --git a/macros/latex/contrib/xsim/code/xsim.interface.code.tex b/macros/latex/contrib/xsim/code/xsim.interface.code.tex
index ba409d9758..0eb8535e3f 100644
--- a/macros/latex/contrib/xsim/code/xsim.interface.code.tex
+++ b/macros/latex/contrib/xsim/code/xsim.interface.code.tex
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/xsim
% E-Mail: contact@mychemistry.eu
% ----------------------------------------------------------------------------
-% Copyright 2017--2019 Clemens Niederberger
+% 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
diff --git a/macros/latex/contrib/xsim/code/xsim.modules.code.tex b/macros/latex/contrib/xsim/code/xsim.modules.code.tex
index 3b874dbad0..bc82dcbafc 100644
--- a/macros/latex/contrib/xsim/code/xsim.modules.code.tex
+++ b/macros/latex/contrib/xsim/code/xsim.modules.code.tex
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/xsim
% E-Mail: contact@mychemistry.eu
% ----------------------------------------------------------------------------
-% Copyright 2017--2019 Clemens Niederberger
+% 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
diff --git a/macros/latex/contrib/xsim/code/xsim.properties.code.tex b/macros/latex/contrib/xsim/code/xsim.properties.code.tex
index 5dd0d1baee..add2431018 100644
--- a/macros/latex/contrib/xsim/code/xsim.properties.code.tex
+++ b/macros/latex/contrib/xsim/code/xsim.properties.code.tex
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/xsim
% E-Mail: contact@mychemistry.eu
% ----------------------------------------------------------------------------
-% Copyright 2017--2019 Clemens Niederberger
+% 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
@@ -182,7 +182,7 @@
\cs_new_protected:Npn \__xsim_set_boolean_property:nnnn #1#2#3#4
{
- \str_case_e:nnTF { \str_lower_case:n {#4} }
+ \str_case_e:nnTF { \str_lowercase:n {#4} }
{
{} {}
{true} {}
diff --git a/macros/latex/contrib/xsim/code/xsim.random.code.tex b/macros/latex/contrib/xsim/code/xsim.random.code.tex
index 7a0eeb297d..2444ef1745 100644
--- a/macros/latex/contrib/xsim/code/xsim.random.code.tex
+++ b/macros/latex/contrib/xsim/code/xsim.random.code.tex
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/xsim
% E-Mail: contact@mychemistry.eu
% ----------------------------------------------------------------------------
-% Copyright 2017--2019 Clemens Niederberger
+% 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
diff --git a/macros/latex/contrib/xsim/code/xsim.solutions.code.tex b/macros/latex/contrib/xsim/code/xsim.solutions.code.tex
index edb954e838..eddeaa911f 100644
--- a/macros/latex/contrib/xsim/code/xsim.solutions.code.tex
+++ b/macros/latex/contrib/xsim/code/xsim.solutions.code.tex
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/xsim
% E-Mail: contact@mychemistry.eu
% ----------------------------------------------------------------------------
-% Copyright 2017--2019 Clemens Niederberger
+% 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
diff --git a/macros/latex/contrib/xsim/code/xsim.sty b/macros/latex/contrib/xsim/code/xsim.sty
index f5efe12408..a6a5538c67 100644
--- a/macros/latex/contrib/xsim/code/xsim.sty
+++ b/macros/latex/contrib/xsim/code/xsim.sty
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/xsim
% E-Mail: contact@mychemistry.eu
% ----------------------------------------------------------------------------
-% Copyright 2017--2019 Clemens Niederberger
+% 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
@@ -29,9 +29,9 @@
\ExplSyntaxOn
-\tl_const:Nn \c_xsim_date_tl {2019/11/10}
+\tl_const:Nn \c_xsim_date_tl {2020/01/16}
\tl_const:Nn \c_xsim_version_major_number_tl {0}
-\tl_const:Nn \c_xsim_version_minor_number_tl {16}
+\tl_const:Nn \c_xsim_version_minor_number_tl {16a}
\tl_const:Nn \c_xsim_version_subrelease_tl {}
\tl_const:Nx \c_xsim_version_number_tl
{
@@ -75,13 +75,6 @@
\ProcessKeysPackageOptions {xsim/package}
-\prg_new_conditional:Npnn \xsim_if_write_to_files: {p,T,F,TF}
- {
- \bool_if:NTF \g__xsim_write_to_file_bool
- { \prg_return_true: }
- { \prg_return_false: }
- }
-
% --------------------------------------------------------------------------
% messages:
diff --git a/macros/latex/contrib/xsim/code/xsim.style.layouts.code.tex b/macros/latex/contrib/xsim/code/xsim.style.layouts.code.tex
index 756a61e838..11ab475b2a 100644
--- a/macros/latex/contrib/xsim/code/xsim.style.layouts.code.tex
+++ b/macros/latex/contrib/xsim/code/xsim.style.layouts.code.tex
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/xsim
% E-Mail: contact@mychemistry.eu
% ----------------------------------------------------------------------------
-% Copyright 2017--2019 Clemens Niederberger
+% 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
diff --git a/macros/latex/contrib/xsim/code/xsim.tags.code.tex b/macros/latex/contrib/xsim/code/xsim.tags.code.tex
index e63174a0cc..f97c1af889 100644
--- a/macros/latex/contrib/xsim/code/xsim.tags.code.tex
+++ b/macros/latex/contrib/xsim/code/xsim.tags.code.tex
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/xsim
% E-Mail: contact@mychemistry.eu
% ----------------------------------------------------------------------------
-% Copyright 2017--2019 Clemens Niederberger
+% 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
diff --git a/macros/latex/contrib/xsim/code/xsim.templates.code.tex b/macros/latex/contrib/xsim/code/xsim.templates.code.tex
index c5c08b8d9b..7644074be7 100644
--- a/macros/latex/contrib/xsim/code/xsim.templates.code.tex
+++ b/macros/latex/contrib/xsim/code/xsim.templates.code.tex
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/xsim
% E-Mail: contact@mychemistry.eu
% ----------------------------------------------------------------------------
-% Copyright 2017--2019 Clemens Niederberger
+% 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
diff --git a/macros/latex/contrib/xsim/code/xsim.translations.code.tex b/macros/latex/contrib/xsim/code/xsim.translations.code.tex
index f818c8d5ff..b9f0712b4b 100644
--- a/macros/latex/contrib/xsim/code/xsim.translations.code.tex
+++ b/macros/latex/contrib/xsim/code/xsim.translations.code.tex
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/xsim
% E-Mail: contact@mychemistry.eu
% ----------------------------------------------------------------------------
-% Copyright 2017--2019 Clemens Niederberger
+% 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
diff --git a/macros/latex/contrib/xsim/code/xsim.verbwrite.code.tex b/macros/latex/contrib/xsim/code/xsim.verbwrite.code.tex
index bc9b2ce096..5d87f7c750 100644
--- a/macros/latex/contrib/xsim/code/xsim.verbwrite.code.tex
+++ b/macros/latex/contrib/xsim/code/xsim.verbwrite.code.tex
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/xsim
% E-Mail: contact@mychemistry.eu
% ----------------------------------------------------------------------------
-% Copyright 2017--2019 Clemens Niederberger
+% 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
diff --git a/macros/latex/contrib/xsim/code/xsimverb.sty b/macros/latex/contrib/xsim/code/xsimverb.sty
index 4046415277..a7cbd0706b 100644
--- a/macros/latex/contrib/xsim/code/xsimverb.sty
+++ b/macros/latex/contrib/xsim/code/xsimverb.sty
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/xsim
% E-Mail: contact@mychemistry.eu
% ----------------------------------------------------------------------------
-% Copyright 2017--2019 Clemens Niederberger
+% 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
@@ -26,14 +26,13 @@
% feel free to contact me.
% ----------------------------------------------------------------------------
-\@ifpackageloaded{xsim}{\endinput}{}
-\RequirePackage {expl3,xparse}
+\RequirePackage {expl3}
\ExplSyntaxOn
-\tl_const:Nn \c_xsimverb_date_tl {2017/03/19}
+\tl_const:Nn \c_xsimverb_date_tl {2019/12/29}
\tl_const:Nn \c_xsimverb_version_major_number_tl {0}
\tl_const:Nn \c_xsimverb_version_minor_number_tl {1}
-\tl_const:Nn \c_xsimverb_version_subrelease_tl {}
+\tl_const:Nn \c_xsimverb_version_subrelease_tl {a}
\tl_const:Nx \c_xsimverb_version_number_tl
{
\c_xsimverb_version_major_number_tl .
@@ -44,7 +43,7 @@
\c_xsimverb_version_number_tl
\c_xsimverb_version_subrelease_tl
}
-\tl_const:Nn \c_xsimverb_info_tl {write environments verbatim to files}
+\tl_const:Nn \c_xsimverb_info_tl {write~ environments~ verbatim~ to~ files}
\ProvidesExplPackage
{xsimverb}
@@ -52,29 +51,33 @@
{\c_xsimverb_version_tl}
{\c_xsimverb_info_tl}
-% options, information
+\@ifpackageloaded {xsim} { \file_input_stop: } {}
+\RequirePackage {xparse,l3keys2e}
-\bool_new:N \g_xsim_final_bool
-\bool_new:N \g_xsim_verbose_bool
-\bool_new:N \g_xsim_clear_aux_bool
+% options, information
-\keys_define:nn {xsim}
+\cs_new_protected:Npn \xsimverb_bool_provide:N #1
+ { \bool_if_exist:NF #1 { \bool_new:N #1 } }
+
+\xsimverb_bool_provide:N \g_xsim_final_bool
+\xsimverb_bool_provide:N \g_xsim_verbose_bool
+\xsimverb_bool_provide:N \g_xsim_clear_aux_bool
+\xsimverb_bool_provide:N \g__xsim_write_to_file_bool
+\xsimverb_bool_provide:N \g_xsim_use_aux_bool
+\xsimverb_bool_provide:N \g__xsim_rerun_bool
+
+\keys_define:nn {xsimverb}
{
- final .bool_gset:N = \g_xsim_final_bool ,
- verbose .bool_gset:N = \g_xsim_verbose_bool ,
- clear-aux .bool_gset:N = \g_xsim_clear_aux_bool
+ final .bool_gset:N = \g_xsim_final_bool ,
+ verbose .bool_gset:N = \g_xsim_verbose_bool ,
+ clear-aux .bool_gset:N = \g_xsim_clear_aux_bool ,
+ no-files .bool_gset_inverse:N = \g__xsim_write_to_file_bool ,
+ no-files .initial:n = false ,
+ use-aux .bool_gset:N = \g_xsim_use_aux_bool ,
+ use-aux .initial:n = false
}
-\DeclareOption {final}
- { \bool_gset_true:N \g_xsim_final_bool }
-
-\DeclareOption {verbose}
- { \bool_gset_true:N \g_xsim_verbose_bool }
-
-\DeclareOption {clear-aux}
- { \bool_gset_true:N \g_xsim_clear_aux_bool }
-
-\ProcessOptions \scan_stop:
+\ProcessKeysPackageOptions {xsimverb}
% --------------------------------------------------------------------------
@@ -91,3 +94,4 @@
2018/01/31 - define xsim's options as dummy options to prevent possible errors
caused by undefined booleans
+2019/12/29 - adapt to update of xsim
diff --git a/macros/latex/contrib/xsim/doc/xsim-manual.cls b/macros/latex/contrib/xsim/doc/xsim-manual.cls
index 3667dd11c6..6e1359c0b1 100644
--- a/macros/latex/contrib/xsim/doc/xsim-manual.cls
+++ b/macros/latex/contrib/xsim/doc/xsim-manual.cls
@@ -8,7 +8,7 @@
% Web: https://github.com/cgnieder/xsim
% E-Mail: contact@mychemistry.eu
% ----------------------------------------------------------------------------
-% Copyright 2017--2019 Clemens Niederberger
+% 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
@@ -29,12 +29,12 @@
% please ignore the contents of this file -- it is not a good example for
% coding...
%
-\ProvidesClass{xsim-manual}[2019/11/10]
+\ProvidesClass{xsim-manual}[2019/12/29]
\LoadClass[load-preamble,add-index]{cnltx-doc}
\RequirePackage{imakeidx}
\RequirePackage[utf8]{inputenc}
-\RequirePackage{xsim}
+\RequirePackage{xsim,xsimverb}
\RequirePackage{geometry}
\geometry{
@@ -259,6 +259,17 @@
\newnote*\sincechanged[2]{\GetTranslation{cnltx-introduced}~#1
(\csuse{xsimversion#1}), changed with version~#2 (\csuse{xsimversion#2})}
+\RequirePackage{xsimverb}
+\ExplSyntaxOn
+\tl_replace_all:Nnn \c_xsimverb_date_tl {/} {-}
+\ExplSyntaxOff
+
+\newnote*\xsimverbversion{%
+ \pkg{xsimverb} version~\csname c_xsimverb_version_tl\endcsname\
+ (\expandafter\expandafter\expandafter\DTMdate
+ \expandafter\expandafter\expandafter{\csname c_xsimverb_date_tl\endcsname})%
+}
+
\renewcommand*\versionnoteformat{\scriptsize\sffamily\RaggedRight}
\renewcommand*\cnltx@module@text[2]{%
diff --git a/macros/latex/contrib/xsim/doc/xsim.history b/macros/latex/contrib/xsim/doc/xsim.history
index c3214cf573..b2bf16e4c0 100644
--- a/macros/latex/contrib/xsim/doc/xsim.history
+++ b/macros/latex/contrib/xsim/doc/xsim.history
@@ -7,7 +7,7 @@ Clemens Niederberger
Web: https://github.com/cgnieder/xsim
E-Mail: contact@mychemistry.eu
--------------------------------------------------------------------------
-Copyright 2017--2019 Clemens Niederberger
+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
@@ -133,4 +133,6 @@ HISTORY:
`use-aux'
v0.16 2019/11/10 - fix issue due to usage of own auxiliary file
- \XSIMatbegindocument and \XSIMatenddocument
- - \xprintexercise, \xprintsolution, \xsimprint, \xsimxprint
+ - \xprintexercise, \xprintsolution, \xsimprint, \xsimxprint
+ 2019/12/29 - bugfix in `xsimverb'
+ v0.16a 2020/01/16 - adapt to renaming of string case changing functions
diff --git a/macros/latex/contrib/xsim/doc/xsim.ideas b/macros/latex/contrib/xsim/doc/xsim.ideas
index cdc4b7d2ba..0882c70535 100644
--- a/macros/latex/contrib/xsim/doc/xsim.ideas
+++ b/macros/latex/contrib/xsim/doc/xsim.ideas
@@ -7,7 +7,7 @@ Clemens Niederberger
Web: https://github.com/cgnieder/xsim
E-Mail: contact@mychemistry.eu
--------------------------------------------------------------------------
-Copyright 2017--2019 Clemens Niederberger
+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
diff --git a/macros/latex/contrib/xsim/doc/xsim_manual.pdf b/macros/latex/contrib/xsim/doc/xsim_manual.pdf
index 72711292c5..9c3f546204 100644
--- a/macros/latex/contrib/xsim/doc/xsim_manual.pdf
+++ b/macros/latex/contrib/xsim/doc/xsim_manual.pdf
Binary files differ
diff --git a/macros/latex/contrib/xsim/doc/xsim_manual.tex b/macros/latex/contrib/xsim/doc/xsim_manual.tex
index 5156221b0e..46706662a1 100644
--- a/macros/latex/contrib/xsim/doc/xsim_manual.tex
+++ b/macros/latex/contrib/xsim/doc/xsim_manual.tex
@@ -13,7 +13,7 @@
% Web: https://github.com/cgnieder/xsim
% E-Mail: contact@mychemistry.eu
% ----------------------------------------------------------------------------
-% Copyright 2017--2019 Clemens Niederberger
+% 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
@@ -2274,10 +2274,11 @@ For this manual we then get the following list\footnote{Taking care of the
}
\section{The \pkg*{xsimverb} package}\label{sec:xsimverb-package}
-\xsim\ comes bundled with another package called \pkg{xsimverb}. This package
-loads a very small subset of \xsim\ which allows to create environments which
-write their contents verbatim to external files. It provides the following
-commands (which of course are also available in \xsim, too):
+\xsim\ comes bundled with another package called
+\pkg{xsimverb}\xsimverbversion. This package loads a very small subset of
+\xsim\ which allows to create environments that write their contents verbatim
+to external files. It provides the following commands (which of course are
+also available in \xsim, too):
\begin{commands}
\command{XSIMfilewritestart}[\sarg\marg{file name}]
@@ -2309,7 +2310,7 @@ commands (which of course are also available in \xsim, too):
value is~$0$.
\end{commands}
-An example of how to use those commands:
+The following code shows an example of how to use those commands:
\begin{sourcecode}
\documentclass{article}
\usepackage{xsimverb,listings}