Sphinx add page break in my pdf with latexpdf?

I am creating documentation from rst to pdf with latexpdf and sphinx.

How to add a page break (= new page) to my PDF file?

Now I use PageBreak, but it only works with rst2pdf.

.. raw:: pdf PageBreak 
+7
pdf restructuredtext latex python-sphinx
source share
2 answers

You can use raw latex.

 .. raw:: latex \newpage 
+9
source share

Maybe a slightly better solution that also resets all pending ascent:

 .. raw:: latex \clearpage 
+6
source share

All Articles