News for hackers. Stuff that matters.

julientaq

Re:Show HN: PDFs from HTML on Monday April 05, 2021 @02:51AM (#26696045)
I would be happy to see it too.

Reset page number using counter is working: https://codepen.io/julientaq/details/MWammZV

The property needs to be set to the element, and not to the @page.

But we may have missed a bug though, so i’ll be happy to check your code.

Re:Show HN: PDFs from HTML on Monday April 05, 2021 @02:43AM (#26695997)
www.booksprints.net people made 700 pages (which makes a lot of div to handle and process) without too much issues.

And you can also check https://villachiragan.saintraymond.toulouse.fr/impression to see HD images.

Both went straight to the printshop.

Re:Paged.js: Paginating content and making books in the browser on Tuesday November 12, 2019 @12:23PM (#21515909)
If you want to know more, you can also go to https://www.cabbagetreelabs.org
Since we use Blink rendering engine, and columns, we do have the ability to set up widows and orphans as we want it :)
Because the other browsers havent made the @page size property available, which is the only thing we can't polyfill.

But Firefox is now looking at this, and Safari too. I hope we'll get to support more browsers soon enough (Firefox is my daily driver)

Hey folks!

@julie_b @fredjc and myself are working on paged.js and we'll be happy to answer any question you may have :)

We're in https://mattermost.pagedmedia.org/ :)

Come play with us :)

You can have a look at https://paged.design/ for some example.

Use chromium and try to print to see the whole thing in action.

We're working hard for that to happen, and to see browsers implements more of the paged-media specs!
It's basically a css print file, which includes a lot of css properties that are not built in browsers yet, with a preview you can see on screen.

print is just another aspect of responsive web design. And paged.js add the possibility to add things that the paper need and the browser don't (page number, cross rereferences, running-head, etc.)

A bit more info about css print: https://www.smashingmagazine.com/2018/05/print-stylesheets-i...

We're sending webpages to printing press, and it becomes a book. That's it.

Julien here, working on paged.js

It's definitely made to print books and pages from the web. You can preview in a browser, but that's not the goal. It's a polyfill for CSS properties made for print.

Although, you can't tell for sure what people want to do with tools and library right? :)