Search code examples
pdflatexpython-sphinxrestructuredtext

sphinx add a page break in my pdf with latexpdf?


I generate a documentation from rst to pdf with latexpdf and sphinx.

How can I add some page break (=new page) in my PDF?

For now I use PageBreak but it only work with rst2pdf.

.. raw:: pdf

   PageBreak

Solution

  • You can use raw latex.

    .. raw:: latex
    
        \newpage