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