On Monday 21 September 2009 16:39:22 MishaS wrote:
> On Sep 21, 9:45 pm, Roberto Alsina <[email protected]> wrote:
> > On Monday 21 September 2009 15:05:00 Tom Hoffman wrote:
> > > Is there any way to force page breaks in pdf generation?
> >
> > Via latex or via rst2pdf?
> 
> My take is: via rst2pdf :))  I'm actually missing page breaks before
> sections... :-/

Oh, that's easy ;-)

In your conf.py, add

pdf_break_level = 1

And you get pagebreaks in top-level sections, 2 for breaks on subsections, and 
so on.

You may also want to add

pdf_breakside = "odd"

or "even" or "any".

Best regards,

-- 
 ("\''/").__..-''"`-. .         Roberto Alsina
 `9_ 9  )   `-. (    ).`-._.`)  KDE Developer (MFCH)
 (_Y_.)' ._   ) `._`.  " -.-'  http://lateral.netmanagers.com.ar 
  _..`-'_..-_/ /-'_.'     The 6,855th most popular site of Slovenia   
(l)-'' ((i).' ((!.'       according to alexa.com (27/5/2007) 

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