If you know how to achieve this in latex (eg. by \frontmatter,
\mainmatter, \backmatter) you can simple put these commands into your
source like this:
.. raw:: latex
\frontmatter
Am 22.01.2016 um 14:48 schrieb Matteo Ghetta:
>
> If you know how to achieve this in latex (eg. by \frontmatter,
> \mainmatter, \backmatter) you can simple put these commands into your
> source like this:
>
>
> .. raw:: latex
>
> \frontmatter
>
>
> actually I'm pretty new to latex.. :)
> I tried your solution adding a .. raw:: latex \frontmatter to one of my
> rst files (I have 9 of them, so 9 chapters).
> In the final pdf generated, **all** the different chapters are
> recognized as \frontmatter, so the whole pdf has no *real* chapters..
>
> Am I missing something?
>
\frontmatter marks foreword, tableofcontents etc.
Before you start with your first chapter insert:
.. raw:: latex
\mainmatter
This will start the normal part of your document.
If you want to separate appendices, eg. index, insert this:
.. raw:: latex
\backmatter
Hi Matteo,I found these two links to be useful when looking at this issue:The last one will be helpful if you are new to LaTeX.