summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/semantex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-06-14 03:01:12 +0000
committerNorbert Preining <norbert@preining.info>2021-06-14 03:01:12 +0000
commit269940e8e52b921a855083542b9e1109af49af09 (patch)
treeba8b7431f6e4878661215e5a6127aba941f5d711 /macros/latex/contrib/semantex
parent2ba4b1ac7860085c0b259aacb0d99bd2c730edbc (diff)
CTAN sync 202106140301
Diffstat (limited to 'macros/latex/contrib/semantex')
-rw-r--r--macros/latex/contrib/semantex/semantex.pdfbin370872 -> 370872 bytes
-rw-r--r--macros/latex/contrib/semantex/semantex.sty74
-rw-r--r--macros/latex/contrib/semantex/semantex.tex2
-rw-r--r--macros/latex/contrib/semantex/stripsemantex.sty2
4 files changed, 55 insertions, 23 deletions
diff --git a/macros/latex/contrib/semantex/semantex.pdf b/macros/latex/contrib/semantex/semantex.pdf
index fb7f1fbfdf..a98036a81f 100644
--- a/macros/latex/contrib/semantex/semantex.pdf
+++ b/macros/latex/contrib/semantex/semantex.pdf
Binary files differ
diff --git a/macros/latex/contrib/semantex/semantex.sty b/macros/latex/contrib/semantex/semantex.sty
index 0031ccf854..30f015be31 100644
--- a/macros/latex/contrib/semantex/semantex.sty
+++ b/macros/latex/contrib/semantex/semantex.sty
@@ -1,5 +1,5 @@
\RequirePackage{xparse,l3keys2e,leftindex,semtex}
-\ProvidesExplPackage{semantex}{2021/06/10}{0.501}{}
+\ProvidesExplPackage{semantex}{2021/06/13}{0.502}{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
@@ -1508,7 +1508,7 @@
\semantex_singlekey:nn { #1 } { parse } % Run the "parse" routine, i.e. run the collection of code that the user has added via the key "parse options"
\semantex_data_bool_get:nnTF { #1 } { output } % Checks if the register is supposed to output
{
- \semantex_inner_return:n { #1 }
+ \semantex_inner_pre_return:n { #1 }
\tl_set:Nx \l__semantex_render_output_class_temp_tl { \semantex_data_tl_get:nn { #1 } { output } } % The output class
\exp_args:NNx\cs_set:Nn\l__semantex_render_output_options_temp_cs:n
{ \semantex_data_tl_get_exp_not:nn { #1 } { output~options } }
@@ -3692,7 +3692,7 @@
\semantex_preprocess_arg_keys_x:nN { #3 } #4
}
{ arg~keys~set~x }{
- \semantex_preprocess_arg_keys_x:nN { #3 } #4
+ \semantex_preprocess_arg_keys_x:nN { #3 } #4\textbf{}
}
{ set~arg~single~keys }{
\semantex_preprocess_arg_singlekeys:nN { #3 } #4
@@ -3712,8 +3712,16 @@
\semantex_append_singlekey_with_raw_code:nnn { #1 } { parse~code }
}
\group_begin:
- \tl_set:Nn\l__semantex_preprocess_valuekey_keys_temp_tl {}
- \semantex_preprocess_keys:nN { #3 } \l__semantex_preprocess_valuekey_keys_temp_tl
+ \tl_set:Nn\l__semantex_preprocess_valuekey_keys_pre_temp_tl {}
+ \semantex_preprocess_keys:nN { #3 } \l__semantex_preprocess_valuekey_keys_pre_temp_tl
+ \cs_set:Npo\l__semantex_preprocess_valuekey_keys_temp_cs:nnnnnnnnn##1##2##3##4##5##6##7##8##9
+ {
+ \l__semantex_preprocess_valuekey_keys_pre_temp_tl
+ }
+ \tl_set:No\l__semantex_preprocess_valuekey_keys_temp_tl
+ {
+ \l__semantex_preprocess_valuekey_keys_temp_cs:nnnnnnnnn { ###1 } { ##2 } { ##3 } { ##4 } { ##5 } { ##6 } { ##7 } { ##8 } { ##9 }
+ }
\exp_args:NNNx
\group_end:
\tl_put_right:Nn#4
@@ -3727,8 +3735,16 @@
\semantex_pre_append_singlekey_with_raw_code:nnn { #1 } { parse~code }
}
\group_begin:
- \tl_set:Nn\l__semantex_preprocess_valuekey_keys_temp_tl {}
- \semantex_preprocess_keys:nN { #3 } \l__semantex_preprocess_valuekey_keys_temp_tl
+ \tl_set:Nn\l__semantex_preprocess_valuekey_keys_pre_temp_tl {}
+ \semantex_preprocess_keys:nN { #3 } \l__semantex_preprocess_valuekey_keys_pre_temp_tl
+ \cs_set:Npo\l__semantex_preprocess_valuekey_keys_temp_cs:nnnnnnnnn##1##2##3##4##5##6##7##8##9
+ {
+ \l__semantex_preprocess_valuekey_keys_pre_temp_tl
+ }
+ \tl_set:No\l__semantex_preprocess_valuekey_keys_temp_tl
+ {
+ \l__semantex_preprocess_valuekey_keys_temp_cs:nnnnnnnnn { ###1 } { ##2 } { ##3 } { ##4 } { ##5 } { ##6 } { ##7 } { ##8 } { ##9 }
+ }
\exp_args:NNNx
\group_end:
\tl_put_right:Nn#4
@@ -4277,8 +4293,16 @@
\semantex_append_singlekey_with_raw_code:nnn { #1 } { parse~code }
}
\group_begin:
- \tl_set:Nn\l__semantex_preprocess_valuekey_keys_temp_tl {}
- \semantex_preprocess_keys_x:nN { #3 } \l__semantex_preprocess_valuekey_keys_temp_tl
+ \tl_set:Nn\l__semantex_preprocess_valuekey_keys_pre_temp_tl {}
+ \semantex_preprocess_keys:nN { #3 } \l__semantex_preprocess_valuekey_keys_pre_temp_tl
+ \cs_set:Npo\l__semantex_preprocess_valuekey_keys_temp_cs:nnnnnnnnn##1##2##3##4##5##6##7##8##9
+ {
+ \l__semantex_preprocess_valuekey_keys_pre_temp_tl
+ }
+ \tl_set:No\l__semantex_preprocess_valuekey_keys_temp_tl
+ {
+ \l__semantex_preprocess_valuekey_keys_temp_cs:nnnnnnnnn { ###1 } { ##2 } { ##3 } { ##4 } { ##5 } { ##6 } { ##7 } { ##8 } { ##9 }
+ }
\exp_args:NNNx
\group_end:
\tl_put_right:Nn#4
@@ -4292,8 +4316,16 @@
\semantex_pre_append_singlekey_with_raw_code:nnn { #1 } { parse~code }
}
\group_begin:
- \tl_set:Nn\l__semantex_preprocess_valuekey_keys_temp_tl {}
- \semantex_preprocess_keys_x:nN { #3 } \l__semantex_preprocess_valuekey_keys_temp_tl
+ \tl_set:Nn\l__semantex_preprocess_valuekey_keys_pre_temp_tl {}
+ \semantex_preprocess_keys:nN { #3 } \l__semantex_preprocess_valuekey_keys_pre_temp_tl
+ \cs_set:Npo\l__semantex_preprocess_valuekey_keys_temp_cs:nnnnnnnnn##1##2##3##4##5##6##7##8##9
+ {
+ \l__semantex_preprocess_valuekey_keys_pre_temp_tl
+ }
+ \tl_set:No\l__semantex_preprocess_valuekey_keys_temp_tl
+ {
+ \l__semantex_preprocess_valuekey_keys_temp_cs:nnnnnnnnn { ###1 } { ##2 } { ##3 } { ##4 } { ##5 } { ##6 } { ##7 } { ##8 } { ##9 }
+ }
\exp_args:NNNx
\group_end:
\tl_put_right:Nn#4
@@ -5020,7 +5052,7 @@
% }
%}
%
-%\cs_new_protected:Npn\__semantex_nine_valuekey_format_auxiliary:nnn#1#2#3%CHECK2
+%\cs_new_protected:Npn\__semantex_nine_valuekey_format_auxiliary:nnn#1#2#3
%{
% \cs_set:Npn\l__semantex_nine_valuekey_auxiliary_temp_cs:nnnnnnnnn##1##2##3##4##5##6##7##8##9 { #3 }
% \tl_set:Nn\l__semantex_nine_valuekey_auxiliary_temp_tl{}
@@ -5135,14 +5167,14 @@
% #1 = register
% #2 = key
% #3 = raw code
- \tl_set:Nn \l__semantex_add_raw_code_to_singlekey_auxiliary_temp_tl { #3 }
- \semantex_singlekey_store:nnN { #1 } { #2 } \l__semantex_append_singlekeys_auxiliary_original_temp_tl
+ \tl_set:Nn \l__semantex_append_singlekey_with_raw_code_auxiliary_temp_tl { #3 }
+ \semantex_singlekey_store:nnN { #1 } { #2 } \l__semantex_append_singlekey_with_raw_code_auxiliary_original_temp_tl
\exp_args:Nnx\cs_set_protected:cn
% \cs_set_protected:cx gave us ##1 where we wanted #1
{ __semantex_data_cs_custom_singlekey_#1_\tl_trim_spaces:n{#2}:n }
{
- \exp_not:V\l__semantex_append_singlekeys_auxiliary_original_temp_tl
- \exp_not:V\l__semantex_append_singlekeys_auxiliary_temp_tl
+ \exp_not:V\l__semantex_append_singlekey_with_raw_code_auxiliary_original_temp_tl
+ \exp_not:V\l__semantex_append_singlekey_with_raw_code_auxiliary_temp_tl
}
}
@@ -5152,14 +5184,14 @@
% #1 = register
% #2 = key
% #3 = raw code
- \tl_set:Nn \l__semantex_add_raw_code_to_singlekey_auxiliary_temp_tl { #3 }
- \semantex_singlekey_store:nnN { #1 } { #2 } \l__semantex_append_singlekeys_auxiliary_original_temp_tl
+ \tl_set:Nn \l__semantex_pre_append_singlekey_with_raw_code_auxiliary_temp_tl { #3 }
+ \semantex_singlekey_store:nnN { #1 } { #2 } \l__semantex_pre_append_singlekey_with_raw_code_auxiliary_original_temp_tl
\exp_args:Nnx\cs_set_protected:cn
% \cs_set_protected:cx gave us ##1 where we wanted #1
{ __semantex_data_cs_custom_singlekey_#1_\tl_trim_spaces:n{#2}:n }
{
- \exp_not:V\l__semantex_append_singlekeys_auxiliary_temp_tl
- \exp_not:V\l__semantex_append_singlekeys_auxiliary_original_temp_tl
+ \exp_not:V\l__semantex_pre_append_singlekey_with_raw_code_auxiliary_temp_tl
+ \exp_not:V\l__semantex_pre_append_singlekey_with_raw_code_auxiliary_original_temp_tl
}
}
@@ -5699,7 +5731,7 @@
}
-\cs_new_protected:Npn\__semantex_preprocess_arg_valuekey:nnnN#1#2#3#4%CHECK4
+\cs_new_protected:Npn\__semantex_preprocess_arg_valuekey:nnnN#1#2#3#4
{
\str_case:nnF { #2 }
{
diff --git a/macros/latex/contrib/semantex/semantex.tex b/macros/latex/contrib/semantex/semantex.tex
index 2d257f95ae..971309ba4d 100644
--- a/macros/latex/contrib/semantex/semantex.tex
+++ b/macros/latex/contrib/semantex/semantex.tex
@@ -42,7 +42,7 @@
\usepackage[nameinlink]{cleveref}
-\title{Seman\!\TeX: semantic, keyval-based mathematics (v0.501)}
+\title{Seman\!\TeX: semantic, keyval-based mathematics (v0.502)}
\date{\today}
\author{Sebastian Ørsted (\href{mailto:sorsted@gmail.com}{sorsted@gmail.com})}
diff --git a/macros/latex/contrib/semantex/stripsemantex.sty b/macros/latex/contrib/semantex/stripsemantex.sty
index c4fce11d95..7e4298d2f3 100644
--- a/macros/latex/contrib/semantex/stripsemantex.sty
+++ b/macros/latex/contrib/semantex/stripsemantex.sty
@@ -1,5 +1,5 @@
\RequirePackage{xparse}
-\ProvidesExplPackage{stripsemantex}{2021/06/10}{0.500}{}
+\ProvidesExplPackage{stripsemantex}{2021/06/13}{0.502}{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %