This might be useful if you're struggling with FOP to produce nice PDF.
Thanks to Russell Dickenson for reminding me about wkhtmltopdf, this tip was
also posted a couple of years back by Christoph David Hermann
http://groups.google.com/group/asciidoc/browse_thread/thread/1d71734f698c8132/920adc6b30038238?lnk=gst&q=wkhtmltopdf#920adc6b30038238
wkhtmltopdf (http://code.google.com/p/wkhtmltopdf/) is a lightning fast way to
convert HTML to generate high fidelity PDF from HTML. Here are a couple of
examples from the AsciiDoc website:
This command:
wkhtmltopdf -O Landscape
http://www.methods.co.nz/asciidoc/article-html5-toc2.html article-wkhtmltopdf.pdf
Generates this PDF file: http://www.methods.co.nz/tmp/article-wkhtmltopdf.pdf
This command:
wkhtmltopdf --zoom 0.8
http://www.methods.co.nz/asciidoc/asciidoc.css-embedded.html
asciidoc-guide-wkhtmltopdf.pdf
Generates this PDF file:
http://www.methods.co.nz/tmp/asciidoc-guide-wkhtmltopdf.pdf
I used the statically linked version (in my case wkhtmltopdf-0.11.0_rc1 Linux
Static Binary (i386)) which renders links correctly. The Ubuntu 10.04
wkhtmltopdf deb package has reduced functionality (see
http://madalgo.au.dk/~jakobt/wkhtmltoxdoc/wkhtmltopdf-0.9.9-doc.html).
Cheers, Stuart
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/asciidoc?hl=en.