Fix PDF build

This commit is contained in:
Dongdong Tian 2019-06-01 12:55:52 -04:00
parent 3867cb9e87
commit cadefaf7ee

View File

@ -152,20 +152,22 @@ htmlhelp_basename = 'Makefiledoc'
latex_engine="xelatex"
latex_elements = {
'papersize' : 'a4paper',
'utf8extra' : '',
'inputenc' : '',
'figure_align' : 'H',
'fncychap' : '', # use default chapter style from ctex
'babel' : '',
'polyglossia': '',
'fontpkg' : '',
'cmappkg' : '',
'fontenc' : '',
'releasename' : 'By SeisMan@GitHub',
'utf8extra' : '',
'inputenc' : '',
'release' : '',
'babel' : r'''\usepackage[english]{babel}''',
'maketitle' : '\\maketitle',
'preamble' : r'''
\usepackage{ctex}
\parindent 2em
\setcounter{tocdepth}{3}
\renewcommand\familydefault{\ttdefault}
\renewcommand\CJKfamilydefault{\CJKrmdefault}
''',
'''
}
# Grouping the document tree into LaTeX files. List of tuples