git.iko.soy/typeable/pandoc
on master help sign in
LaTeX template changes:

- only pass options to color package if colorlinks is set - make definition of `\euro` conditional in xelatex/lualatex, as it is already for pdflatex (Andrew Dunning)

commite5c72caf29026d91a1ae6bae81d2304fecd40d80 authorJohn MacFarlane <jgm@berkeley.edu> dateThu 3 Dec 2015, 10:44 (11 years ago) parent7b66f84
5 files changed+1−9
data/templates+1−1 tests/lhs-test.latex−2 tests/lhs-test.latex+lhs−2 tests/writer.latex−2 tests/writers-lang-and-dir.latex−2
data/templates+1−1

Submodule changed.

tests/lhs-test.latex−2
@@ -13,7 +13,6 @@
1313 \usepackage{fontspec}
1414 \fi
1515 \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
16− \newcommand{\euro}{€}
1716\fi
1817% use upquote if available, for straight quotes in verbatim environments
1918\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
@@ -23,7 +22,6 @@
2322\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
2423}{}
2524\usepackage{hyperref}
26−\PassOptionsToPackage{usenames,dvipsnames}{color} % color is loaded by hyperref
2725\hypersetup{unicode=true,
2826 pdfborder={0 0 0},
2927 breaklinks=true}
tests/lhs-test.latex+lhs−2
@@ -13,7 +13,6 @@
1313 \usepackage{fontspec}
1414 \fi
1515 \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
16− \newcommand{\euro}{€}
1716\fi
1817% use upquote if available, for straight quotes in verbatim environments
1918\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
@@ -23,7 +22,6 @@
2322\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
2423}{}
2524\usepackage{hyperref}
26−\PassOptionsToPackage{usenames,dvipsnames}{color} % color is loaded by hyperref
2725\hypersetup{unicode=true,
2826 pdfborder={0 0 0},
2927 breaklinks=true}
tests/writer.latex−2
@@ -13,7 +13,6 @@
1313 \usepackage{fontspec}
1414 \fi
1515 \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
16− \newcommand{\euro}{€}
1716\fi
1817% use upquote if available, for straight quotes in verbatim environments
1918\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
@@ -23,7 +22,6 @@
2322\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
2423}{}
2524\usepackage{hyperref}
26−\PassOptionsToPackage{usenames,dvipsnames}{color} % color is loaded by hyperref
2725\hypersetup{unicode=true,
2826 pdftitle={Pandoc Test Suite},
2927 pdfauthor={John MacFarlane; Anonymous},
tests/writers-lang-and-dir.latex−2
@@ -13,7 +13,6 @@
1313 \usepackage{fontspec}
1414 \fi
1515 \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
16− \newcommand{\euro}{€}
1716\fi
1817% use upquote if available, for straight quotes in verbatim environments
1918\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
@@ -23,7 +22,6 @@
2322\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
2423}{}
2524\usepackage{hyperref}
26−\PassOptionsToPackage{usenames,dvipsnames}{color} % color is loaded by hyperref
2725\hypersetup{unicode=true,
2826 pdfborder={0 0 0},
2927 breaklinks=true}