Roberto Alsina wrote:
> On Monday 21 September 2009 16:52:17 Tom Hoffman wrote:
>> On Mon, Sep 21, 2009 at 2:45 PM, Roberto Alsina
>>
>> <[email protected]> wrote:
>>> On Monday 21 September 2009 15:05:00 Tom Hoffman wrote:
>>>> Hi all,
>>>>
>>>> Is there any way to force page breaks in pdf generation?
>>> Via latex or via rst2pdf?
>> Well... just generally inserting page breaks in my Sphinx scripts.  I
>> don't have any preference regarding the specific technique.
> 
> They are builder-specific, I think. For example, for HTML they make no sense.

There are CSS print styles to affect HTML print documents. Untested example:

.. raw:: html

    <br style="page-break-after: always" />

Another approach might be:

.. cssclass:: pagebreak

Paragraph or section or whatever...

Then add to the stylesheet:

.pagebreak { page-break-before: always }

--
--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
-~----------~----~----~----~------~----~------~--~---

Reply via email to