back

by jeffreyrogers·12y ago·view on hn ↗
What are the advantages of this over TeX/LaTeX? I already know LaTeX quite well as will most people who are looking for a typesetting system.
1 comments
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