summaryrefslogtreecommitdiff
path: root/Master/texmf
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-01-19 01:22:29 +0000
committerKarl Berry <karl@freefriends.org>2007-01-19 01:22:29 +0000
commitff8a033161beeb55064a5f932710fa481b979a73 (patch)
treed56af1471a2be5b143209688e57b0847330dd7ab /Master/texmf
parent7fa459de36331247788651e24471e8a5e68a462e (diff)
new graphics.cfg and color.cfg from heiko, 18 Jan 2007 15:41:35
git-svn-id: svn://tug.org/texlive/trunk@3583 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf')
-rw-r--r--Master/texmf/tex/latex/config/color.cfg23
-rw-r--r--Master/texmf/tex/latex/config/graphics.cfg23
2 files changed, 34 insertions, 12 deletions
diff --git a/Master/texmf/tex/latex/config/color.cfg b/Master/texmf/tex/latex/config/color.cfg
index 896fe5ebd57..0a621ce5220 100644
--- a/Master/texmf/tex/latex/config/color.cfg
+++ b/Master/texmf/tex/latex/config/color.cfg
@@ -1,29 +1,40 @@
\ProvidesFile{color.cfg}%
- [2001/08/31 v1.1 color configuration of teTeX/TeXLive]
+ [2007/01/18 v1.5 color configuration of teTeX/TeXLive]
% Select an appropriate default driver
\begingroup
- \chardef\x=0 %
+ \chardef\x=0\relax
% check pdfTeX
\@ifundefined{pdfoutput}{}{%
- \ifcase\pdfoutput
+ \ifnum\pdfoutput<1 %
\else
- \chardef\x=1 %
+ \chardef\x=1\relax
\fi
}%
% check VTeX
\@ifundefined{OpMode}{}{%
- \chardef\x=2 %
+ \chardef\x=2\relax
+ }%
+ % check XeTeX
+ \@ifundefined{XeTeXversion}{}{%
+ \chardef\x=3\relax
}%
\expandafter\endgroup
\ifcase\x
% default case
+ \def\Gin@driver{dvips.def}%
\ExecuteOptions{dvips}%
\or
% pdfTeX is running in pdf mode
+ \def\Gin@driver{pdftex.def}%
\ExecuteOptions{pdftex}%
-\else
+\or
% VTeX is running
+ \def\Gin@driver{vtex.def}%
\ExecuteOptions{vtex}%
+\else
+ % XeTeX is running
+ \def\Gin@driver{xetex.def}%
+ \ExecuteOptions{xetex}%
\fi
\endinput
diff --git a/Master/texmf/tex/latex/config/graphics.cfg b/Master/texmf/tex/latex/config/graphics.cfg
index 0b6826ab2dc..0e6068ef982 100644
--- a/Master/texmf/tex/latex/config/graphics.cfg
+++ b/Master/texmf/tex/latex/config/graphics.cfg
@@ -1,30 +1,41 @@
\ProvidesFile{graphics.cfg}%
- [2001/08/31 v1.1 graphics configuration of teTeX/TeXLive]
+ [2007/01/18 v1.5 graphics configuration of teTeX/TeXLive]
% Select an appropriate default driver
\begingroup
- \chardef\x=0 %
+ \chardef\x=0\relax
% check pdfTeX
\@ifundefined{pdfoutput}{}{%
- \ifcase\pdfoutput
+ \ifnum\pdfoutput<1 %
\else
- \chardef\x=1 %
+ \chardef\x=1\relax
\fi
}%
% check VTeX
\@ifundefined{OpMode}{}{%
- \chardef\x=2 %
+ \chardef\x=2\relax
+ }%
+ % check XeTeX
+ \@ifundefined{XeTeXversion}{}{%
+ \chardef\x=3\relax
}%
\expandafter\endgroup
\ifcase\x
% default case
+ \def\Gin@driver{dvips.def}%
\ExecuteOptions{dvips}%
\or
% pdfTeX is running in pdf mode
+ \def\Gin@driver{pdftex.def}%
\ExecuteOptions{pdftex}%
-\else
+\or
% VTeX is running
+ \def\Gin@driver{vtex.def}%
\ExecuteOptions{vtex}%
+\else
+ % XeTeX is running
+ \def\Gin@driver{xetex.def}%
+ \ExecuteOptions{xetex}%
\fi
% Fix for dvips and xdvi versions that can uncompress