4 ms·
Are you familiar with Prawn [1]? Perhaps I just haven't bumped up against its limitations yet, but in my experience it's exactly what you're asking for. Of cour
by tkfu 6y ago
Are you familiar with Prawn [1]? Perhaps I just haven't bumped up against its limitations yet, but in my experience it's exactly what you're asking for. Of course, it's in Ruby, which isn't to everyone's taste, but it's the best tool out there that I've found.
[1] https://github.com/prawnpdf/prawn https://github.com/prawnpdf/prawn
- strogonoff 6y agoPrawn was considered and IIRC unfortunately it has very limited styling support. It looks like there are only commercial and quite expensive options for programmatic generation (Antenna House: XSL-FO, Prince: CSS). Apart from that, the one option that works appears to be Apache FOP. It’s built on Java and uses XSL-FO, which is somewhat limited and seemingly on the way to becoming outdated.
- phonon 6y agohttps://weasyprint.org/ https://weasyprint.org/ is quite nice, though has limited header/footer support (for now).
- Lammy 6y agoCheck out HexaPDF too, also in Ruby: https://github.com/gettalong/hexapdf https://github.com/gettalong/hexapdf