Merge pull request #1320 from eofetis/manual-pdf-support

Add support for Sphinx+PDF+MathJax
This commit is contained in:
Axel Kohlmeyer
2019-02-22 15:10:13 -05:00
committed by GitHub
7 changed files with 52 additions and 14 deletions

View File

@ -211,7 +211,9 @@ latex_elements = {
#'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.
#'preamble': '',
'preamble': r'''
\setcounter{tocdepth}{2}
'''
}
# Grouping the document tree into LaTeX files. List of tuples
@ -229,7 +231,7 @@ latex_documents = [
# For "manual" documents, if this is true, then toplevel headings are parts,
# not chapters.
#latex_use_parts = False
latex_toplevel_sectioning = 'part'
# If true, show page references after internal links.
#latex_show_pagerefs = False