Re: Possible Bug

George White <[email protected]>
Newsgroups gmane.comp.tex.tetex.general
Message-ID <Pine.GSO.3.95.iB1.0.1050419170651.13948A-100000@halifax.chebucto.ns.ca>
On Mon, 18 Apr 2005, Benoit Vinsonneau wrote:

> Actually, following up my previous Email, by defining the colors at the
> same time works fine.
> 
> To resume, this work as expected:
> 
> \newrgbcolor{dialinecolor1}{1 0 1}
> \newrgbcolor{dialinecolor2}{0 1 0}
> \psset{linecolor=dialinecolor1}
> \psellipse*(-0.467225cm,7.106585cm)(0.627885cm,0.627295cm)
> \psset{linecolor=dialinecolor2}
> \psellipse(-0.467225cm,7.106585cm)(0.627885cm,0.627295cm)
> 
> while this does not:
> \newrgbcolor{dialinecolor1}{1 0 1}
> \psset{linecolor=dialinecolor1}
> \psellipse*(-0.467225cm,7.106585cm)(0.627885cm,0.627295cm)
> \newrgbcolor{dialinecolor2}{0 1 0}
> \psset{linecolor=dialinecolor2}
> \psellipse(-0.467225cm,7.106585cm)(0.627885cm,0.627295cm)
> 
> As well, the problem is not limited to \newrgbcolor, \definecolor
> exhibit the same problem.
> 
> George N. White III, you seems to knew already before of this problem.
> Is there any long-term solutions or do I need to change manually all my
> files for the time being?
> 
> Thanks all for your help,

The spacing problems with \color are discussed in the graphics/graphicx
package document, p. 6, see also The LaTeX Companion, 2nd Ed., p. 870.

For printing with ink, colors are an expensive resource so it is customary
to carefully choose a small number of "spot" colors that will be used in
each document.  A package that doesn't let you use the colors you have
already chosen won't be useful for things that need to printed with ink. 
Maybe you can find a way to limit the use \newrgbcolor to the preamble.  A
quick fix would be to "grep" our the newcolor commands and collect them in
the preamble, then comment out the ones created by the package.

--
George White <[email protected]> <[email protected]>
189 Parklea Dr., Head of St. Margarets Bay, Nova Scotia  B3Z 2G6
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.