diff options
author | jfbu <jfbu@free.fr> | 2016-11-04 22:17:34 +0100 |
---|---|---|
committer | jfbu <jfbu@free.fr> | 2016-11-04 22:17:34 +0100 |
commit | be8034e1312ae9df69605ac366a293f370d989a4 (patch) | |
tree | 8a4b76c6e18621b764ba88f50c381844f7bc316d | |
parent | cf246d09c0a2d5b7924a691bf49dc54f4847406c (diff) | |
download | sphinx-git-be8034e1312ae9df69605ac366a293f370d989a4.tar.gz |
make inputenc template use conditional on latex_engine being pdflatex
-rw-r--r-- | sphinx/templates/latex/content.tex_t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sphinx/templates/latex/content.tex_t b/sphinx/templates/latex/content.tex_t index 670a92f46..1581a5822 100644 --- a/sphinx/templates/latex/content.tex_t +++ b/sphinx/templates/latex/content.tex_t @@ -15,7 +15,9 @@ \fi \sphinxpxdimen=<%= pxunit %>\relax <%= passoptionstopackages %> <%= geometry %> +<% if latex_engine == 'pdflatex' -%> <%= inputenc %> +<% endif -%> <%= utf8extra %> <%= cmappkg %> <%= fontenc %> |