Jean-Marc Lasgouttes wrote:
"Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes:


Herbert> it is wrong enabling dvips when using pdflatex. This option
Herbert> should _always_ be the default driver. However, this is one
Herbert> of the really really obsolete options, which confuses users
Herbert> and doesn't help.


Do you mean there is no good reason to use it? Is it true for
color.sty too? I'd be glad to get rid of it :)

\listfiles
\documentclass{article}
\usepackage{color}
\begin{document}

\fcolorbox{red}{green}{blue}

\end{document}

the color.cfg can detect the running mode:

---------------------- snip ------------------------
This is pdfeTeXk, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
 %&-line parsing enabled.
entering extended mode
(./demo0.tex
LaTeX2e
Babel  and hyphenation patterns for english, usenglishmax, dumylang, noh

[ ... ]

(/usr/local/texlive/2005/texmf-dist/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/local/texlive/2005/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2005/texmf-dist/tex/latex/graphics/color.sty
(/usr/local/texlive/2005/texmf/tex/latex/config/color.cfg)
(/usr/local/texlive/2005/texmf-dist/tex/latex/graphics/dvips.def)
(/usr/local/texlive/2005/texmf-dist/tex/latex/graphics/dvipsnam.def))
(./demo0.aux) [1] (./demo0.aux)

 *File List*
 article.cls    2004/02/16 v1.4f Standard LaTeX document class
  size10.clo    2004/02/16 v1.4f Standard LaTeX file (size option)
   color.sty    1999/02/16 v1.0i Standard LaTeX Color (DPC)
   color.cfg    2001/08/31 v1.1 color configuration of teTeX/TeXLive
   dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
dvipsnam.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
---------------------- snip ------------------------

and the same with running pdflatex:

---------------------- snip ------------------------
[ ... ]
(/usr/local/texlive/2005/texmf-dist/tex/latex/graphics/color.sty
(/usr/local/texlive/2005/texmf/tex/latex/config/color.cfg)
(/usr/local/texlive/2005/texmf-dist/tex/latex/graphics/pdftex.def))
(./demo0.aux) (/usr/local/texlive/2005/texmf-dist/tex/context/base/supp-pdf.tex
 (/usr/local/texlive/2005/texmf-dist/tex/context/base/supp-mis.tex
loading : Context Support Macros / Miscellaneous (2004.10.26)
[ ... ]
---------------------- snip ------------------------


maybe that there is a very special case for using this option, then
it is no problem to use dvips via the documentclass option field.


Herbert

Reply via email to