Hi,
after having some problems with the plugin, I decided to do some cleanup and fixing.
- Avoid using a title file when titlefile option is missing. It caused some trouble.
- Changed VERSAO and DATA in title template page to VERSION and DATE, and update example template.
- Fix identation.
- Remove duplicated code to convert from wiki->html and from html->pdf (execute htmldoc).
- Some minor cleanups.
- Updated version to 2.1
Next step is migrating to Genshi :)
I'm attaching the .diff file, and also the full source in .zip, so anyone can download and try.