Using preview-latex to preview the tikzpicture environment shows either a blank rectangle in pdf mode or simply produces no preview file in ps mode.
I am using aquamacs 23.3a, using auctex and gs 9.04.
I tested multiple file format outputs and preview options. I don't see any errors or warning pop up either, so I can't tell for sure if the error lies with ghostscript, auctex or preview.
The following previews a blank for the entire tikzpicture environment.
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node[draw] {tikz rectangle};
\end{tikzpicture}
\end{document}
Is there a way to see what exactly goes wrong where?
\usepackage[active,float]{preview}\PreviewEnvironment{tikzpicture}as the last package. If that is not enough, try wrappingtikzpicturewithin a \begin{figure}...\end{figure}aspreview-latex` might be looking for a float. – Peter Grill Dec 01 '11 at 17:24