summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-01-17 22:23:07 +0000
committerKarl Berry <karl@freefriends.org>2020-01-17 22:23:07 +0000
commitd617d6d33cf75f9a3df502b0d4b527ed53ddee5a (patch)
treef2862979796c0ac572ba472dc1e1b5a3a1a51c29 /Master
parentb4dc5fd6bb9831aecf7bacb238ec64e7d2dc30f4 (diff)
xsim (17jan20)
git-svn-id: svn://tug.org/texlive/trunk@53443 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/xsim/README3
-rw-r--r--Master/texmf-dist/doc/latex/xsim/xsim.history6
-rw-r--r--Master/texmf-dist/doc/latex/xsim/xsim.ideas2
-rw-r--r--Master/texmf-dist/doc/latex/xsim/xsim_manual.pdfbin1232911 -> 1231162 bytes
-rw-r--r--Master/texmf-dist/doc/latex/xsim/xsim_manual.tex13
-rw-r--r--Master/texmf-dist/tex/latex/xsim/xsim-manual.cls17
-rw-r--r--Master/texmf-dist/tex/latex/xsim/xsim.auxfile.code.tex2
-rw-r--r--Master/texmf-dist/tex/latex/xsim/xsim.base.code.tex9
-rw-r--r--Master/texmf-dist/tex/latex/xsim/xsim.blanks.code.tex2
-rw-r--r--Master/texmf-dist/tex/latex/xsim/xsim.collections.code.tex2
-rw-r--r--Master/texmf-dist/tex/latex/xsim/xsim.definitions.code.tex2
-rw-r--r--Master/texmf-dist/tex/latex/xsim/xsim.environments.code.tex2
-rw-r--r--Master/texmf-dist/tex/latex/xsim/xsim.exercises.code.tex2
-rw-r--r--Master/texmf-dist/tex/latex/xsim/xsim.goals.code.tex2
-rw-r--r--Master/texmf-dist/tex/latex/xsim/xsim.grades.code.tex2
-rw-r--r--Master/texmf-dist/tex/latex/xsim/xsim.interface.code.tex2
-rw-r--r--Master/texmf-dist/tex/latex/xsim/xsim.modules.code.tex2
-rw-r--r--Master/texmf-dist/tex/latex/xsim/xsim.properties.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/xsim/xsim.random.code.tex2
-rw-r--r--Master/texmf-dist/tex/latex/xsim/xsim.solutions.code.tex2
-rw-r--r--Master/texmf-dist/tex/latex/xsim/xsim.sty13
-rw-r--r--Master/texmf-dist/tex/latex/xsim/xsim.style.layouts.code.tex2
-rw-r--r--Master/texmf-dist/tex/latex/xsim/xsim.tags.code.tex2
-rw-r--r--Master/texmf-dist/tex/latex/xsim/xsim.templates.code.tex2
-rw-r--r--Master/texmf-dist/tex/latex/xsim/xsim.translations.code.tex2
-rw-r--r--Master/texmf-dist/tex/latex/xsim/xsim.verbwrite.code.tex2
-rw-r--r--Master/texmf-dist/tex/latex/xsim/xsimverb.sty52
27 files changed, 86 insertions, 67 deletions
diff --git a/Master/texmf-dist/doc/latex/xsim/README b/Master/texmf-dist/doc/latex/xsim/README
index 0aa35c006f7..c96de8d2a35 100644
--- a/Master/texmf-dist/doc/latex/xsim/README
+++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/xsim/xsim.history b/Master/texmf-dist/doc/latex/xsim/xsim.history
index c3214cf5735..b2bf16e4c04 100644
--- a/Master/texmf-dist/doc/latex/xsim/xsim.history
+++ b/Master/texmf-dist/doc/latex/xsim/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/Master/texmf-dist/doc/latex/xsim/xsim.ideas b/Master/texmf-dist/doc/latex/xsim/xsim.ideas
index cdc4b7d2ba4..0882c705350 100644
--- a/Master/texmf-dist/doc/latex/xsim/xsim.ideas
+++ b/Master/texmf-dist/doc/latex/xsim/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/Master/texmf-dist/doc/latex/xsim/xsim_manual.pdf b/Master/texmf-dist/doc/latex/xsim/xsim_manual.pdf
index 72711292c54..9c3f5462048 100644
--- a/Master/texmf-dist/doc/latex/xsim/xsim_manual.pdf
+++ b/Master/texmf-dist/doc/latex/xsim/xsim_manual.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/xsim/xsim_manual.tex b/Master/texmf-dist/doc/latex/xsim/xsim_manual.tex
index 5156221b0e6..46706662a11 100644
--- a/Master/texmf-dist/doc/latex/xsim/xsim_manual.tex
+++ b/Master/texmf-dist/doc/latex/xsim/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}
diff --git a/Master/texmf-dist/tex/latex/xsim/xsim-manual.cls b/Master/texmf-dist/tex/latex/xsim/xsim-manual.cls
index 3667dd11c62..6e1359c0b14 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsim-manual.cls
+++ b/Master/texmf-dist/tex/latex/xsim/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/Master/texmf-dist/tex/latex/xsim/xsim.auxfile.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.auxfile.code.tex
index d308a9ccc31..69e5a9a6183 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsim.auxfile.code.tex
+++ b/Master/texmf-dist/tex/latex/xsim/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/Master/texmf-dist/tex/latex/xsim/xsim.base.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.base.code.tex
index b1fa20bff73..3eb336e3a3f 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsim.base.code.tex
+++ b/Master/texmf-dist/tex/latex/xsim/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/Master/texmf-dist/tex/latex/xsim/xsim.blanks.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.blanks.code.tex
index 18af3f404de..70c4440537f 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsim.blanks.code.tex
+++ b/Master/texmf-dist/tex/latex/xsim/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/Master/texmf-dist/tex/latex/xsim/xsim.collections.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.collections.code.tex
index 3097981b741..eba9940e239 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsim.collections.code.tex
+++ b/Master/texmf-dist/tex/latex/xsim/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/Master/texmf-dist/tex/latex/xsim/xsim.definitions.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.definitions.code.tex
index 2a7add33de4..c6fa9bd0113 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsim.definitions.code.tex
+++ b/Master/texmf-dist/tex/latex/xsim/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/Master/texmf-dist/tex/latex/xsim/xsim.environments.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.environments.code.tex
index 2f9c870b71e..9c0c30111a0 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsim.environments.code.tex
+++ b/Master/texmf-dist/tex/latex/xsim/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/Master/texmf-dist/tex/latex/xsim/xsim.exercises.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.exercises.code.tex
index f9cb7064107..6f1503dbc41 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsim.exercises.code.tex
+++ b/Master/texmf-dist/tex/latex/xsim/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/Master/texmf-dist/tex/latex/xsim/xsim.goals.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.goals.code.tex
index 6e482737b50..cf7975c4bd0 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsim.goals.code.tex
+++ b/Master/texmf-dist/tex/latex/xsim/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/Master/texmf-dist/tex/latex/xsim/xsim.grades.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.grades.code.tex
index bfcecf92b21..678011c6100 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsim.grades.code.tex
+++ b/Master/texmf-dist/tex/latex/xsim/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/Master/texmf-dist/tex/latex/xsim/xsim.interface.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.interface.code.tex
index ba409d9758b..0eb8535e3f7 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsim.interface.code.tex
+++ b/Master/texmf-dist/tex/latex/xsim/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/Master/texmf-dist/tex/latex/xsim/xsim.modules.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.modules.code.tex
index 3b874dbad03..bc82dcbafc7 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsim.modules.code.tex
+++ b/Master/texmf-dist/tex/latex/xsim/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/Master/texmf-dist/tex/latex/xsim/xsim.properties.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.properties.code.tex
index 5dd0d1baeec..add24310181 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsim.properties.code.tex
+++ b/Master/texmf-dist/tex/latex/xsim/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/Master/texmf-dist/tex/latex/xsim/xsim.random.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.random.code.tex
index 7a0eeb297da..2444ef17453 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsim.random.code.tex
+++ b/Master/texmf-dist/tex/latex/xsim/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/Master/texmf-dist/tex/latex/xsim/xsim.solutions.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.solutions.code.tex
index edb954e8389..eddeaa911f8 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsim.solutions.code.tex
+++ b/Master/texmf-dist/tex/latex/xsim/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/Master/texmf-dist/tex/latex/xsim/xsim.sty b/Master/texmf-dist/tex/latex/xsim/xsim.sty
index f5efe124088..a6a5538c67a 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsim.sty
+++ b/Master/texmf-dist/tex/latex/xsim/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/Master/texmf-dist/tex/latex/xsim/xsim.style.layouts.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.style.layouts.code.tex
index 756a61e838a..11ab475b2a2 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
@@ -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/Master/texmf-dist/tex/latex/xsim/xsim.tags.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.tags.code.tex
index e63174a0cc3..f97c1af8892 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsim.tags.code.tex
+++ b/Master/texmf-dist/tex/latex/xsim/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/Master/texmf-dist/tex/latex/xsim/xsim.templates.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.templates.code.tex
index c5c08b8d9b6..7644074be71 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsim.templates.code.tex
+++ b/Master/texmf-dist/tex/latex/xsim/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/Master/texmf-dist/tex/latex/xsim/xsim.translations.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.translations.code.tex
index f818c8d5fff..b9f0712b4b8 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsim.translations.code.tex
+++ b/Master/texmf-dist/tex/latex/xsim/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/Master/texmf-dist/tex/latex/xsim/xsim.verbwrite.code.tex b/Master/texmf-dist/tex/latex/xsim/xsim.verbwrite.code.tex
index bc9b2ce0967..5d87f7c750a 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsim.verbwrite.code.tex
+++ b/Master/texmf-dist/tex/latex/xsim/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/Master/texmf-dist/tex/latex/xsim/xsimverb.sty b/Master/texmf-dist/tex/latex/xsim/xsimverb.sty
index 40464152770..a7cbd0706be 100644
--- a/Master/texmf-dist/tex/latex/xsim/xsimverb.sty
+++ b/Master/texmf-dist/tex/latex/xsim/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