4

I have a figure only in pdf to include in a big tex file that doesn't compile with pdflatex. Is there a way to include a pdf graphic in normal latex?

Alternatively, can I convert the pdf to eps without losing quality?

Thank you very much in advance!

  • XY: Why does the file not compile with pdfLaTeX? – Martin Schröder Dec 21 '13 at 13:28
3

I think the answer for your first question is `No.' The reason for that is the standard output link of plain TeX goes:

TeX → Dvi → PS

For this historical reason, the dvi format only supports postscript specials, and inclusion of postscript graphic.

So, the problem boils down to: How to convert PDF to EPS?

  • Thank you for the answers. I converted with coreldraw or adobe illustrator and the conversion was perfect. Much better than the one from inkscape. – Elisa Ferreira Dec 20 '13 at 19:06
  • 1
    That's wrong: We still have dvipdfm. – Martin Schröder Dec 21 '13 at 13:26
  • @MartinSchröder I am not sure what actually dvipdfm does. Acording to this: mintaka.sdsu.edu/GF/bibliog/latex/LaTeXtoPDF.html, and my few-years-ago experience it required eps figures. I would expect it interprets postscript specials, and include (translate?) them in the resulting pdf. – Jakub Opršal Dec 22 '13 at 20:53
  • @MartinSchröder Sorry, so you were right, it has also an ability to include pdf or other images (see gaspra.kettering.edu/dvipdfm). So, your solution is probably the best option, if the final output is to be pdf. – Jakub Opršal Dec 22 '13 at 20:57
2

Yes: Use latex (which will be pdftex in dvi-mode) and dvipdfm.

1

Download Inkscape here

You can convert pdf to eps and viceversa

  • I tried that and I still lose a little of the quality. But I guess it is the only way… Thanks!!! – Elisa Ferreira Dec 20 '13 at 16:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.