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.

Reply via email to