-
-
Notifications
You must be signed in to change notification settings - Fork 31k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix some deprecation warnings in Doc/conf.py * Fix an rst error in Misc/NEWS
- Loading branch information
Showing
3 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,11 +88,24 @@ | |
# Options for LaTeX output | ||
# ------------------------ | ||
|
||
# Get LaTeX to handle Unicode correctly | ||
latex_elements = {'inputenc': r'\usepackage[utf8x]{inputenc}', 'utf8extra': ''} | ||
|
||
# Additional stuff for the LaTeX preamble. | ||
latex_elements['preamble'] = r''' | ||
\authoraddress{ | ||
\strong{Python Software Foundation}\\ | ||
Email: \email{[email protected]} | ||
} | ||
\let\Verbatim=\OriginalVerbatim | ||
\let\endVerbatim=\endOriginalVerbatim | ||
''' | ||
|
||
# The paper size ('letter' or 'a4'). | ||
latex_paper_size = 'a4' | ||
latex_elements['papersize'] = 'a4' | ||
|
||
# The font size ('10pt', '11pt' or '12pt'). | ||
latex_font_size = '10pt' | ||
latex_elements['font_size'] = '10pt' | ||
|
||
# Grouping the document tree into LaTeX files. List of tuples | ||
# (source start file, target name, title, author, document class [howto/manual]). | ||
|
@@ -125,22 +138,9 @@ | |
for fn in os.listdir('howto') | ||
if fn.endswith('.rst') and fn != 'index.rst') | ||
|
||
# Additional stuff for the LaTeX preamble. | ||
latex_preamble = r''' | ||
\authoraddress{ | ||
\strong{Python Software Foundation}\\ | ||
Email: \email{[email protected]} | ||
} | ||
\let\Verbatim=\OriginalVerbatim | ||
\let\endVerbatim=\endOriginalVerbatim | ||
''' | ||
|
||
# Documents to append as an appendix to all manuals. | ||
latex_appendices = ['glossary', 'about', 'license', 'copyright'] | ||
|
||
# Get LaTeX to handle Unicode correctly | ||
latex_elements = {'inputenc': r'\usepackage[utf8x]{inputenc}', 'utf8extra': ''} | ||
|
||
# Options for Epub output | ||
# ----------------------- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters