diff options
-rw-r--r-- | Master/texmf/tex/latex/config/color.cfg | 23 | ||||
-rw-r--r-- | Master/texmf/tex/latex/config/graphics.cfg | 23 |
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 |