When submitting a paper, often publishers do not support manuscripts with TIKZ figures. These figures must be converted and substituted before the submission.
In order to preserve the quality and not lose the vector format, either EPS or PDF types are good candidates. Since most of the times we use pdflatex
to build manuscripts, we'll use PDF. If you need an EPS, PDF files can be converted.
- Add in the preamble of your manuscript the following:
\usetikzlibrary{external} \tikzexternalize
- Compile your manuscript with:
pdflatex -shell-escape ms.tex
- You should find the converted images in the manuscript folder with names like
ms-figure0.pdf
- Optional: rename the pdf files to the original name
<tikz_filename>.pdf
- Convert all your
\input{filename.tikz}
to\includegraphics{<tikz_filename>.pdf}
- Comment out the additional lines of step 1
- Compile again with the regular
pdflatex manuscript.tex
- Inspect the final manuscript
Note that using latex
instead of pdflatex
you can get directly EPS files, though I faced problems with shadings and fadings, which are not supported.
References: