aboutsummaryrefslogtreecommitdiff
path: root/docs/source/conf.py
diff options
context:
space:
mode:
authorHoward Butler <howard@hobu.co>2017-06-29 13:17:26 -0500
committerGitHub <noreply@github.com>2017-06-29 13:17:26 -0500
commit4e0d0daf5d2cbd875f75d643d701b49a49c0b580 (patch)
tree4c2ed11fbfc6dec2f399719625d7ecd4a99de05a /docs/source/conf.py
parent9a9879e05461443e482e2762a9f7db5a2173e992 (diff)
downloadPROJ-4e0d0daf5d2cbd875f75d643d701b49a49c0b580.tar.gz
PROJ-4e0d0daf5d2cbd875f75d643d701b49a49c0b580.zip
Get PDF build output with Sphinx healthy (#533)
* Get PDF build output with Sphinx healthy * copy pdf to branch for upload on website
Diffstat (limited to 'docs/source/conf.py')
-rw-r--r--docs/source/conf.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py
index bbcc1d35..cbd02f10 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -207,6 +207,10 @@ htmlhelp_basename = 'proj4doc'
# -- Options for LaTeX output ---------------------------------------------
+
+preamble = r"""
+"""
+
latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#'papersize': 'letterpaper',
@@ -215,7 +219,8 @@ latex_elements = {
#'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.
-#'preamble': '',
+'preamble': preamble,
+'inputenc':'\usepackage[utf8x]{inputenc}'
# Latex figure (float) alignment
#'figure_align': 'htbp',