Updated tests for template changes.

This commit is contained in:
John MacFarlane 2015-11-12 16:09:41 -08:00
parent fe56af9cd3
commit 0fd138167c
6 changed files with 28 additions and 34 deletions

View file

@ -24,12 +24,9 @@
}{}
\usepackage{hyperref}
\PassOptionsToPackage{usenames,dvipsnames}{color} % color is loaded by hyperref
\hypersetup{breaklinks=true,
unicode=true, colorlinks=true,
citecolor=black,
urlcolor=black,
linkcolor=black,
pdfborder={0 0 0}}
\hypersetup{unicode=true,
pdfborder={0 0 0},
breaklinks=true}
\urlstyle{same} % don't use monospace font for urls
\usepackage{color}
\usepackage{fancyvrb}

View file

@ -24,12 +24,9 @@
}{}
\usepackage{hyperref}
\PassOptionsToPackage{usenames,dvipsnames}{color} % color is loaded by hyperref
\hypersetup{breaklinks=true,
unicode=true, colorlinks=true,
citecolor=black,
urlcolor=black,
linkcolor=black,
pdfborder={0 0 0}}
\hypersetup{unicode=true,
pdfborder={0 0 0},
breaklinks=true}
\urlstyle{same} % don't use monospace font for urls
\usepackage{listings}
\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}

View file

@ -1,17 +1,19 @@
% Enable hyperlinks
\setupinteraction
[state=start,
style=normal,
color=black,
contrastcolor=black,
title=Pandoc Test Suite,
author=John MacFarlane; Anonymous]
title={Pandoc Test Suite},
author={John MacFarlane; Anonymous},
style=,
color=,
contrastcolor=]
% make chapter, section bookmarks visible when opening document
\placebookmarks[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][chapter, section]
\setupinteractionscreen[option=bookmark]
\setuptagging[state=start]
\definefontfeature[default][default][protrusion=quality,expansion=quality,onum=yes] % use microtypography
% use microtypography
\definefontfeature[default][default][protrusion=quality,expansion=quality,onum=yes,pnum=yes]
\definefontfeature[smallcaps][smallcaps][protrusion=quality,expansion=quality,onum=yes,pnum=yes]
\setupalign[hz,hanging]
\setupbodyfontenvironment[default][em=italic] % use italic as em, not slanted
\setupbodyfont[mainfont]

View file

@ -24,12 +24,11 @@
}{}
\usepackage{hyperref}
\PassOptionsToPackage{usenames,dvipsnames}{color} % color is loaded by hyperref
\hypersetup{breaklinks=true,
unicode=true, pdftitle={Pandoc Test Suite}, pdfauthor={John MacFarlane; Anonymous}, colorlinks=true,
citecolor=black,
urlcolor=black,
linkcolor=black,
pdfborder={0 0 0}}
\hypersetup{unicode=true,
pdftitle={Pandoc Test Suite},
pdfauthor={John MacFarlane; Anonymous},
pdfborder={0 0 0},
breaklinks=true}
\urlstyle{same} % don't use monospace font for urls
\usepackage{fancyvrb}
\VerbatimFootnotes % allows verbatim text in footnotes

View file

@ -1,15 +1,17 @@
% Enable hyperlinks
\setupinteraction
[state=start,
style=normal,
color=black,
contrastcolor=black]
style=,
color=,
contrastcolor=]
% make chapter, section bookmarks visible when opening document
\placebookmarks[chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][chapter, section]
\setupinteractionscreen[option=bookmark]
\setuptagging[state=start]
\definefontfeature[default][default][protrusion=quality,expansion=quality,onum=yes] % use microtypography
% use microtypography
\definefontfeature[default][default][protrusion=quality,expansion=quality,onum=yes,pnum=yes]
\definefontfeature[smallcaps][smallcaps][protrusion=quality,expansion=quality,onum=yes,pnum=yes]
\setupalign[hz,hanging]
\setupbodyfontenvironment[default][em=italic] % use italic as em, not slanted
\setupbodyfont[mainfont]

View file

@ -24,12 +24,9 @@
}{}
\usepackage{hyperref}
\PassOptionsToPackage{usenames,dvipsnames}{color} % color is loaded by hyperref
\hypersetup{breaklinks=true,
unicode=true, colorlinks=true,
citecolor=black,
urlcolor=black,
linkcolor=black,
pdfborder={0 0 0}}
\hypersetup{unicode=true,
pdfborder={0 0 0},
breaklinks=true}
\urlstyle{same} % don't use monospace font for urls
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
\usepackage[shorthands=off,ngerman,british,ngerman,spanish,french,main=english]{babel}