diff options
author | Karl Berry <karl@freefriends.org> | 2011-11-04 23:26:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-11-04 23:26:58 +0000 |
commit | e1a9e5336dd1d75914042141d1dcf9d3825efc37 (patch) | |
tree | ebc4f7a558b64e4dddacb4ad989bfee70c578908 /Master/texmf-dist/tex/plain/ifetex | |
parent | 1267e56426be0702177637c1eadae17ffc9468f4 (diff) |
new generic package ifetex (31oct11)
git-svn-id: svn://tug.org/texlive/trunk@24502 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/plain/ifetex')
-rw-r--r-- | Master/texmf-dist/tex/plain/ifetex/ifetex.tex | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/plain/ifetex/ifetex.tex b/Master/texmf-dist/tex/plain/ifetex/ifetex.tex new file mode 100644 index 00000000000..0e671054763 --- /dev/null +++ b/Master/texmf-dist/tex/plain/ifetex/ifetex.tex @@ -0,0 +1,33 @@ +%% Copyright (C) 2011 by Martin Scharrer <martin@scharrer.me> +%% --------------------------------------------------------------------------- +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Martin Scharrer. +%% +%% This work consists of the files ifetex.dtx and ifetex.ins +%% and the derived filebase ifetex.sty. +%% +\expandafter\ifx\csname ifetex\endcsname\relax\else + \expandafter\endinput +\fi +\newif\ifetex +\begingroup +\edef\tempa{\meaning\eTeXversion}% +\edef\tempb{\string\eTeXversion}% +\ifx\tempa\tempb + \global\etextrue +\else + \global\etexfalse +\fi +\endgroup +\endinput +%% +%% End of file `ifetex.tex'. |