diff options
Diffstat (limited to 'macros/latex/contrib/xsim/code/xsim.modules.code.tex')
-rw-r--r-- | macros/latex/contrib/xsim/code/xsim.modules.code.tex | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/macros/latex/contrib/xsim/code/xsim.modules.code.tex b/macros/latex/contrib/xsim/code/xsim.modules.code.tex index 3d94ca4b61..3b874dbad0 100644 --- a/macros/latex/contrib/xsim/code/xsim.modules.code.tex +++ b/macros/latex/contrib/xsim/code/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: |