git.iko.soy/typeable/pandoc
on master help sign in
Updated tests for latex template change (microtype).
commitd5c2ace9ae0792050df4b9855a71f5c182da14e9 authorJohn MacFarlane <fiddlosopher@gmail.com> dateWed 27 Feb 2013, 19:42 (14 years ago) parenta19971d
3 files changed+6−6
tests/lhs-test.latex+2−2 tests/lhs-test.latex+lhs+2−2 tests/writer.latex+2−2
tests/lhs-test.latex+2−2
@@ -4,8 +4,6 @@
44\usepackage{amssymb,amsmath}
55\usepackage{ifxetex,ifluatex}
66\usepackage{fixltx2e} % provides \textsubscript
7−% use microtype if available
8−\IfFileExists{microtype.sty}{\usepackage{microtype}}{}
97% use upquote if available, for straight quotes in verbatim environments
108\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
119\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
@@ -18,6 +16,8 @@
1816 \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
1917 \newcommand{\euro}{€}
2018\fi
19+% use microtype if available
20+\IfFileExists{microtype.sty}{\usepackage{microtype}}{}
2121\usepackage{color}
2222\usepackage{fancyvrb}
2323\DefineShortVerb[commandchars=\\\{\}]{\|}
tests/lhs-test.latex+lhs+2−2
@@ -4,8 +4,6 @@
44\usepackage{amssymb,amsmath}
55\usepackage{ifxetex,ifluatex}
66\usepackage{fixltx2e} % provides \textsubscript
7−% use microtype if available
8−\IfFileExists{microtype.sty}{\usepackage{microtype}}{}
97% use upquote if available, for straight quotes in verbatim environments
108\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
119\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
@@ -18,6 +16,8 @@
1816 \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
1917 \newcommand{\euro}{€}
2018\fi
19+% use microtype if available
20+\IfFileExists{microtype.sty}{\usepackage{microtype}}{}
2121\usepackage{listings}
2222\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
2323\ifxetex
tests/writer.latex+2−2
@@ -4,8 +4,6 @@
44\usepackage{amssymb,amsmath}
55\usepackage{ifxetex,ifluatex}
66\usepackage{fixltx2e} % provides \textsubscript
7−% use microtype if available
8−\IfFileExists{microtype.sty}{\usepackage{microtype}}{}
97% use upquote if available, for straight quotes in verbatim environments
108\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
119\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
@@ -18,6 +16,8 @@
1816 \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
1917 \newcommand{\euro}{€}
2018\fi
19+% use microtype if available
20+\IfFileExists{microtype.sty}{\usepackage{microtype}}{}
2121\usepackage{fancyvrb}
2222\usepackage{graphicx}
2323% We will generate all images so they have a width \maxwidth. This means