How to save output of LaTeX file as .eps file rather than .pdf? I want to put a figure in LateX file and enter some text in it. Then I want to save output as .eps format rather than in form of .pdf. Any suggestions in this regard?
Asked
Active
Viewed 1.3k times
2 Answers
12
You can use latex rather than pdflatex then
dvips -E ...
will try to generate an EPS file from the resulting dvi.
Alternatively use pdflatex then there are several tools available to convert pdf to EPS (almost all wrappers around ghostscript) imagemagic convert for example.
David Carlisle
- 757,742
6
You can also generate the pdf file first, then convert it to eps file in command line
pdftops -eps filename.pdf
If you get
-bash: pdftops: command not found
install poppler with
brew update
brew install poppler
zyy
- 2,146
.ps. Wouldn't this be better?dvips -E -o file.eps file.dvi– musarithmia Jun 30 '16 at 16:55magick convertbecause plainconvert' interferes with a native Windows command. That's why I use GraphicsMagick (command isgm convert` on Windows and Linux). – Dec 12 '17 at 02:33