[OS X TeX] Importing graphics in LaTeX

Jose Figueroa-O'Farrill j.m.figueroa at ed.ac.uk
Wed Jan 4 01:10:20 CET 2006


Hi,

I want to include an EPS file generated by Grapher.app in a LateX
document. It compiles fine, but then I get a bizarre error when using
dvipdfm on the file

endstream not found

Expecting an object, but didn't find one
Current input buffer is -->
<</Length 6 0 R/Filter /FlateDecode>>
stream
x??|...
<--
Didn't find "endobj"

No Contents found
)
pdf: image inclusion failed for (Figs/prob.eps).
][15][16][17][18][19(./Figs/collisionm1smaller.eps<PS>dvipdfm(1644) malloc: *** vm_allocate(size=4294963200) failed (error code=3)
dvipdfm(1644) malloc: *** error: can't allocate region
dvipdfm(1644) malloc: *** set a breakpoint in szone_error to debug
Out of memory in (null):0
Asked for 4294960271


The document includes other EPS files without problem.

I tried converting this file to PDF -- either exporting from Grapher
as PDF or using epstopdf -- and I get another kind of error (this one
happens with any EPS file AFAIK):

! LaTeX Error: File `Figs/prob.bb' not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.1356 ...hics[width=0.8\textwidth]{Figs/prob.pdf}
                                                  


I realise that the problem is that it's not finding the bounding box
information in the PDF file.  I have never seen a .bb file before, so
I'm not sure how to create it.

Many thanks in advance, José

-- 
Prof José M Figueroa-O'Farrill  | Phone: +44 (0) 131 6505066
School of Mathematics           | Fax: +44 (0) 131 6506553
University of Edinburgh         | Mobile: +44 (0) 7870 239186
Edinburgh EH9 3JZ, Scotland, UK | URL: http://www.maths.ed.ac.uk/~jmf
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list