From fc8208e8bc5e9be95dea38e230f88cb2c803c9b9 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Mon, 6 Feb 2017 10:50:36 +0100
Subject: Use unicode-math by default in default.latex template.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

mathspec will be used in xelatex if the `mathspec` variable is
set; otherwise unicode-math will be used.

Thanks to Václav Haisman.
---
 test/lhs-test.latex | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

(limited to 'test/lhs-test.latex')

diff --git a/test/lhs-test.latex b/test/lhs-test.latex
index d1ad9db69..bc02b6ae5 100644
--- a/test/lhs-test.latex
+++ b/test/lhs-test.latex
@@ -7,11 +7,7 @@
   \usepackage[T1]{fontenc}
   \usepackage[utf8]{inputenc}
 \else % if luatex or xelatex
-  \ifxetex
-    \usepackage{mathspec}
-  \else
-    \usepackage{fontspec}
-  \fi
+  \usepackage{unicode-math}
   \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
 \fi
 % use upquote if available, for straight quotes in verbatim environments
-- 
cgit v1.2.3

