On 22 January 2016 at 15:10, Jan Ulrich Hasecke < [email protected]> wrote:
> 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 > Hi Matteo, I found these two links to be useful when looking at this issue: https://tex.stackexchange.com/questions/226865/backmatter-not-working https://tex.stackexchange.com/questions/20538/what-is-the-right-order-when-using-frontmatter-tableofcontents-mainmatter The last one will be helpful if you are new to LaTeX. Kevin -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.
