From ff8a033161beeb55064a5f932710fa481b979a73 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 19 Jan 2007 01:22:29 +0000 Subject: 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 --- Master/texmf/tex/latex/config/color.cfg | 23 +++++++++++++++++------ Master/texmf/tex/latex/config/graphics.cfg | 23 +++++++++++++++++------ 2 files changed, 34 insertions(+), 12 deletions(-) (limited to 'Master/texmf/tex') 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 -- cgit v1.2.3