summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/semantex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-09-10 21:19:09 +0000
committerKarl Berry <karl@freefriends.org>2020-09-10 21:19:09 +0000
commit1d7741c1d6602af9cee5fcd783727a34644b698b (patch)
tree79d5c5dc0e656adb54b5a4b17e06c53a13b531c8 /Master/texmf-dist/doc/latex/semantex
parent842880ac5b269a399cd310f767e4285a8c1971d4 (diff)
semantex (10sep20)
git-svn-id: svn://tug.org/texlive/trunk@56310 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/semantex')
-rw-r--r--Master/texmf-dist/doc/latex/semantex/semantex.pdfbin359206 -> 360914 bytes
-rw-r--r--Master/texmf-dist/doc/latex/semantex/semantex.tex43
2 files changed, 41 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/semantex/semantex.pdf b/Master/texmf-dist/doc/latex/semantex/semantex.pdf
index 7fc0a4927a9..b59654a54c1 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 ca5f0cc8bea..a2b7f200f19 100644
--- a/Master/texmf-dist/doc/latex/semantex/semantex.tex
+++ b/Master/texmf-dist/doc/latex/semantex/semantex.tex
@@ -38,7 +38,7 @@
\usepackage[nameinlink]{cleveref}
-\title{Seman\!\TeX: semantic, keyval-based mathematics (v$0.41\beta$)}
+\title{Seman\!\TeX: semantic, keyval-based mathematics (v0.42)}
\date{\today}
\author{Sebastian Ørsted (\href{mailto:sorsted@gmail.com}{sorsted@gmail.com})}
@@ -2357,7 +2357,7 @@ HTML-like syntax, e.g.:
\begin{LTXexample}
$ \GL[order=\vn,field=\vk] $,
$ \Mat[rows=\vm,columns=\vn,
- field=\vk] $,
+ field=\vk] $,
$ \co[d=0,coef=\vR,space=\vX] $
\end{LTXexample}
The \lstinline!parse! routine is a collection of code which is
@@ -2367,6 +2367,15 @@ By default, the parse routine contains no code.
However, you can add code to it using the
key~\mylst!parseoptions={$\<keys\>$}!.
+Even though the \lstinline!parse!~routine is automatically invoked right before rendering, you can also invoke it at any time by force
+using the key~\lstinline!parse!. This will also empty the code from the
+\lstinline!parse!~routine so that it will not be executed twice:
+\begin{LTXexample}
+$ \GL[order=\vn,field=\vk,parse,
+ spar,op] $
+\end{LTXexample}
+(here we used the key~\lstinline!op! from \cref{sec:algebra}).
+
\section{Example: Matrix sets and groups}
Suppose we want to be able to write the group of invertible \( \vn \times \vn \)-matrices with entries in~\( \vk \)
@@ -3426,6 +3435,36 @@ In the following sections, we include the full list.
Invokes the inner return routine.
\item
+ \mylst!leftindexreturn!
+
+ Adds the left indices to the symbol, but not the left argument, if any such exists.
+
+ \item
+ \mylst!rightindexreturn!
+
+ Adds the right indices to the symbol, but not the right argument, if any such exists.
+
+ \item
+ \mylst!indexreturn!
+
+ Adds all indices to the symbol, left and right, but not the argument, if any such exists.
+
+ \item
+ \mylst!leftargreturn!
+
+ Adds the left argument, if any such exists, to the symbol, otherwise does nothing.
+
+ \item
+ \mylst!rightargreturn!
+
+ Adds the right argument, if any such exists, to the symbol, otherwise does nothing.
+
+ \item
+ \mylst!argreturn!
+
+ Adds the argument, if any such exists, to the symbol, otherwise does nothing.
+
+ \item
\mylst!output={$\<Class\>$}!
Sets the output class to~\<Class\>.