summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/semantex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-07-18 20:25:16 +0000
committerKarl Berry <karl@freefriends.org>2021-07-18 20:25:16 +0000
commitef3242e48c3652c1a7641d6d304f45fed40159a9 (patch)
tree4008aae188c5f496d5aeb5d52dfe9aa86e93c139 /Master/texmf-dist/doc/latex/semantex
parentc4a74847d2193721779800f07394a4bc67f3cbe2 (diff)
semantex (18jul21)
git-svn-id: svn://tug.org/texlive/trunk@59981 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/semantex')
-rw-r--r--Master/texmf-dist/doc/latex/semantex/semantex.pdfbin384087 -> 385078 bytes
-rw-r--r--Master/texmf-dist/doc/latex/semantex/semantex.tex24
2 files changed, 21 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/semantex/semantex.pdf b/Master/texmf-dist/doc/latex/semantex/semantex.pdf
index 71b9241a809..006182bf852 100644
--- a/Master/texmf-dist/doc/latex/semantex/semantex.pdf
+++ b/Master/texmf-dist/doc/latex/semantex/semantex.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/semantex/semantex.tex b/Master/texmf-dist/doc/latex/semantex/semantex.tex
index 2d8e6457aea..124296a291d 100644
--- a/Master/texmf-dist/doc/latex/semantex/semantex.tex
+++ b/Master/texmf-dist/doc/latex/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\>$}!