CSS3 @media syntax for print
CSS Paged Media Module
CSS Generated Content for Paged Media Module
CSS page floats
Problems right now
Proprietary software in command line
Exception : Vivliostyle (based on the EPUB Adaptive Layout specifications)
A suite of Javascripts to paginate HTML/CSS in the browser, and to apply PagedMedia controls to paginated content for the purposes of exporting print-ready, or display-friendly, PDF from the browser
Starting the book in the browser
Fragment content into pages
Page breaks
Page breaks (CSS code)
widows and orphans
widows and orphans
forced page break
no forced page break with floats
Page breaks fine control (CSS code)
Justification
Justification = space problems
With hypens, it's better
With hypens, it's better
New problem: too many hyphenation
Two hyphens max
Line breaks fine control (CSS code)
Lonely letter at the end of the line
Non-breaking spaces in HTML
Flags when justifying left
Non-breaking spaces in HTML
Better result
Balancing title lines (case 1)
Balancing title lines with regex ?
Balancing title lines (case 2)
Balancing title lines with a script ? → meaning problem
To create a counter, we need:
Counters (CSS code)
Counters
Running headers
Running headers (CSS code)
Pseudo class selector for pages
Named pages
Page models
Problem: no baseline grid
Snap all element on the baseline grid
Table of content
Table of content (HTML code)
Table of content (CSS code)
Sample of cross reference
Code for cross references
Float property
Float property (CSS code)
Float page properties
Float page properties (CSS code)
A usefull float page keywords: snap()
Float page keywords: snap() (CSS code)
julie-blanc.fr
contact@julie-blanc.fr
@julieblancfr