3 ms·
Seems like a good thread to ask for suggestions: I've been looking for a CSS-stylesheet that can be applied to HTML against tools that render PDFs (such as xhtm
by captn3m0 5y ago
Seems like a good thread to ask for suggestions: I've been looking for a CSS-stylesheet that can be applied to HTML against tools that render PDFs (such as xhtml2pdf / wkhtml2pdf etc) to produce pandoc-like PDFs. All CSS stylesheets in this regard are focused on the "web" side of rendering obviously, and while tools like xhtml2pdf provide additional CSS classes for special handling of PDF components, I haven't found any templates for the same.
- folmar 5y agoAre you unhappy with pandoc html input?
- captn3m0 5y agocan't use pandoc because the PDF output for pandoc requires tex, and asking end-users to install tex properly is a tough call for the usecase (https://github.com/captn3m0/pystitcher https://github.com/captn3m0/pystitcher)
- Jiocus 5y agoMaybe HTML-Sheets-of-Paper[1][2] is for you? There used to be a package named Markdown-themeable-pdf, which could turn unruly todos and html into corporate, paginated Documents with metric margins to go. That was back when Atom still had an ecosystem, but it's archived over here[2]. An example: https://github.com/cakebake/markdown-themeable-pdf/blob/master/tests/Demo.pdf https://github.com/cakebake/markdown-themeable-pdf/blob/mast... [1]: https://github.com/delight-im/HTML-Sheets-of-Paper https://github.com/delight-im/HTML-Sheets-of-Paper [2]: https://github.com/cakebake/markdown-themeable-pdf https://github.com/cakebake/markdown-themeable-pdf
- captn3m0 5y agoThis is helpful, thanks.