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 If you want to customize the latex output of Sphinx, have a look at the available LaTeX documentation. juh -- Software-Dokumentation mit Sphinx http://www.amazon.de/dp/1497448689/ Paperback: 224 Seiten -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users+unsubscr...@googlegroups.com. To post to this group, send email to sphinx-users@googlegroups.com. Visit this group at https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.