aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2014-05-06 09:05:46 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2014-05-06 09:05:46 -0700
commit5de411030bfcf0b369d10ff084caaad8b37ccfd6 (patch)
tree3540e0a4d95eedd20d12b475c434bcaded67d284
parent3719269b45aaf62f5273e37fdd6c31bf3ed19017 (diff)
downloadpandoc-5de411030bfcf0b369d10ff084caaad8b37ccfd6.tar.gz
Load upquote after fontenc in latex template.
-rw-r--r--default.beamer1
-rw-r--r--default.latex4
2 files changed, 3 insertions, 2 deletions
diff --git a/default.beamer b/default.beamer
index 9775b332b..3aa3c5963 100644
--- a/default.beamer
+++ b/default.beamer
@@ -32,6 +32,7 @@ $endif$
$endif$
\fi
\fi
+% use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
% use microtype if available
\IfFileExists{microtype.sty}{\usepackage{microtype}}{}
diff --git a/default.latex b/default.latex
index f1b1d19b4..5cfd7620c 100644
--- a/default.latex
+++ b/default.latex
@@ -3,8 +3,6 @@
\usepackage{amssymb,amsmath}
\usepackage{ifxetex,ifluatex}
\usepackage{fixltx2e} % provides \textsubscript
-% 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}
@@ -33,6 +31,8 @@ $if(mathfont)$
\setmathfont(Digits,Latin,Greek){$mathfont$}
$endif$
\fi
+% use upquote if available, for straight quotes in verbatim environments
+\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
% use microtype if available
\IfFileExists{microtype.sty}{\usepackage{microtype}}{}
$if(geometry)$