diff --git a/conf.py b/conf.py index 2d7aabd3..648f54b2 100644 --- a/conf.py +++ b/conf.py @@ -30,6 +30,7 @@ htmlhelp_basename = 'google-styleguide' html_add_permalinks = None +latex_engine = 'xelatex' file_insertion_enabled = False on_rtd = os.environ.get('READTHEDOCS', None) == 'True' if on_rtd: @@ -64,7 +65,7 @@ 'preamble' : r''' \usepackage{ctex} ''', } latex_documents = [ - ('index', 'google-styleguide.tex', u'Google 开源项目风格指南', + ('contents', 'google-styleguide.tex', u'Google 开源项目风格指南', u'', 'manual'), ]