diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/xsim/xsimverb.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/xsim/xsimverb.sty | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/xsim/xsimverb.sty b/Master/texmf-dist/tex/latex/xsim/xsimverb.sty index ec5fbd14dde..8064d0d06d7 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 Clemens Niederberger +% Copyright 2017--2018 Clemens Niederberger % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -52,6 +52,30 @@ {\c_xsimverb_version_tl} {\c_xsimverb_info_tl} +% options, information + +\bool_new:N \g_xsim_final_bool +\bool_new:N \g_xsim_verbose_bool +\bool_new:N \g_xsim_clear_aux_bool + +\keys_define:nn {xsim} + { + 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 + } + +\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: + % -------------------------------------------------------------------------- % load module mechanism: @@ -64,3 +88,6 @@ % -------------------------------------------------------------------------- \file_input_stop: + +2018/01/31 - define xsim's options as dummy options to prevent possible errors + caused by undefined booleans |