Markdown to rtf or pdf?

Jon hart jhart at starrtechmail.com
Thu Aug 19 14:41:21 EDT 2004


On Aug 19, 2004, at 3:47 AM, Julian 'Julik' Tarkhanov wrote:

> If you are sure that the XHTML of your article is well-formed you can 
> use XSL:FO to generate a PDF, although doubt that any 
> 'public-cheaap-shared-allinclusive' hosts offer this option, and you 
> will have to learn some XSL.
>

Im working on pdf generation atm ( not for markdown ).
Ive tried at least 6 XSL:FO processors.
None of them were satisfactory, and most were not free ( there is an 
apache project ).
They work well for simple documents, so markdown would probably be ok.
The reason that they all suck is that XSL:FO is a complex spec, and 
none of them fully implement. That means that you try to do something 
that is in the spec, and it doesnt work.

What I have settled on is UJAC ( sourceforge ).
Its a java project that uses itext to generate pdf's, from an XML file.
The XML schema is a lot like HTML, but much simpler.
New pages need to be explicitly added ( unlike XSL:FO ) so when editing 
you'll need to go through a few edit cycles to get your pagination 
right.

Jon.



More information about the Markdown-discuss mailing list