[triangle-zpug] Epoz and Tidy

David Chandek-Stark dc at duke.edu
Fri Oct 29 00:46:32 CEST 2004

For those interested in getting XHTML out of Epoz, I have used it with 
mxTidy - http://www.egenix.com/files/python/mxTidy.html. Epoz will 
automatically use mxTidy if installed, and by default it creates XHTML 
output. If you want to customize the tidy settings, you have to modify 
the parameters of the call in the EpozTidy() function of Epoz's __init__.py:

if mxTidyIsAvailable:
         (errors, warnings, output, errordata) = Tidy.tidy(
             input, drop_empty_paras=1, indent_spaces=1, indent="auto",
             output_xhtml=1, word_2000=1, wrap=79, char_encoding="utf8")

David Chandek-Stark
dc at duke.edu

More information about the triangle-zpug mailing list