4 ms·
This sounds horrible.. In general all these html->pdf ways of generating pdfs sounds horrible -- why don't people use latex for this?
by asdfgadsfgasfdg 10y ago
This sounds horrible.. In general all these html->pdf ways of generating pdfs sounds horrible -- why don't people use latex for this?
- demonshalo 10y agoIt is NOT horrible. However, Latex is another way of doing things. Perhaps your requirements should dictate which of the two you should go for!
- SigmundA 10y agoBecause you probably already did the layout work in HTML to display on screen to the user and now just want a PDF version of it. Or you can redo the layout in latex and maintain two layouts. The full print css is actually pretty complete, problem is the only browser that fully supports it is PrinceXML. None of the major browsers seem to care much about print layout.
- asdfgadsfgasfdg 10y agoBut HTML layout is very different to page based layout. HTML is responsive and has no concept of pagination. PDF is paginated and has no concept of responsiveness.
- IneffablePigeon 10y agoCSS2 has the concept of paged layouts: https://www.w3.org/TR/CSS2/page.html https://www.w3.org/TR/CSS2/page.html