left side of figure cut

930 views
Skip to first unread message

Pravesh Biyani

unread,
Sep 16, 2010, 3:51:57 AM9/16/10
to latexus...@googlegroups.com
Hi All
When I compile my latex file and then do dvi to pdf conversion, left side of some of the figures get cut. These are matlab generated figures (from .fig to .eps).

However, when I do dvi to ps to pdf, then these figures are fine, but some other .eps files disappear, however their space is left vacant in the final pdf. These eps files were generated from microsoft visio by converting it into eps.

What should I do?

Thanks

Pravesh

Peter Flynn

unread,
Sep 16, 2010, 4:27:41 AM9/16/10
to latexus...@googlegroups.com

  1. Read Ian Hutchinson's Graphics for Inclusion in Electronic Documents.
  2. Check that each figure does not have any excess white-space around it. The best way is to convert all the .eps files to .pdf using ps2pdf, and then run pdfcrop to trim off all surrounding white-space.
  3. Use pdflatex to generate PDF directly (make sure you use \includegraphics{name} not \includegraphics{name.eps}, ie always omit the filetype, then LaTeX will pick the right one).
  4. If you still have disappearing images, go back and recreate them by some other method. Both MatLab and Microsoft may be using the very poor quality EPS driver whipped with Windows. If possible, download Adobe's PS print driver and use that instead, or use their PDF driver.
///Peter

Reply all
Reply to author
Forward
0 new messages