summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pict2e/pict2e.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/pict2e/pict2e.cfg')
-rw-r--r--Master/texmf-dist/tex/latex/pict2e/pict2e.cfg13
1 files changed, 10 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/pict2e/pict2e.cfg b/Master/texmf-dist/tex/latex/pict2e/pict2e.cfg
index e308d815fd3..36d5a6c1467 100644
--- a/Master/texmf-dist/tex/latex/pict2e/pict2e.cfg
+++ b/Master/texmf-dist/tex/latex/pict2e/pict2e.cfg
@@ -6,7 +6,7 @@
%%
%% p2e-drivers.dtx (with options: `cfg')
%%
-%% Copyright (C) 2003, 2004, 2008
+%% Copyright (C) 2003, 2004, 2008, 2009
%% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
%% Hubert Gaesslein, HubertJG@open.mind.de
%% Josef Tkadlec, j.tkadlec@email.cz
@@ -24,7 +24,7 @@
%% This work consists of all files listed in `manifest.txt'.
%%
\ProvidesFile{pict2e.cfg}%
- [2004/06/25 v0.1r
+ [2009/08/05 v0.1s
pict2e configuration for teTeX/TeXLive]
%% Select an appropriate default driver.
\begingroup
@@ -40,6 +40,10 @@
\@ifundefined{OpMode}{}{%
\chardef\x=2 %
}%
+ % check XeTeX
+ \@ifundefined{XeTeXrevision}{}{%
+ \chardef\x=3 %
+ }%
\expandafter\endgroup
\ifcase\x
% default case
@@ -47,9 +51,12 @@
\or
% pdfTeX is running in pdf mode
\ExecuteOptions{pdftex}%
-\else
+\or
% VTeX is running
\ExecuteOptions{vtex}%
+\else
+ % XeTeX is running
+ \ExecuteOptions{xetex}%
\fi
%% \ExecuteOptions{pstarrows}
\endinput