Hi *, originally I posted this question on stackoverflow.com (http:// stackoverflow.com/q/4336335/151299), but I got no answer so far. Maybe I have to address a more specific community to get this solved, that's why I'm asking here again:
I've used Sphinx to document a Python library. So far this works great, I get nice HTML and LaTeX output. Concerning Latex, Sphinx generates a complete standalone document with lots of special packages and configurations. But, I would like to integrate the generated Latex files within an already existing Latex project (more precise: in the appendix of a book). In particular I want the Sphinx-generated documentation pages to have the header, footer and section heading styles of the parent document. I guess I could somehow transfer the relevant parts by manually removing unneeded stuff and adjusting various options in the tex files generated by Sphinx. However, probably this is going to be a very tedious fiddling taking too much of my time (thinking of conflicting packages and options I have to detect and fix). Ideally Sphinx would just output some package and command declarations I can include in the preamble of the existing LaTeX document and the actual content which can be included anywhere in the document area. Does Sphinx' Latex-Builder support such a use case? If not, is there a more general approach how to merge independent Latex-documents (with respect to uniform layout in the merged result)? Thanks for any hints! -- 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.
