On 05-06-2019 22:07, jfbu wrote:
> 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.


Yes, it does.  Thanks


>
> \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


Regards

Geert



-- 
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/a5d5a7e2-4f7b-acbf-7bb3-b3979963163a%40hendrikx-itc.nl.
For more options, visit https://groups.google.com/d/optout.

Reply via email to