diff options
author | Karl Berry <karl@freefriends.org> | 2006-06-19 21:16:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-06-19 21:16:44 +0000 |
commit | efccbf2fa04224ae6ce0a33a93baca39c887ea8c (patch) | |
tree | bdcb893fd87e687b0d2541b415012a37f8b9ca90 /Master | |
parent | 46eb22010893a1dd2d3270c57dc827915e1b8181 (diff) |
new package ifxetex
git-svn-id: svn://tug.org/texlive/trunk@1703 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/generic/ifxetex/README | 13 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/ifxetex/ifxetex.sty | 35 | ||||
-rw-r--r-- | Master/texmf-dist/tpm/ifxetex.tpm | 22 | ||||
-rw-r--r-- | Master/texmf/lists/ifxetex | 6 | ||||
-rw-r--r-- | Master/texmf/tpm/collection-genericrecommended.tpm | 1 |
5 files changed, 77 insertions, 0 deletions
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 <wspr81@gmail.com> +% +% 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 @@ +<!DOCTYPE rdf:RDF SYSTEM "../../support/tpm.dtd"> +<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:TPM="http://texlive.dante.de/"> + <rdf:Description about="http://texlive.dante.de/texlive/Package/ifxetex.zip"> + <TPM:Name>ifxetex</TPM:Name> + <TPM:Type>Package</TPM:Type> + <TPM:Date>2006/06/12 11:50:00</TPM:Date> + <TPM:Version></TPM:Version> + <TPM:Creator>karl</TPM:Creator> + <TPM:Title>The ifxetex package.</TPM:Title> + <TPM:Description></TPM:Description> + <TPM:Author>Will Robertson</TPM:Author> + <TPM:Size>1335</TPM:Size> + <TPM:Build/> + <TPM:RunFiles size="1819"> +texmf-dist/tex/generic/ifxetex/ifxetex.sty +texmf-dist/tpm/ifxetex.tpm + </TPM:RunFiles> + <TPM:DocFiles size="343">texmf-dist/doc/generic/ifxetex/README</TPM:DocFiles> + <TPM:Provides>Package/ifxetex</TPM:Provides> + </rdf:Description> +</rdf:RDF> + 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 <TPM:Requires> <TPM:Package name="epsf"/> <TPM:Package name="genmisc"/> + <TPM:Package name="ifxetex"/> <TPM:Package name="multido"/> <TPM:TLCore name="collection-basic"/> </TPM:Requires> |