BookJS is a Javascript library that can be included in HTML files to render the contents of the HTML to pages that can be printed to PDF using CSS Regions. It requires a browser with support for CSS Regions.
JavaScript CSS
Permalink
Failed to load latest commit information.
.gitignore remove garbage Oct 1, 2012
LICENSE.txt adede AGPL license Jul 25, 2012
README.md Update README.md Aug 1, 2012
book-config.js fix bug with frontmatter not rendering Feb 20, 2013
book.css added max page number (default 10000) and changed class name of page … Mar 6, 2013
book.js add Safari 6.1/7.0 support Oct 7, 2013
changes.txt use region layout update event Jun 26, 2013
index.html
test.html remove pre-Chrome 29 work-around, as Chrome 29 has been released Aug 21, 2013
test2.html added top float support Mar 24, 2013
test3.html add cross references Jun 17, 2013
test4.html use html5 elements for figures May 23, 2013
test4.png added screenshot Apr 26, 2013
test5.html added mathjax example Apr 16, 2013
test7.html use html5 elements for figures May 23, 2013
test8.html added table of tables May 23, 2013
test9.html simple magrin notes width same as other margin notes Jun 25, 2013

README.md

BookJS

BookJS is an effort to use the newest page formatting functions present in recent Chromium versions to convert a webpage into a set of pages formatted for printing, whch can be converted into a PDF with Chromium's print-to-PDF function.