Hi,
You can construct directories for each latex contents and one html contents as:
- project/
+-- conf.py (for html output)
+-- index.rst
+-- User_Guide/
| +-- index.rst
| +-- conf.py (for User_Guide)
| +-- Makefile (for User_Guide)
|
+-- Verification_Report/
| +-- index.rst
| +-- conf.py (for Verification_Report)
| +-- Makefile (for Verification_Report)
|
+-- Release_Report/
+-- index.rst
+-- conf.py (for Release_Report)
+-- Makefile (for Release_Report)
In this way, you need to do `make latexpdf` in each sub directories.
I think it's a workaround, but effective.
Regards,
--
Takayuki SHIMIZUKAWA
http://about.me/shimizukawa
2014-10-14 9:00 GMT+09:00 Brett Swanson <[email protected]>:
> I have a set of documents, each in their own sub-directory.
> I want one set of HTML files that contain all the documents.
> I also need a separate PDF for each document.
> (This is similar to the official python docs).
> My conf.py contains this:
>
> doc_number = '1234' # I want this to be different for each latex document.
>
> latex_elements = {
> # Additional stuff for the LaTeX preamble.
> 'preamble': r'''
> \usepackage{fancyhdr}
> \pagestyle{fancy}
> \lfoot{Document Number: %s}
> ''' % (doc_number),
> }
>
> latex_documents = [
> ('User_Guide/index', 'User_Guide.tex', 'User Guide',
> _author, 'howto'),
> ('Verification_Report/index', 'Verification_Report.tex', 'Verification
> Report', _author, 'howto'),
> ('Release_Report/index', 'Release_Report.tex', 'Release Report',
> _author, 'howto'),
> ]
>
> My problem is that each document (User Guide, Verification Report, Release
> Report) needs to have a different document number
> in its page footer, but "latex_elements" is shared between all documents.
> Any suggestions?
>
> Thanks,
> Brett
>
> --
> 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 http://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/d/optout.
--
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 http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.