Lurker News

Comments (265) 53 threads

Show all comments

Showing thread 11 of 53

sonthonax1 reply#
Weasyprint is great, but be prepared to start hacking its layout engine for more complex generations.

It's nowhere near as mature as PrinceXML.

runxel1 reply#
True, it sometimes can get messy to get a decent output. But the dev team behind is currently working on replacing Cairo with a custom Python solution as layouting engine. This will hopefully solve a lot of headaches down the road.

Sure, PrinceXML is unmatched. Same goes for the price tag. I know professional CAD software which costs less. Really not doable for smaller offices e.g.
Its astonishing that there is no real, great open source alternative for this. Don't get me wrong, Weasyprint is great, but has _a lot_ of dependencies and is a nightmare to install on Windows. Works decent on WSL, tho.

adamjhyde4 replies#
You need to try pagedjs. Which is kinda what this thread is all about.

Continue this thread — 4 replies

Klasiaster#
True, and it's amazing what can be done with plain CSS, like `-weasy-hyphens: auto;` or page counters. And for LaTex-style math there are pandoc filters to generate embedded SVGs on the fly.