From 95b0f288318bb763583f03d3a43099c5abdc66f7 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 7 Mar 2012 13:29:03 -0800 Subject: Updated tests for euro-related template changes. --- tests/lhs-test.latex | 3 +++ tests/lhs-test.latex+lhs | 3 +++ tests/writer.latex | 3 +++ 3 files changed, 9 insertions(+) (limited to 'tests') diff --git a/tests/lhs-test.latex b/tests/lhs-test.latex index 4bb2ab1a6..2f178a67e 100644 --- a/tests/lhs-test.latex +++ b/tests/lhs-test.latex @@ -4,12 +4,15 @@ \ifxetex \usepackage{fontspec,xltxtra,xunicode} \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} + \newcommand{\euro}{€} \else \ifluatex \usepackage{fontspec} \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} + \newcommand{\euro}{€} \else \usepackage[utf8]{inputenc} + \usepackage{eurosym} \fi \fi \usepackage{color} diff --git a/tests/lhs-test.latex+lhs b/tests/lhs-test.latex+lhs index d80d02a38..fc0d7adca 100644 --- a/tests/lhs-test.latex+lhs +++ b/tests/lhs-test.latex+lhs @@ -4,12 +4,15 @@ \ifxetex \usepackage{fontspec,xltxtra,xunicode} \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} + \newcommand{\euro}{€} \else \ifluatex \usepackage{fontspec} \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} + \newcommand{\euro}{€} \else \usepackage[utf8]{inputenc} + \usepackage{eurosym} \fi \fi \usepackage{listings} diff --git a/tests/writer.latex b/tests/writer.latex index 55cf57970..ba2a40e65 100644 --- a/tests/writer.latex +++ b/tests/writer.latex @@ -4,12 +4,15 @@ \ifxetex \usepackage{fontspec,xltxtra,xunicode} \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} + \newcommand{\euro}{€} \else \ifluatex \usepackage{fontspec} \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} + \newcommand{\euro}{€} \else \usepackage[utf8]{inputenc} + \usepackage{eurosym} \fi \fi \usepackage{fancyvrb} -- cgit v1.2.3