summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-06-09 00:32:48 +0000
committerKarl Berry <karl@freefriends.org>2010-06-09 00:32:48 +0000
commit2daec93327bd3cf382b3178e64759af1459e1d69 (patch)
treefe103dad6a14f61d1283f7e1f5654062e54ffbde
parentc6ebe6753f817556f6e562282045fd7efad79bb1 (diff)
iftex update (8jun10)
git-svn-id: svn://tug.org/texlive/trunk@18833 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/generic/iftex/README2
-rw-r--r--Master/texmf-dist/doc/generic/iftex/iftex.pdfbin143101 -> 129127 bytes
-rw-r--r--Master/texmf-dist/doc/generic/iftex/iftex.tex2
-rw-r--r--Master/texmf-dist/tex/generic/iftex/iftex.sty5
4 files changed, 6 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/generic/iftex/README b/Master/texmf-dist/doc/generic/iftex/README
index 124c99c6157..87124181521 100644
--- a/Master/texmf-dist/doc/generic/iftex/README
+++ b/Master/texmf-dist/doc/generic/iftex/README
@@ -1,6 +1,6 @@
_________________
The iftex package
-v0.1
+v0.2
This very simple package, for both Plain TeX and LaTeX,
defines the \ifPDFTeX, \ifXeTeX, and \ifLuaTeX boolean
diff --git a/Master/texmf-dist/doc/generic/iftex/iftex.pdf b/Master/texmf-dist/doc/generic/iftex/iftex.pdf
index 261aa8181c1..82e415e2e61 100644
--- a/Master/texmf-dist/doc/generic/iftex/iftex.pdf
+++ b/Master/texmf-dist/doc/generic/iftex/iftex.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/iftex/iftex.tex b/Master/texmf-dist/doc/generic/iftex/iftex.tex
index 7914276f004..30522d0d21d 100644
--- a/Master/texmf-dist/doc/generic/iftex/iftex.tex
+++ b/Master/texmf-dist/doc/generic/iftex/iftex.tex
@@ -20,7 +20,7 @@
\newcommand\LuaTeX{Lua\TeX}
\title{The \textsf{iftex} Package\\ \href{http://bitbucket.org/vafa/iftex}{\texttt{http://bitbucket.org/vafa/iftex}}}
\author{Vafa Khalighi\\ \href{mailto:vafakh84@gmail.com}{\texttt{vafakh84@gmail.com}}}
-\date{Version 0.1}
+\date{Version 0.2}
\begin{document}
\maketitle
\tableofcontents
diff --git a/Master/texmf-dist/tex/generic/iftex/iftex.sty b/Master/texmf-dist/tex/generic/iftex/iftex.sty
index 4a6407df6a2..a6231d344b3 100644
--- a/Master/texmf-dist/tex/generic/iftex/iftex.sty
+++ b/Master/texmf-dist/tex/generic/iftex/iftex.sty
@@ -12,7 +12,7 @@
\let\iftexloaded\endinput
\expandafter\ifx\csname ProvidesPackage\endcsname\relax\else
\ProvidesPackage{iftex}
- [2010/07/25 v0.1 Provides if(tex) conditional for PDFTeX, XeTeX, and LuaTeX]
+ [2010/07/25 v0.2 Provides if(tex) conditional for PDFTeX, XeTeX, and LuaTeX]
\fi
\def\RequirePDFTeX{%
\ifPDFTeX\else
@@ -60,18 +60,21 @@
\expandafter\endinput
\fi
\newif\ifPDFTeX
+\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname pdfmatch\endcsname\relax
\PDFTeXfalse
\else
\PDFTeXtrue
\fi
\newif\ifXeTeX
+\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname XeTeXinterchartoks\endcsname\relax
\XeTeXfalse
\else
\XeTeXtrue
\fi
\newif\ifLuaTeX
+\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname directlua\endcsname\relax
\LuaTeXfalse
\else