[pdftex] errors from AR caused by color package
Thomas Esser
te at dbs.uni-hannover.de
Sun May 23 08:57:57 CEST 2004
> >Does it make a difference if you say
> >\RequirePackage[pdftex]{color} ?
> Aha! Yes, that cures all the problems! Thanks!!
With better config files, the right driver should be chosen automatically.
Find teTeX's current config files for color / graphics / hyperref
attatched.
Thomas
-------------- next part --------------
\ProvidesFile{color.cfg}%
[2001/08/31 v1.1 color configuration of teTeX/TeXLive]
% Select an appropriate default driver
\begingroup
\chardef\x=0 %
% check pdfTeX
\@ifundefined{pdfoutput}{}{%
\ifcase\pdfoutput
\else
\chardef\x=1 %
\fi
}%
% check VTeX
\@ifundefined{OpMode}{}{%
\chardef\x=2 %
}%
\expandafter\endgroup
\ifcase\x
% default case
\ExecuteOptions{dvips}%
\or
% pdfTeX is running in pdf mode
\ExecuteOptions{pdftex}%
\else
% VTeX is running
\ExecuteOptions{vtex}%
\fi
\endinput
-------------- next part --------------
\ProvidesFile{graphics.cfg}%
[2001/08/31 v1.1 graphics configuration of teTeX/TeXLive]
% Select an appropriate default driver
\begingroup
\chardef\x=0 %
% check pdfTeX
\@ifundefined{pdfoutput}{}{%
\ifcase\pdfoutput
\else
\chardef\x=1 %
\fi
}%
% check VTeX
\@ifundefined{OpMode}{}{%
\chardef\x=2 %
}%
\expandafter\endgroup
\ifcase\x
% default case
\ExecuteOptions{dvips}%
\or
% pdfTeX is running in pdf mode
\ExecuteOptions{pdftex}%
\else
% VTeX is running
\ExecuteOptions{vtex}%
\fi
% Fix for dvips and xdvi versions that can uncompress
% graphic files without an explicite call of gunzip.
% (The fix is not applied for miniltx.tex, because
% \AtEndOfPackage is not available in plainTeX.)
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname AtEndOfPackage\endcsname\relax
\else
\AtEndOfPackage{%
\begingroup
\@ifundefined{DeclareGraphicsRule}{%
\endgroup
}{%
\def\x{dvips.def}%
\expandafter\endgroup
\ifx\x\Gin at driver
\DeclareGraphicsRule{.pz}{eps}{.bb}{}%
\DeclareGraphicsRule{.eps.Z}{eps}{.eps.bb}{}%
\DeclareGraphicsRule{.ps.Z}{eps}{.ps.bb}{}%
\DeclareGraphicsRule{.ps.gz}{eps}{.ps.bb}{}%
\DeclareGraphicsRule{.eps.gz}{eps}{.eps.bb}{}%
\fi
}%
}%
\fi
\endinput
-------------- next part --------------
\ProvidesFile{hyperref.cfg}%
[2002/06/06 v1.2 hyperref configuration of TeXLive and teTeX]
% Change default driver to "dvips" instead of "hypertex",
% requires hyperref 2002/06/05 v6.72s
\providecommand*{\Hy at defaultdriver}{hdvips}%
\endinput
More information about the pdftex
mailing list