On Tue, 21 Oct 2008, Maurí­cio wrote: > I also like to write programs (I use a really > nice language named Haskell). Do you thing I > could get what I want if I write or translate > typography functions to that language, and then > write programs to generate documents? Where > could I find or where could I learn about such > functions? You can also have a look at ant http://ant.berlios.de/. It is not as big as TeX and is written in Ocaml, so you may find it easier to understand than the source code of TeX (a mixture of pascal, change files, and C). Aditya