[thecurse] add latex support (run dvips and convert externaly) through use_latex ACE option. fixes #2796