summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/semantex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/semantex')
-rw-r--r--macros/latex/contrib/semantex/semantex.pdfbin360914 -> 361207 bytes
-rw-r--r--macros/latex/contrib/semantex/semantex.sty14
-rw-r--r--macros/latex/contrib/semantex/semantex.tex16
-rw-r--r--macros/latex/contrib/semantex/stripsemantex.sty2
4 files changed, 17 insertions, 15 deletions
diff --git a/macros/latex/contrib/semantex/semantex.pdf b/macros/latex/contrib/semantex/semantex.pdf
index b59654a54c..71f086e8d0 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 80825c4d44..e705b06886 100644
--- a/macros/latex/contrib/semantex/semantex.sty
+++ b/macros/latex/contrib/semantex/semantex.sty
@@ -1,5 +1,5 @@
\RequirePackage{xparse,l3keys2e,leftindex}
-\ProvidesExplPackage{semantex}{2020/09/10}{0.42}{}
+\ProvidesExplPackage{semantex}{2020/09/13}{0.43}{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
@@ -625,7 +625,7 @@
{ #1 { ##1 } { * } { ##4 } }
\semantex_render_class:Nn #1 {
\semantex_class_do_output:N #1
- \semantex_class_set_symbol:N #1 { ##1 }
+ \semantex_class_set_symbol:Nn #1 { ##1 }
\semantex_class_use_bullet:N #1
\semantex_class_set_arg:Nn #1 { ##4 }
}
@@ -635,7 +635,7 @@
{ #1 { ##1 } { * } }
\semantex_render_class:Nn #1 {
\semantex_class_do_output:N #1
- \semantex_class_set_symbol:N #1 { ##1 }
+ \semantex_class_set_symbol:Nn #1 { ##1 }
\semantex_class_use_bullet:N #1
}
}
@@ -649,7 +649,7 @@
{ #1 { ##1 } { ** } { ##4 } }
\semantex_render_class:Nn #1 {
\semantex_class_do_output:N #1
- \semantex_class_set_symbol:N #1 { ##1 }
+ \semantex_class_set_symbol:Nn #1 { ##1 }
\semantex_class_use_double_bullet:N #1
\semantex_class_set_arg:Nn #1 { ##4 }
}
@@ -659,7 +659,7 @@
{ #1 { ##1 } { ** } }
\semantex_render_class:Nn #1 {
\semantex_class_do_output:N #1
- \semantex_class_set_symbol:N #1 { ##1 }
+ \semantex_class_set_symbol:Nn #1 { ##1 }
\semantex_class_use_double_bullet:N #1
}
}
@@ -671,7 +671,7 @@
{ #1 { ##1 } { ##3 } { ##4 } }
\semantex_render_class:Nn #1 {
\semantex_class_do_output:N #1
- \semantex_class_set_symbol:N #1 { ##1 }
+ \semantex_class_set_symbol:Nn #1 { ##1 }
\semantex_class_set_degreedefault:Nn #1 { ##3 }
\semantex_class_set_arg:Nn #1 { ##4 }
}
@@ -681,7 +681,7 @@
{ #1 { ##1 } { ##3 } }
\semantex_render_class:Nn #1 {
\semantex_class_do_output:N #1
- \semantex_class_set_symbol:N #1 { ##1 }
+ \semantex_class_set_symbol:Nn #1 { ##1 }
\semantex_class_set_degreedefault:Nn #1 { ##3 }
}
}
diff --git a/macros/latex/contrib/semantex/semantex.tex b/macros/latex/contrib/semantex/semantex.tex
index a2b7f200f1..1ce506b54f 100644
--- a/macros/latex/contrib/semantex/semantex.tex
+++ b/macros/latex/contrib/semantex/semantex.tex
@@ -38,7 +38,7 @@
\usepackage[nameinlink]{cleveref}
-\title{Seman\!\TeX: semantic, keyval-based mathematics (v0.42)}
+\title{Seman\!\TeX: semantic, keyval-based mathematics (v0.43)}
\date{\today}
\author{Sebastian Ørsted (\href{mailto:sorsted@gmail.com}{sorsted@gmail.com})}
@@ -890,8 +890,8 @@ Adding support for free algebras, power series, and Laurent series is almost as
{laurent}{
par,
leftpar=(, rightpar=),
- prearg={\!\!\SemantexDelimiterSize(},
- postarg={\SemantexDelimiterSize)\!\!},
+ prearg={\!\!\mathopen\SemantexDelimiterSize(},
+ postarg={\mathclose\SemantexDelimiterSize)\!\!},
% The "prearg" and "postarg" are printed before after
% the argument, if the argument is non-empty.
% The command "\SemantexDelimiterSize" is substituted
@@ -916,8 +916,8 @@ Adding support for free algebras, power series, and Laurent series is almost as
{laurent}{
par,
leftpar=(, rightpar=),
- prearg={\!\!\SemantexDelimiterSize(},
- postarg={\SemantexDelimiterSize)\!\!},
+ prearg={\!\!\mathopen\SemantexDelimiterSize(},
+ postarg={\mathclose\SemantexDelimiterSize)\!\!},
% These are printed before and after the argument.
% The command "\SemantexDelimiterSize" is substituted
% by \big, \Big, ..., or whatever size the
@@ -1183,7 +1183,9 @@ $\vf[inv,return,conj]$
\end{LTXexample}
In fact, \lstinline!return! is an umbrella key that invokes three different return routines: \lstinline!leftreturn!, \lstinline!innerreturn!, and \lstinline!rightreturn!. The command \lstinline!leftreturn! adds the left indices to the symbol (we have not discussed left indices yet, though). The command \lstinline!innerreturn! adds all commands to the symbol (those defined using the \lstinline!command!~key).
Finally, \lstinline!rightreturn! adds all right indices and arguments to the symbol.
-In general, most of the time, the user should probably be satisfied with just using \lstinline!return!.
+There is also a collection of partial return routines that add either the indices or the argument to the symbol.
+See~\cref{sec:fundamental_keys} for an overview of these.
+In general, most of the time, the user should probably be satisfied with just using~\lstinline!return!.
\section{Keyval syntax conflicts}
@@ -3346,7 +3348,7 @@ In the following sections, we include the full list.
Issues an error, saying that the argument key~\<key\> was set to the unknown value~\<value\>.
\end{itemize}
-\section{Fundamental keys for class/object information}
+\section{Fundamental keys for class/object information}\label{sec:fundamental_keys}
\begin{itemize}
\item
diff --git a/macros/latex/contrib/semantex/stripsemantex.sty b/macros/latex/contrib/semantex/stripsemantex.sty
index 19d3bc7db4..2599c108c2 100644
--- a/macros/latex/contrib/semantex/stripsemantex.sty
+++ b/macros/latex/contrib/semantex/stripsemantex.sty
@@ -1,5 +1,5 @@
\RequirePackage{xparse}
-\ProvidesExplPackage{stripsemantex}{2020/09/10}{0.42}{}
+\ProvidesExplPackage{stripsemantex}{2020/09/13}{0.43}{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %