News for hackers. Stuff that matters.
Re:Docbook by chrisseaton on Monday November 04, 2019 @08:22AM (#21441344)
Did XSL FO ever become used somewhere serious? That seemed an incredibly powerful tool but so complicated and it didn't ever seem to be fully implemented.
Re:Docbook by ivoc on Monday November 04, 2019 @09:16AM (#21441782)
There's AntennaHouse and PrinceXML, but both are pretty pricey ($3-5K / server), and both of these do now support CSS as well.

Apache FOP / Batik is okay for generating nice looking PDFs, but its SVG rasterization is much worse than that of Chrome's PDF renderer (Skia).

As I didn't get the memo about XML being dead, I'm still using Docbook and XSLT/XInclude to structure and filter content written in markdown/rst.

But I will be switching over from XSL-FO to CSS paged media for layout as soon as Chrome supports bookmarks in PDF output, or either WeasyPrint or wkhtmltopdf improve their CSS3 column support.

Re:Docbook by jamespaden on Thursday November 07, 2019 @03:21PM (#21476903)
Biased cause I work there, but DocRaptor offers a saas API version of the Prince library with a much lower usage-based monthly fee.
Re:Docbook by bambax on Tuesday November 05, 2019 @01:13AM (#21450110)
Cocoon used (uses?) Apache FOP to generate PDFs on the fly. You could produce documents from a search with the search terms highlighted inside the PDF... It felt magical. This was in 2001!