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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working with the TikZ package and I noticed that even though I get a correct pdf file with this .tex file (found in this forum):

\tikzstyle{ball} = [circle,shading=ball, ball color=red!80!white, minimum size=1cm]
\node [style=ball] {blah blah};

if for example I change the colour from red to blue and I open the pdf file, keeping open the first one, there isn't the expected colour background, but if I close both the files and I open one of them the first one is correctly visualized, whereas the second is not...

Could someone tell me the reason of this problem?... and how to solve it...

PS: I'm working with MiKTeX and TeXnicCenter on Windows

share|improve this question
There is only one pdf per tex file. If you change the tex file then the pdf will change as well. If you do unexpected things like open up another view of the same pdf file you might catch it sandwiched around changes to the tex file. But that's temporary--eventually all views will reflect the updated tex file. Is this at all relevant or do I completely misunderstand what you want to have happen? – Matthew Leingang Dec 6 '10 at 16:21
I guess it's a problem with the reader. Perhaps it's the Adobe Reader, google tikz shading adobe reader (or combine with bug) gives some results. Try another pdf Reader. I can confirm that the Adobe Reader doesn't show the color but the TeXworks previewer does, on my system. – Stefan Kottwitz Dec 6 '10 at 16:38
I'm working with Acrobat Reader 9.3 (whereas I do not have this problem with an older version...) and even if I open my pdf file got by LATEX after any pdf file I get this problem. This could be very unconfortable especially when you have to send your file to other people unless you decide to say sorry but first all you have to close all the other pdf files or you have to use a specific version of Acrobat Reader... – Arianna Dec 6 '10 at 17:39
I cannot reproduce this behavior with Adobe Reader 10.1.7 or Sumatra PDF 2.3.2. So if this was a bug in Adobe Reader it is fixed in the current version. – Alexander Jul 31 '13 at 12:15
up vote 1 down vote accepted

You could use LaTeX instead of pdfLaTeX. Specifically, compile to DVI, convert to PS using dvips and then to pdf using ps2pdf. TikZ works this way as well.

When I tried that, I got the ball shading also with the Adobe Reader, in contrary to the pdfLaTeX way.

share|improve this answer
Thanks Stefan for your tips, I'm having some problem with the "dvi => ps" setting, but I noticed that even with the "LaTeX => PS => PDF" profile the problem has disappeared. Any other tips will be really appreciated. Thanks again. – Arianna Dec 7 '10 at 12:09

Your Answer


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.