8

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.

3
  • 3
    Why do you think that Okular (rather than Adobe) handles everything correctly? Commented Feb 26, 2013 at 2:37
  • 3
    perhaps this answer helps tex.stackexchange.com/questions/9261/… Commented Feb 26, 2013 at 2:52
  • 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
    Commented Feb 26, 2013 at 9:15

1 Answer 1

3

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .