Commit a51f61b5 authored by Georg Brandl's avatar Georg Brandl

Update for latest sphinx latex writer.

parent 7be67ff2
...@@ -102,29 +102,29 @@ latex_font_size = '10pt' ...@@ -102,29 +102,29 @@ latex_font_size = '10pt'
# (source start file, target name, title, author, document class [howto/manual]). # (source start file, target name, title, author, document class [howto/manual]).
_stdauthor = r'Guido van Rossum\\Fred L. Drake, Jr., editor' _stdauthor = r'Guido van Rossum\\Fred L. Drake, Jr., editor'
latex_documents = [ latex_documents = [
('c-api/index.rst', 'c-api.tex', ('c-api/index', 'c-api.tex',
'The Python/C API', _stdauthor, 'manual'), 'The Python/C API', _stdauthor, 'manual'),
('distutils/index.rst', 'distutils.tex', ('distutils/index', 'distutils.tex',
'Distributing Python Modules', _stdauthor, 'manual'), 'Distributing Python Modules', _stdauthor, 'manual'),
('documenting/index.rst', 'documenting.tex', ('documenting/index', 'documenting.tex',
'Documenting Python', 'Georg Brandl', 'manual'), 'Documenting Python', 'Georg Brandl', 'manual'),
('extending/index.rst', 'extending.tex', ('extending/index', 'extending.tex',
'Extending and Embedding Python', _stdauthor, 'manual'), 'Extending and Embedding Python', _stdauthor, 'manual'),
('install/index.rst', 'install.tex', ('install/index', 'install.tex',
'Installing Python Modules', _stdauthor, 'manual'), 'Installing Python Modules', _stdauthor, 'manual'),
('library/index.rst', 'library.tex', ('library/index', 'library.tex',
'The Python Library Reference', _stdauthor, 'manual'), 'The Python Library Reference', _stdauthor, 'manual'),
('reference/index.rst', 'reference.tex', ('reference/index', 'reference.tex',
'The Python Language Reference', _stdauthor, 'manual'), 'The Python Language Reference', _stdauthor, 'manual'),
('tutorial/index.rst', 'tutorial.tex', ('tutorial/index', 'tutorial.tex',
'Python Tutorial', _stdauthor, 'manual'), 'Python Tutorial', _stdauthor, 'manual'),
('using/index.rst', 'using.tex', ('using/index', 'using.tex',
'Using Python', _stdauthor, 'manual'), 'Using Python', _stdauthor, 'manual'),
('whatsnew/' + version + '.rst', 'whatsnew.tex', ('whatsnew/' + version, 'whatsnew.tex',
'What\'s New in Python', 'A. M. Kuchling', 'howto'), 'What\'s New in Python', 'A. M. Kuchling', 'howto'),
] ]
# Collect all HOWTOs individually # Collect all HOWTOs individually
latex_documents.extend(('howto/' + fn, 'howto-' + fn[:-4] + '.tex', latex_documents.extend(('howto/' + fn[:-4], 'howto-' + fn[:-4] + '.tex',
'HOWTO', _stdauthor, 'howto') 'HOWTO', _stdauthor, 'howto')
for fn in os.listdir('howto') for fn in os.listdir('howto')
if fn.endswith('.rst') and fn != 'index.rst') if fn.endswith('.rst') and fn != 'index.rst')
...@@ -138,4 +138,4 @@ latex_preamble = r''' ...@@ -138,4 +138,4 @@ latex_preamble = r'''
''' '''
# Documents to append as an appendix to all manuals. # Documents to append as an appendix to all manuals.
latex_appendices = ['glossary.rst', 'about.rst', 'license.rst', 'copyright.rst'] latex_appendices = ['glossary', 'about', 'license', 'copyright']
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment