Wednesday, August 02, 2006

With linux system, pdflatex cannot display the pictures

use
pdflatex file.tex
created the file.pdf file but the pictrues in .eps formate cannot be shown. This is becasue pdflatex doesn't support .eps file, it supports .jpg, .png, .pdf file.

There are some other ways to do it:

1: .tex--(latex)->.dvi--(dvipdfm,dvipdfmx)->.pdf
2: .tex--(latex)->.dvi--(dvips)->.ps--(ps2pdf)->.pdf
it is like this:

dvipdfm -o file.pdf file.dvi
or
dvips -o file.ps file.dvi
ps2pdf file.ps file.pdf

Then the curves in .eps format can be shown.

No comments: