How to export the image in .eps from the tex code using PdfLaTeX in TeXStudio.
\documentclass{article}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}
A\arrow{d}\arrow{r}[near start]{\phi}[near end]{\psi}&B\arrow[red]{d}{\xi}\\
C \arrow[red]{r}[blue]{\eta} & D
\end{tikzcd}
\end{document}
I have tried with the code given here
\documentclass{article}
\usepackage{tikz-cd}
\usetikzlibrary{external}
\tikzexternalize
\begin{document}
\begin{tikzcd}
A\arrow {d}\arrow{r}[near start]{\phi}[near end]{\psi}&B\arrow[red]{d}{\xi}\\
C \arrow[red]{r}[ blue ]{\eta} & D
\end{tikzcd}
\end{document}
I got the following error File ended while scanning use of \tikzexternal@laTeX@collect@until@end@tikzpicture. Also adding the following code in the preamble didn't help me.
\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]
I have found another help using pdftops here, which is helpful for the TeXWorks users. Can any one please help me to export the .eps file of the image using PdfLaTeX?
File ended while scanning use of \tikzexternal@laTeX@collect@until@end@tikzpicture.But I didn't try the steps 1,2,3. – Litun Jan 21 '16 at 10:09