I am getting random characters displayed in my TikZ images:
I have just noticed this recently. I am not sure what this might be caused by. I am using the latest TikZ build from TeXample.
I only observe this behaviour, when I create the image by using \input{}
on my TikZ code, like so:
\documentclass{minimal}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\begin{document}
\input{test.tikz}
\end{document}
Where test.tikz
is just:
\begin{tikzpicture}%
\draw (-1,0) -- (1,0);
\end{tikzpicture}
If I were to directly insert the TikZ code (without input
ing an external file), everything works nicely:
Also, removing \usepackage[T1]{fontenc}
"fixes" the problem.
Any ideas what's going on there?