You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created an AUR package for Arch Linux of textplay and it looks like python-weasyprint works better than PrinceXML at least as far as that it looks the same but without the watermark, and that later one because it's actually open source. Before I tried wkhtmltopdf but that didn't work as well at all.
The text was updated successfully, but these errors were encountered:
I hadn't seen weasyprint before, thanks for the recommend.
The only thing that's prince-specific in textplay are two CSS rules. One tells has to do with not printing the page one page number, and the second tells prince to not create PDF bookmarks for all h1, h2, h3, etc.
If weasyprint has similar CSS rules I'd consider including them.
Marking Kozea/WeasyPrint#724 here for the first of the two, that doesn't seem to be supported yet. The bookmark-level css is supported exactly the same without prefix.
Kozea/WeasyPrint#474 and Kozea/WeasyPrint#511 seem to adequately solve the first page issue though :D. I am going to experiment a little and submit a Pull Request...
I created an AUR package for Arch Linux of textplay and it looks like python-weasyprint works better than PrinceXML at least as far as that it looks the same but without the watermark, and that later one because it's actually open source. Before I tried wkhtmltopdf but that didn't work as well at all.
The text was updated successfully, but these errors were encountered: