Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Background

Am using TeX Live 2012, pdflatex, and latexmk to produce the document, on Ubuntu Linux.

Problem

In the following image, Okular is shown on the left and Adobe Acrobat Reader is shown on the right.

Okular vs Acrobat Reader

The images in the document most likely contain various colour spaces. The colours in Okular are desired (and shown as coded in the LaTeX); whereas, the colours in Acrobat Reader are not desired.

I have read a few different questions on this topic, including:

Question

What is most likely the problem with the colours in Adobe Acrobat Reader, and how should I resolve it?

Ideas

I was thinking that the problem might be caused by having images in multiple color spaces. If that's the case, then I could resolve it by running the images through ImageMagick.

The alternative is to use xcolor, as suggested.

share|improve this question
3  
Why do you think that Okular (rather than Adobe) handles everything correctly? –  Igor Kotelnikov Feb 26 '13 at 2:37
3  
perhaps this answer helps tex.stackexchange.com/questions/9261/… –  prettygully Feb 26 '13 at 2:52
    
@IgorKotelnikov: You are correct; I have rephrased the question. –  Dave Jarvis Feb 26 '13 at 2:55
1  
Are you on a Linux machine? I found that the Linux version of the Acrobat Reader shows ugly colours for figures generated by R and RTikzDevice. The colours are fine in okular and in the Windows version of the Reader. –  sebschub Feb 26 '13 at 9:15

1 Answer 1

up vote 3 down vote accepted

The following lines were added to the preamble:

\RequirePackage[xcolornames,svgnames,dvipsnames,rgb]{xcolor}
\pdfpageattr {/Group << /S /Transparency /I true /CS /DeviceRGB>>}

This seems to have resolved the problem.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.