From 201b99a23906e8da10cc637778cd8029f038398b Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 29 Jul 2011 23:48:36 -0700 Subject: LaTeX: Use ifxetex and ifluatex instead of iftex package. These are included in "core" latex distributions, like BasicTeX. --- default.latex | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'default.latex') diff --git a/default.latex b/default.latex index addfea8c4..fb171d1a0 100644 --- a/default.latex +++ b/default.latex @@ -1,11 +1,12 @@ \documentclass$if(fontsize)$[$fontsize$]$endif${article} \usepackage{amssymb,amsmath} -\usepackage{iftex} -\ifXeTeX +\usepackage{ifxetex} +\usepackage{ifluatex} +\ifxetex \usepackage{fontspec,xltxtra,xunicode} \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} \else - \ifLuaTeX + \ifluatex \usepackage{fontspec} \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} \else @@ -62,7 +63,7 @@ $if(graphics)$ \let\Oldincludegraphics\includegraphics \renewcommand{\includegraphics}[1]{\Oldincludegraphics[width=\maxwidth]{#1}} $endif$ -\ifXeTeX +\ifxetex \usepackage[setpagesize=false, % page size defined by xetex unicode=false, % unicode breaks when used with xetex xetex]{hyperref} -- cgit v1.2.3