Welcome to pagination.js
Page headers, footnotes, pagenumbers, multi columns, TOC, using CSS Regions
Steps:
- Download a recent version of Chromium/Chrome (29+) or Safari 6.1/7.0
- If you use Chrome/Chromium:
- Open a new tab and go to "
chrome://flags/
"
- Search for "Webkit Experimental Features" and enable them
- Restart your browser
- Read the "Notice" below so you know what to look for and then
- Check out the simple test book, a book with many chapters, or a book with a very long chapter, top floats.
Screenshot
You can find a screenshot of the last test here.
Notice:
- There are multiple numbered "pages"
- The TOC is generated from the H1 tags and includes the page number the tag occurs on.
Configuration:
For configuration options, check the sourcefile pagination.js.
Footnotes:
In order to insert a footnote into the source text, simply insert it as a span with a class 'pagination-footnote', such as <span class='pagination-footnote'><span><span>This a footnote</span></span></span>. See also the source code of the Test Page.
License:
pagination.js is licensed under the AGPL license. For further information, check LICENSE.txt.