Hi We are about to publish a book, which contains figures made with R plots. An important detail that we did not take into account is that the book will not be printed in 4 colors (cmyk mode), but only 2 (black +"spotcolor"). The spotcolor we use is part of the big Pantone family. The problem is that both pdf() and postscript() offer either rgb or cmyk, but no spotcolors such as pantone. I'm afraid this constraint can't be solved at all, and we can't use R for creating these plots? I did not find any package that would extend the colormodel to include spot colors... Did anyone had a similar experience? Thanks!! Matthieu
Matthieu Stigler <matthieu.stigler <at> gmail.com> writes:> > Hi > > We are about to publish a book, which contains figures made with R > plots. An important detail that we did not take into account is that the > book will not be printed in 4 colors (cmyk mode), but only 2 (black > +"spotcolor"). The spotcolor we use is part of the big Pantone family. > > The problem is that both pdf() and postscript() offer either rgb or > cmyk, but no spotcolors such as pantone. I'm afraid this constraint > can't be solved at all, and we can't use R for creating these plots? I > did not find any package that would extend the colormodel to include > spot colors... Did anyone had a similar experience? >Wasn't aware of spotcolors, but I bet you could hack the PDF reasonably easily (if you have many figures you might have to use awk/sed/perl ?) ... if you don't use R, what is your alternative for creating the figures? Ben Bolker
Jim Thanks for your feedback! The problem is that the people "those responsible for layout" are us... We are doing the book in Latex, and till now did not need any other software. But I am scared we will need use kind of Indesign & co softwares to be able to use our R plots, since R can't export into spotcolor... Thanks! Mat Le 13/04/2011 13:41, Jim Lemon a ?crit :> On 04/13/2011 07:15 PM, Matthieu Stigler wrote: >> Hi >> >> We are about to publish a book, which contains figures made with R >> plots. An important detail that we did not take into account is that the >> book will not be printed in 4 colors (cmyk mode), but only 2 (black >> +"spotcolor"). The spotcolor we use is part of the big Pantone family. >> >> The problem is that both pdf() and postscript() offer either rgb or >> cmyk, but no spotcolors such as pantone. I'm afraid this constraint >> can't be solved at all, and we can't use R for creating these plots? I >> did not find any package that would extend the colormodel to include >> spot colors... Did anyone had a similar experience? >> > Hi Matthieu, > I have occasionally had to handle this. In every case, those > responsible for the actual layout would take grayscale figures (black, > white and some gray level) and then convert the gray level to the > desired color in the illustrations. I have always supplied Postscript > in these cases. > > Jim >
Hi, I may be wrong, but I have the impression that tikz (a LaTeX drawing package) can handle spot colors (that's what Google seemed to tell me [*]). If this is the case you could output R graphics using the tikzDevice package, post-process the output (readable, plain text file), and eventually have LaTeX produce the pdf image with spot colors. Worth a try, perhaps. baptiste [*] http://wiki.contextgarden.net/Colors#In_TikZ On 13 April 2011 21:15, Matthieu Stigler <matthieu.stigler at gmail.com> wrote:> Hi > > We are about to publish a book, which contains figures made with R plots. An > important detail that we did not take into account is that the book will not > be printed in 4 colors (cmyk mode), but only 2 (black +"spotcolor"). The > spotcolor we use is part of the big Pantone family. > > The problem is that both pdf() and postscript() offer either rgb or cmyk, > but no spotcolors such as pantone. I'm afraid this constraint can't be > solved at all, and we can't use R for creating these plots? I did not find > any package that would extend the colormodel to include spot colors... Did > anyone had a similar experience? > > Thanks!! > > Matthieu > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >