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
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
Maybe a slightly better solution, which also "flushes" all pending floats:
.. raw:: latex
\clearpage
When using myst-parser you can use:
```{rst-eval}
.. raw:: latex
\newpage
```
first to break out of md. The second as an interpretation in latex.
© 2022 - 2024 — McMap. All rights reserved.