Hacker News new | ask | show | jobs
by justincormack 4439 days ago
There is a CSS/HTML rendering engine for print, PrinceXML http://www.princexml.com/ - it is extremely good quality. It is not open source, but does fill a niche gap. If you need to produce quality pdf output from a single source it could be worth looking at.

(its also interesting in that it is written in a functional logic programming language..., and that it is a small Australian startup)

1 comments

ConTeXt also provides an XML interface. Unlike PrinceXML, ConTeXt is open source. The community is quite friendly. I've been using it for a couple of years now to produce PDFs from a single source. In my case, I first transform the XML into ConTeX code using XSLT, a step that simpler systems might not require.

http://wiki.contextgarden.net/XML

Based on quick look, ConTeXt requires you to handle an unholy mixture of XML, XSLT and TeX (and maybe even Lua?), whereas PrinceXML last I checked was just (x)HTML+CSS.
PrinceXML is actually a CSS engine for print, so there is more reuse.

ConTeXt looks interesting though, I haven't really been following whats been going on for a while, looks interesting.