On 9/21/2009 19:35, Max Battcher wrote:
> .. cssclass:: pagebreak
Or just .. class:: once the code directive renaming takes place, of course.
> Paragraph or section or whatever...
>
> Then add to the stylesheet:
>
> .pagebreak { page-break-before: always }
Following this approach to its logical conclusion... Would it make sense
to standardize on a class name here and then encourage all of the Sphinx
builders that have some sort of print form to look for a standard class
name and always page break before/after items tagged with it? (That is,
make it a part of the default stylesheets of as many builders as possible.)
It seems to me that a generic class that most or even all builders
respond to for "forcing" page breaks in print layouts might be handy to
have (and to document having).
--
--Max Battcher--
http://worldmaker.net
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---