Re:Show HN: htmldocs - Typeset and Generate PDFs with HTML/CSS
by kelvinzhang on Wednesday January 17, 2024 @12:22PM
(#39030625)
I think in the long term, HTML/CSS will win out once there's better support for CSS Paged Module Level 3, and you'll be able to achieve that requirement with just
instead of needing to install/import different LaTeX packages. I think for most of my current use-cases level 2 has been sufficient but I can see if I can include Paged.js polyfill support by default so there's more support for customizability on that front.
[ Parent
| on HN ]
Re:Show HN: htmldocs - Typeset and Generate PDFs with HTML/CSS
by x905 on Wednesday January 17, 2024 @12:49PM
(#39030993)
@Page {
size: A4;
margin: 20mm 10mm 10mm 25mm;
}
Do my print specifics (hidden-print class etc), everyone can optimize it for his local layout, every browser supports "print to pdf", done.