## Thursday, August 18, 2011

### Latex DSL

As far as I am able to understand, Latex commands take the form:

\command[option1,option2]{arg1}{arg2}


This can easily be translated into Lisp:

(command [option1 option2] arg1 arg2)


That way I can use Lisp to produce Latex.