diff options
author | Karl Berry <karl@freefriends.org> | 2010-09-12 22:41:30 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-09-12 22:41:30 +0000 |
commit | 5b78609106cd67951169ac7e33bf69bf41f22f11 (patch) | |
tree | 2b4d52ecee772a4016c5e8acc002228c480064b0 /Master/texmf-dist/tex/generic/ifxetex | |
parent | b7a0b0162c49aea864ceea62a3defd130f36660b (diff) |
ifxetex update (12sep10)
git-svn-id: svn://tug.org/texlive/trunk@19685 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/ifxetex')
-rw-r--r-- | Master/texmf-dist/tex/generic/ifxetex/ifxetex.sty | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/generic/ifxetex/ifxetex.sty b/Master/texmf-dist/tex/generic/ifxetex/ifxetex.sty index d3707febc03..367d3d2a845 100644 --- a/Master/texmf-dist/tex/generic/ifxetex/ifxetex.sty +++ b/Master/texmf-dist/tex/generic/ifxetex/ifxetex.sty @@ -1,5 +1,5 @@ % \iffalse -% Copyright 2006-2009 by Will Robertson <wspr81@gmail.com> +% Copyright 2006-2010 by Will Robertson <wspr81@gmail.com> % % Distributable under the LaTeX Project Public License, % version 1.3c or higher (your choice). The latest version of @@ -8,17 +8,18 @@ % This work is maintained by Will Robertson. % \fi -% Ensure loading a single time only +% Ensure loading a single time only. \csname ifxetexloaded\endcsname \let\ifxetexloaded\endinput -% Declare ourselves to \LaTeX +% Declare ourselves to \LaTeX. +\begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname ProvidesPackage\endcsname\relax\else \ProvidesPackage{ifxetex} - [2009/01/23 v0.5 Provides ifxetex conditional] + [2010/09/12 v0.6 Provides ifxetex conditional] \fi -% For \XeTeX-exclusive packages +% For \XeTeX-exclusive packages. \def\RequireXeTeX{% \ifxetex\else \begingroup @@ -39,8 +40,9 @@ \expandafter\endinput \fi -% Create and set \cmd\ifxetex\ accordingly +% Create and set \cmd\ifxetex\ accordingly. \newif\ifxetex +\begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname XeTeXrevision\endcsname\relax \xetexfalse \else |