News for hackers. Stuff that matters.
Re:PhantomJS: Stepping down as maintainer by SigmundA on Thursday April 13, 2017 @10:10AM (#14107030)
Because 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.

Re:PhantomJS: Stepping down as maintainer by asdfgadsfgasfdg on Thursday April 13, 2017 @11:01AM (#14107525)
But 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.
Re:PhantomJS: Stepping down as maintainer by IneffablePigeon on Thursday April 13, 2017 @12:36PM (#14108547)
CSS2 has the concept of paged layouts: https://www.w3.org/TR/CSS2/page.html