The TikZ drawing command: \draw[red] node {};
does something strange to the colours on the following page when compiled with xelatex
.
\documentclass{article} \usepackage{tikz} \usepackage{lipsum} \begin{document} \begin{tikzpicture} \draw[red] node {}; \end{tikzpicture} \lipsum \end{document}
This is with PGF from CVS and TL2013, both updated, on Mac OSX.
The attachment is the source, log, aux, and pdf created with xelatex --output-driver="xdvipdfmx -z0" tikznodecolourbug.tex
.
Hi,
ok, this was a tough one... Turns out your version of the file
generic/pgf/systemlayer/pgfsys-dvipdfmx.def
is outdated. Strangely, according to your log, all of the other files in your checkout are up-to-date, except to that one file (which is, of course, the culprit...). According to your log, you use
(/Users/stacey/Library/texmf/tex/latex/local/pgfsys-dvipdfmx.def
File: pgfsys-dvipdfmx.def 2009/05/22 (rcs-revision 1.3)
The current version is
(/Users/tantau/Library/texmf/tex/generic/pgf/generic/pgf/systemlayer/pgfsys-dvi
pdfmx.def
File: pgfsys-dvipdfmx.def 2013/08/01 (rcs-revision 1.11)
Please check out the current version, it will make this problem disappear. Also, I will soon commit version 1.12, which will also make the strange problems with scaled images and boxes in nodes disappear.
Best regards,
Till
Thank you so much! You're absolutely correct - I'd copied the driver file for some testing (I think with regard to the node placement issue) and forgotten that I'd done so when I updated my CVS version of PGF, and didn't spot it in the log file as it wasn't where I usually put such files (and
kpsewhich
only picked up the CVS version of it). My apologies for taking your time with what ended up being such a trivial issue!