diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/xsim/xsim.modules.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/xsim/xsim.modules.code.tex | 12 |
1 files changed, 9 insertions, 3 deletions
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 3d94ca4b616..3b874dbad03 100644 --- a/Master/texmf-dist/tex/latex/xsim/xsim.modules.code.tex +++ b/Master/texmf-dist/tex/latex/xsim/xsim.modules.code.tex @@ -204,11 +204,17 @@ \IfBooleanT {#1} { \ExplSyntaxOn } } -\cs_new_protected:Npn \xsim_style_options:nn #1#2 - { \keys_define:nn {xsim/#1} {#2} } +% \cs_new_protected:Npn \xsim_style_options:nn #1#2 +% { \keys_define:nn {xsim/#1} {#2} } -\NewDocumentCommand \loadxsimstyle {m} +\cs_new_protected:Npn \xsim_load_style:n #1 { \clist_map_inline:nn {#1} { \xsim_load_module:n {style.##1} } } +\keys_define:nn {xsim} + { load-style .code:n = \xsim_load_style:n {#1} } + +\NewDocumentCommand \loadxsimstyle {m} + { \xsim_load_style:n {#1} } + % -------------------------------------------------------------------------- \file_input_stop: |