dear zdenek,<div><br></div><div>thank you very much for your reply!</div><div><br></div><div>did you mean i could solve the problem by writing</div><div><br></div><div>e.g.</div><div><br></div><div>%!PS</div><div>\begin{figure}[H]<br>
<br>...<br><br>\end{figure}</div><div>%%EOF<br><br>?</div><div><br></div><div>this didn't work and i don't understand how something is making a change even though i put a % in front of it.</div><div><br></div><div>
thank you very much in advance.</div><div><br></div><div>marion<br><br><div class="gmail_quote">2011/11/9 Zdenek Wagner <span dir="ltr"><<a href="mailto:zdenek.wagner@gmail.com">zdenek.wagner@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">2011/11/9 Marion Wenty <<a href="mailto:marion.wenty@gmail.com">marion.wenty@gmail.com</a>>:<br>
<div class="im">> hello,<br>
> i am trying to include a grapic, ist is an eps.file:<br>
> does anyone know how to deal with this error message?<br>
> [2] <gra.eps> [3]<br>
><br>
> Overfull \vbox (247.34067pt too high) has occurred while \output is active<br>
><br>
> [4] <gra.eps><br>
><br>
> Overfull \hbox (464.0225pt too wide) in paragraph at lines 105--106<br>
><br>
</div>Your image is larger than the page size (\texwidth abd \textheight).<br>
You have to make it smaller, e.g. by scaling (see grfguide.pdf)<br>
<div class="im"><br>
> [][]<br>
><br>
> LaTeX Warning: Float too large for page by 1.59608pt on input line 108.<br>
><br>
> [5] [6] [7] [8] [9] [10] [11Error: /syntaxerror in -file-<br>
><br>
> Operand stack:<br>
><br>
> 334.09 98.35<br>
><br>
> Execution stack:<br>
><br>
</div>This is a problem in your EPS files. It is difficult to guess the<br>
exact problem without seeing the EPS file but usually MS programs<br>
prepend a binary garbage to the beginning of your file. If you open<br>
the EPS file in GS, everything works because the garbage is<br>
automatically removed. However, if you include such file using dvips<br>
or dvipdfm, it usually causes this type of errors. It is necessary to<br>
remove such garbage, ie the first valid line must start with %!PS and<br>
the last line must be %%EOF. Sometimes DSC comments may confuse<br>
dvips/dvipdfm, sometimes ASCII85 encoded string may lead to confusion<br>
and then cause such errors. A few years ago I wrote a perl script that<br>
created a dummy EPS file containing just the bounding box information<br>
and (filename.eps) run. Thus just a small file was examined by LaTeX<br>
and included in the PS output and it displayed the correct output in<br>
GS. Another perl script looked for (filename.eps) run commands and<br>
included the real EPS files (if I wanted to send the file to PS<br>
printer, to Adobe Distiller, or send it to someone else).<br>
<div><div></div><div class="h5"><br>
> %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2<br>
> %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1<br>
> %stopped_push 1878 1 3 %oparray_pop 1877 1 3 %oparray_pop 1861 1 3<br>
> %oparray_pop 1755 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2<br>
> --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push<br>
><br>
> Dictionary stack:<br>
><br>
> --dict:1162/1684(ro)(G)-- --dict:0/20(G)-- --dict:95/200(L)--<br>
><br>
> Current allocation mode is local<br>
><br>
> Current file position is 13023<br>
><br>
> GPL Ghostscript 8.71: Unrecoverable error, exit code 1<br>
><br>
> ** WARNING ** Filtering file via command -->rungs -q -dNOPAUSE -dBATCH<br>
> -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.5<br>
> -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode<br>
> -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode<br>
> -sOutputFile='C:/DOKUME~1/MARION~1.WEN/LOKALE~1/Temp/dvipdfmx.a0321600002'<br>
> './gra.eps' -c quit<-- failed.<br>
><br>
> ** WARNING ** Image format conversion for "./gra.eps" failed...<br>
><br>
> ** ERROR ** pdf_ref_obj(): passed invalid object.<br>
><br>
> Output file removed.<br>
><br>
> fwrite: Broken pipe<br>
><br>
> xelatex.exe:<br>
><br>
> thank you very much in advance.<br>
><br>
> marion<br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Zdeněk Wagner<br>
<a href="http://hroch486.icpf.cas.cz/wagner/" target="_blank">http://hroch486.icpf.cas.cz/wagner/</a><br>
<a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a><br>
</font></blockquote></div><br></div>