summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/semantex/semantex.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/semantex/semantex.tex')
-rw-r--r--macros/latex/contrib/semantex/semantex.tex24
1 files changed, 21 insertions, 3 deletions
diff --git a/macros/latex/contrib/semantex/semantex.tex b/macros/latex/contrib/semantex/semantex.tex
index 2d8e6457ae..124296a291 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.507)}
+\title{Seman\!\TeX: semantic, keyval-based mathematics (v0.508)}
\date{\today}
\author{Sebastian Ørsted (\href{mailto:sorsted@gmail.com}{sorsted@gmail.com})}
@@ -3120,6 +3120,17 @@ the keys that can be used inside the command~\lstinline!\SemantexSetup! are:
Another interesting possibility is the command~\lstinline!\ekvparse! from the package~\lstinline!expkv!. This choice will only affect keys for objects and classes,
\emph{not} keys for use inside~\lstinline!\SemantexSetup!.
+ \item \mylst!single key parser={$\<command\>$}!
+
+ Sets the single key parser function to~\<command\>.
+ The single key parser is the command that parses the content of the argument
+ when you have applied the setting \mylst!arg keyval=single keys!.
+ The \<command\> must take two arguments:
+ \mylst!$\<command\>\<function\>${$\<comma list\>$}!.
+ The \<function\> must take one argument and will be applied
+ to each entry in the \<comma list\>.
+ By default, this key has been set to the \LaTeX3 command~\mylst!\clist_map_function:nN! (but with the arguments in reverse order).
+
\item \mylst!semtex file={$\values\<true|\default{false}\>$}!
When turned on, a \lstinline!.semtex! file will be created while processing the document.
@@ -3540,12 +3551,19 @@ In the following sections, we include the full list.
\item
\mylst!parse options={$\<keys\>$}!
- Adds the \<keys\> to the parse options.
+ Adds the \<keys\> to the parse options, i.e.~adds it to the key \mylst!parse code!.
\item
\mylst!parse!
- Invokes the parse routine.
+ Invokes the parse routine, i.e.~runs the key \mylst!parse code! and then empties
+ the contents of that key.
+
+ \item
+ \mylst!parse code!
+
+ The key where the parse options are stored. It is emptied when the parse
+ routine is invoked.
\item
\mylst!math class={$\<command\>$}!