You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
camilo 7da43ba836 Updates for the flask app 2 years ago
..
README.md Updates for the flask app 2 years ago
img-interface_v0.2.png Updates for the flask app 2 years ago
interface.css Updates for the flask app 2 years ago

README.md

Interface for the polyfill

Paged.js will manipulate the DOM so the browser can understand the css rules you wrote. On screen, pages will be shown from top to bottom on the left side of the page. To have a better understanding of whats happening on the page, we made a small CSS file call interface that defines the layout to show your book on screen. Since were using @media screen, page borders and shadow wont appear on paper when printed.

Note that when the PDF is generated the pages are always in recto/verso, it'is not possible to lay out the pages on a plate.

How to use it

Download the interface.css file and link the stylesheet to your document in the <head>:

<link href="path/to/file/interface.css" rel="stylesheet" type="text/css">

Please check the file, as it already offers options to show facing pages, recto/verso, baseline, etc.

Releases

v0.1

git checkout a1b3200e

  • Show facing pages or recto-verso (uncomment line of code for recto-verso)
  • Show baseline (uncomment line of code)
  • Show margin boxes (default: transparent)
  • Variables to change the look

v0.2

git checkout 828b9865

  • Delete bleed inside for facing pages (on screen only)

Screenshot of the interface (v0.2)