pgf-pie
keeps giving me headaches.
This is my LaTeX code:
\documentclass{article}
\usepackage{pgf-pie}
\begin{document}
\begin{tikzpicture}
\pie[color={black!10, black!20, black!30}]
{62/\TeX\ Live and Mac\TeX,
32/MiK\TeX\ and Pro\TeX t, 6/Other \TeX}
\end{tikzpicture}
\end{document}
I use MiKTeX and PdfLaTeX as my PDF engine, when I run it the log file returns these errors:
Missing character: There is no b in font nullfont!
Missing character: There is no l in font nullfont!
Missing character: There is no a in font nullfont!
Missing character: There is no c in font nullfont!
Missing character: There is no k in font nullfont!
Missing character: There is no ! in font nullfont!
Missing character: There is no 1 in font nullfont!
Missing character: There is no 0 in font nullfont!
Missing character: There is no b in font nullfont!
Missing character: There is no l in font nullfont!
Missing character: There is no a in font nullfont!
Missing character: There is no c in font nullfont!
Missing character: There is no k in font nullfont!
Missing character: There is no ! in font nullfont!
Missing character: There is no 2 in font nullfont!
Missing character: There is no 0 in font nullfont!
Missing character: There is no b in font nullfont!
Missing character: There is no l in font nullfont!
Missing character: There is no a in font nullfont!
Missing character: There is no c in font nullfont!
Missing character: There is no k in font nullfont!
Missing character: There is no ! in font nullfont!
Missing character: There is no 3 in font nullfont!
Missing character: There is no 0 in font nullfont!
And the PDF looks like this:
To me it looks like attributes/options are being accidentally being printed as text.
I've found similar issues (e.g. tikzpicture options causing "There is no [ in font nullfont!"?), but none of these pointed me in the direction of solving this.
UPDATE: This question appeared to be a duplicate. One of the answers put me on the track to the the answer on this issue: Problem generating pie chart with pgf-pie package
That solved it for me.
PDFLaTeX
. So please provide more information on the installation you are using.PDFLaTeX
inMikTeX
). Problem lies may be in yourMikTeX
installation....log
file?