i'm trying to export a TikZ picture to .eps using the following on Win7 (MikTeX), compiling with pdflatex:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{external}
\tikzset{external/system call={pdflatex \tikzexternalcheckshellescape -halt-on-error
-interaction=batchmode -jobname "\image" "\texsource" &&
pdftops -eps "\image".pdf}}
\tikzexternalize[shell escape=-enable-write18]
\begin{document}
\begin{tikzpicture}
\draw (0,0) circle (1cm);
\end{tikzpicture}
\end{document}}
For some reason, this does not yield any .eps file (the figure will only be exported as .pdf) - can somebody help me with this?
latexand then convert thedvitoeps. – Sigur May 11 '13 at 16:21pdftops -eps image.pdf. Do you get any error message? – Alexander May 11 '13 at 16:27pdftopsfails for some reason, it will assume that all is well and you do not get feedback. Theexternallib only checks if a "suitable" result file exists (I am unaware of options to receive the exit code, by the way) – Christian Feuersänger May 11 '13 at 18:24standaloneclass instead. – Martin Scharrer Jun 23 '13 at 12:20