[tex-live] error-message: overfull box

Zdenek Wagner zdenek.wagner at gmail.com
Wed Nov 9 12:12:32 CET 2011


2011/11/9 Marion Wenty <marion.wenty at gmail.com>:
> hello,
> i am trying to include a grapic, ist is an eps.file:
> does anyone know how to deal with this error message?
> [2] <gra.eps> [3]
>
> Overfull \vbox (247.34067pt too high) has occurred while \output is active
>
> [4] <gra.eps>
>
> Overfull \hbox (464.0225pt too wide) in paragraph at lines 105--106
>
Your image is larger than the page size (\texwidth abd \textheight).
You have to make it smaller, e.g. by scaling (see grfguide.pdf)

> [][]
>
> LaTeX Warning: Float too large for page by 1.59608pt on input line 108.
>
> [5] [6] [7] [8] [9] [10] [11Error: /syntaxerror in -file-
>
> Operand stack:
>
> 334.09 98.35
>
> Execution stack:
>
This is a problem in your EPS files. It is difficult to guess the
exact problem without seeing the EPS file but usually MS programs
prepend a binary garbage to the beginning of your file. If you open
the EPS file in GS, everything works because the garbage is
automatically removed. However, if you include such file using dvips
or dvipdfm, it usually causes this type of errors. It is necessary to
remove such garbage, ie the first valid line must start with %!PS and
the last line must be %%EOF. Sometimes DSC comments may confuse
dvips/dvipdfm, sometimes ASCII85 encoded string may lead to confusion
and then cause such errors. A few years ago I wrote a perl script that
created a dummy EPS file containing just the bounding box information
and (filename.eps) run. Thus just a small file was examined by LaTeX
and included in the PS output and it displayed the correct output in
GS. Another perl script looked for (filename.eps) run commands and
included the real EPS files (if I wanted to send the file to PS
printer, to Adobe Distiller, or send it to someone else).

> %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2
> %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1
> %stopped_push 1878 1 3 %oparray_pop 1877 1 3 %oparray_pop 1861 1 3
> %oparray_pop 1755 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2
> --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push
>
> Dictionary stack:
>
> --dict:1162/1684(ro)(G)-- --dict:0/20(G)-- --dict:95/200(L)--
>
> Current allocation mode is local
>
> Current file position is 13023
>
> GPL Ghostscript 8.71: Unrecoverable error, exit code 1
>
> ** WARNING ** Filtering file via command -->rungs -q -dNOPAUSE -dBATCH
> -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.5
> -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode
> -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode
> -sOutputFile='C:/DOKUME~1/MARION~1.WEN/LOKALE~1/Temp/dvipdfmx.a0321600002'
> './gra.eps' -c quit<-- failed.
>
> ** WARNING ** Image format conversion for "./gra.eps" failed...
>
> ** ERROR ** pdf_ref_obj(): passed invalid object.
>
> Output file removed.
>
> fwrite: Broken pipe
>
> xelatex.exe:
>
> thank you very much in advance.
>
> marion



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



More information about the tex-live mailing list