4 ms·
It seems, Patoline's syntax resembles LaTeX syntax a lot, but it lets you embed code more easily. And you can use OCaml or some it's subset instead of TeX's \if
by a-nikolaev 12y ago
It seems, Patoline's syntax resembles LaTeX syntax a lot, but it lets you embed code more easily. And you can use OCaml or some it's subset instead of TeX's \if, \loop, etc [1], which is probably a good thing.
\begin{genumerate}(AlphaLower, fun s -> [tT (s^". ")])
\item First item
\item Second item
\end{genumerate}
Which produces:
a. First item
b. Second item
[1] http://en.wikibooks.org/wiki/LaTeX/Plain_TeX#Conditionals http://en.wikibooks.org/wiki/LaTeX/Plain_TeX#Conditionals