[tex-live] What is the right way to include eps in latex for pdf generating?

Paul Vojta vojta at math.berkeley.edu
Sat Nov 8 23:17:53 CET 2014


On Sun, Nov 09, 2014 at 01:09:28AM +0300, Askar Safin wrote:
> Hi. Sorry for my previous "bug report", it is not bug report at all, because one should not use \usepackage[dvips]{graphicx} and then use pdflatex.
> And now I want to report some real bug: tools epstopdf, ps2pdf, eps2eps (and pdflatex) cannot work with eps images created by mpost.
> Steps: http://paste.debian.net/130920 .
> 
> Also, now I (using http://en.wikibooks.org/wiki/LaTeX/Importing_Graphics ) finally understand what is the right way to include mpost-generated eps images to latex/pdf. It is following:
> * If you use Debian, install "texlive-font-utils" package to make sure epstopdf/repstopdf is installed
> * \usepackage{graphicx} % without any square brackets
> * \includegraphics{graphic.eps} % "graphic.1" doesn't work, you should rename graphic.1 to graphic.eps
> * Just "pdflatex doc.tex"
> But unfortunately this doesn't work thanks to bug I reported few lines above :(

The right way to include mpost-generated images in latex/pdf is given in the web page:

	http://math.berkeley.edu/~vojta/tex/samp-l/mpost.html

(see the bottom of that page for pdflatex instructions).

--Paul Vojta, vojta at math dot berkeley period edu


More information about the tex-live mailing list