summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/ifxetex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-09-30 00:05:18 +0000
committerKarl Berry <karl@freefriends.org>2008-09-30 00:05:18 +0000
commit0043499a7e626619377185204ab8269c9a8ac8cc (patch)
treec2f4c935535a939a0fe70474145a056ea1cf73b3 /Master/texmf-dist/tex/generic/ifxetex
parentadd0cf86e889459ca041543cfe8e6c816f3e50f0 (diff)
ifxetex update (29sep08)
git-svn-id: svn://tug.org/texlive/trunk@10792 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/ifxetex')
-rw-r--r--Master/texmf-dist/tex/generic/ifxetex/ifxetex.sty38
1 files changed, 15 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/generic/ifxetex/ifxetex.sty b/Master/texmf-dist/tex/generic/ifxetex/ifxetex.sty
index 1766fd27306..d5d3e814e0c 100644
--- a/Master/texmf-dist/tex/generic/ifxetex/ifxetex.sty
+++ b/Master/texmf-dist/tex/generic/ifxetex/ifxetex.sty
@@ -1,49 +1,41 @@
-% Copyright 2006 by Will Robertson <wspr81@gmail.com>
-%
+%% LaTeX2e file `ifxetex.sty'
+%% generated by the `filecontents' environment
+%% from source `ifxetex' on 2008/09/30.
+%%
+% \iffalse
+% Copyright 2006-2008 by Will Robertson <wspr81@gmail.com>
+%
% Distributable under the LaTeX Project Public License,
% version 1.3c or higher (your choice). The latest version of
% this license is at: http://www.latex-project.org/lppl.txt
%
-% This work is "maintained" (as per LPPL maintenance status)
+% This work is "maintained" (as per LPPL maintenance status)
% by Will Robertson.
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% The ifxetex package, version 0.3
-%%
-%% Usage: LaTeX - \usepackage{ifxetex}
-%% Plain - \input ifxetex.sty
-%%
-%% Function: Provides the \ifxetex boolean for testing
-%% whether XeTeX is being used for typesetting.
-%%
-%% Provides the \RequireXeTeX command which throws
-%% an error if XeTeX is not the engine in use.
-%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% \fi
% Ensure loading a single time only
\csname ifxetexloaded\endcsname
\let\ifxetexloaded\endinput
-% Declare ourselves to LaTeX
+% Declare ourselves to \LaTeX
\expandafter\ifx\csname ProvidesPackage\endcsname\relax\else
\ProvidesPackage{ifxetex}
- [2006/08/21 v0.3 Provides ifxetex conditional]
+ [2008/09/18 v0.4 Provides ifxetex conditional]
\fi
-% Create, if necessary, the \ifxetex conditional
+% Create, if necessary, the \cmd\ifxetex\ conditional
\expandafter\ifx\csname ifxetex\endcsname\relax
\newif\ifxetex
\fi
-% Set \ifxetex accordingly
+% Set \cmd\ifxetex\ accordingly
\expandafter\ifx\csname XeTeXrevision\endcsname\relax
\xetexfalse
\else
\xetextrue
\fi
-% For XeTeX-exclusive packages
+% For \XeTeX-exclusive packages
\def\RequireXeTeX{%
\ifxetex\else
\begingroup
@@ -55,4 +47,4 @@
* Sorry!^^J
********************************************}%
\endgroup
- \fi} \ No newline at end of file
+ \fi}