From efccbf2fa04224ae6ce0a33a93baca39c887ea8c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 19 Jun 2006 21:16:44 +0000 Subject: new package ifxetex git-svn-id: svn://tug.org/texlive/trunk@1703 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/generic/ifxetex/README | 13 ++++++++ Master/texmf-dist/tex/generic/ifxetex/ifxetex.sty | 35 ++++++++++++++++++++++ Master/texmf-dist/tpm/ifxetex.tpm | 22 ++++++++++++++ Master/texmf/lists/ifxetex | 6 ++++ Master/texmf/tpm/collection-genericrecommended.tpm | 1 + 5 files changed, 77 insertions(+) create mode 100644 Master/texmf-dist/doc/generic/ifxetex/README create mode 100644 Master/texmf-dist/tex/generic/ifxetex/ifxetex.sty create mode 100644 Master/texmf-dist/tpm/ifxetex.tpm create mode 100644 Master/texmf/lists/ifxetex (limited to 'Master') diff --git a/Master/texmf-dist/doc/generic/ifxetex/README b/Master/texmf-dist/doc/generic/ifxetex/README new file mode 100644 index 00000000000..0471f77e80f --- /dev/null +++ b/Master/texmf-dist/doc/generic/ifxetex/README @@ -0,0 +1,13 @@ +------------------------ +THE IFXETEX PACKAGE v0.1 + +This very simple package, for both Plain and LaTeX, defines +the \ifxetex boolean for testing whether the TeX-variant +XeTeX is being used for typesetting. + +It assumes that eTeX extensions to the TeX language are +present, since we've got to move on sometime. + +-------------- +Will Robertson +2006 \ No newline at end of file diff --git a/Master/texmf-dist/tex/generic/ifxetex/ifxetex.sty b/Master/texmf-dist/tex/generic/ifxetex/ifxetex.sty new file mode 100644 index 00000000000..82ce9869c3c --- /dev/null +++ b/Master/texmf-dist/tex/generic/ifxetex/ifxetex.sty @@ -0,0 +1,35 @@ +% Copyright 2006 by Will Robertson +% +% Distributable under the LaTeX Project Public License, +% version 1.3b 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) +% by Will Robertson. + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% The ifxetex package +%% +%% Usage: LaTeX - \usepackage{ifxetex} +%% Plain - \input ifxetex.sty +%% +%% Function: Provides the \ifxetex boolean for testing +%% whether XeTeX is being used for typesetting. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% It's naughty, but I assume eTeX extensions here. +% If a user has this package, then they're using eTeX. +% (My assumption.) + +\ifdefined\ProvidesPackage + \ProvidesPackage{ifxetex} + [2006/06/12 v0.1 Provides ifxetex condition] +\fi + +\unless\ifdefined\ifxetex + \newif\ifxetex +\fi + +\ifdefined\XeTeXversion + \xetextrue +\fi diff --git a/Master/texmf-dist/tpm/ifxetex.tpm b/Master/texmf-dist/tpm/ifxetex.tpm new file mode 100644 index 00000000000..adaeea7b4b7 --- /dev/null +++ b/Master/texmf-dist/tpm/ifxetex.tpm @@ -0,0 +1,22 @@ + + + + ifxetex + Package + 2006/06/12 11:50:00 + + karl + The ifxetex package. + + Will Robertson + 1335 + + +texmf-dist/tex/generic/ifxetex/ifxetex.sty +texmf-dist/tpm/ifxetex.tpm + + texmf-dist/doc/generic/ifxetex/README + Package/ifxetex + + + diff --git a/Master/texmf/lists/ifxetex b/Master/texmf/lists/ifxetex new file mode 100644 index 00000000000..9e8f9d084c2 --- /dev/null +++ b/Master/texmf/lists/ifxetex @@ -0,0 +1,6 @@ +texmf-dist/doc/generic/ifxetex/README + +texmf-dist/tex/generic/ifxetex/ifxetex.sty +texmf-dist/tpm/ifxetex.tpm + +texmf/lists/ifxetex diff --git a/Master/texmf/tpm/collection-genericrecommended.tpm b/Master/texmf/tpm/collection-genericrecommended.tpm index 5324106995e..5b7f9846c1a 100644 --- a/Master/texmf/tpm/collection-genericrecommended.tpm +++ b/Master/texmf/tpm/collection-genericrecommended.tpm @@ -20,6 +20,7 @@ to belong elsewhere + -- cgit v1.2.3