Hi Geert,
Le 05/06/2019 à 18:32, Geert Stappers a écrit :
Hi,
How to make appendix appear as appendix?
Example.rst:
----------------------------
===
Foo
===
Chapter content
===
Bar
===
Appendix content
----------------------------
Both, "Foo" and "Bar", get rendered as chapters in output.pdf.
In LaTeX there is an appendix package for say where appendicey start.
How to tell in the .rst file that "Bar" should be an Appendix?
This should work
===
Foo
===
Chapter content
.. raw:: latex
\appendix
===
Bar
===
Appendix content
All chapters after that will become appendices in the PDF.
\appendix macro is part of standard LaTeX report class which Sphinx uses by
default.
If you need something more sophisticated you can probably load additional LaTeX
packages via 'preamble' key of latex_elements, and insert the suitable raw
latex code as above.
Regards
Jean-François
--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sphinx-users/qd97dd%243j2b%241%40blaine.gmane.org.
For more options, visit https://groups.google.com/d/optout.