From 3a0ed995ca45648029a445302a16a92b8dfe6c86 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 20 Feb 2014 09:36:20 -0800 Subject: default.latex: include fontenc only if pdflatex engine is used. See pandoc #1164. --- default.latex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- cgit v1.2.3