aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-02-20 09:36:20 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-02-20 09:36:20 -0800
commit3a0ed995ca45648029a445302a16a92b8dfe6c86 (patch)
tree43354d991451f05441950d056d5ec7bc2612a41f
parentcf4e5f4520fa714fdd574478e918bfc68b3e0861 (diff)
downloadpandoc-3a0ed995ca45648029a445302a16a92b8dfe6c86.tar.gz
default.latex: include fontenc only if pdflatex engine is used.
See pandoc #1164.
-rw-r--r--default.latex2
1 files changed, 1 insertions, 1 deletions
diff --git a/default.latex b/default.latex
index 6bb70bc4b..3f833f5fd 100644
--- a/default.latex
+++ b/default.latex
@@ -1,5 +1,4 @@
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$lang$,$endif$$if(papersize)$$papersize$,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
-\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{amssymb,amsmath}
\usepackage{ifxetex,ifluatex}
@@ -7,6 +6,7 @@
% use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
+ \usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
$if(euro)$
\usepackage{eurosym}