On 2011-08-20, Thomas wrote:
> I have to make a summary of multiple works which have all been
> documented using Sphinx, with a LaTex output.
> Those documentations must be inserted in my summary as appendices, but
> can't find a way to do that correctly.
> Is there a simple way to insert those documents as appendices ?
I don't know.
> If not, is there a simple way to create the appendices manually, by
> inserting a cleaned version of generated LaTex files to the summary
> one ?
You might try this kind of post processing:
* in the generated *.tex files, strip all lines before and including
``\begin{document}`` and the line with ``\end{document}``
* in the "master file", add commands like::
\input{firstappendix.tex}
\input{secondappendix.tex}
...
at the place the appendices should appear. Either as raw latex in the
source or in a post-processing step.
> I've also thought about inserting those files in the toctree of my
> summary, but how can I indicate they should have a roman chapter
> number (A, B, ...) ?
Insert ``\appendix`` (as raw LaTeX) just before the \includes.
> Thanks for answers.
> Thomas
--
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en.