ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* eps / tif inclusion in combi context & pdftex
@ 1998-08-14 11:10 Frans Goddijn
  0 siblings, 0 replies; only message in thread
From: Frans Goddijn @ 1998-08-14 11:10 UTC (permalink / raw)


The past week I've been experimenting much with the inclusion of a company
logo on the title page of a essay book. I hade come to hope/expect that
the latest versions of context / pdftex would cope with the EPS file of
the logo.

After blaming earlier problems with this logo inclusion on my context/pdf
setup being not up to date, I blamed the still existing problems to font
info retained in the EPS before it was converted to PDF by friends.

Yesterday, Taco Hoekwater got an absolutely bitmappy non-font containing
EPS from me and he used GhostScript to produce a PDF of it *and* Distiller
to produce yet another PDF of it. Also, Siep Kroonenbnerg who has been
producing a brochure for the same publisher using the logo, distilled a
logo clipped in PDF format for me. 

Now I was fairly sure that the .PDF file was o.k. Viewing the three logos
at home with my Acrobat viewer, I did notice differences between the three
different "flavours" of logo: one showed a large white page with the logo
in the bottom, one made Acrobat complain that there was no PDF file with
that name, at least not beginning with "PDF" in the file, and the third
(Siep's pdf) showed fine, the logo exactly fitting on its own small page.

Inclusion of the files in my .tex file was done like this :

\steluitvoerin[pdftex]
\stelpapierformaatin[A5][A5]
[...]
   \starttekst
           \regelmidden{%
   \externfiguur[lsylogo][breedte=.4\zetbreedte] 
                         }
   \stoptekst

 Taco's test.pdf, made with GhostScript, gave:
> [2.2^^J<./test.pdfError (328): Unexpected end of file in flatestream>]

Taco's testlog.pdf, from Distiller gave:
(Siep's lsy2.pdf, produced also via distiller, also got the error below:)

> Error (0): PDF file is damaged - attempting to reconstruct xref table...
> Error: Couldn't find trailer dictionary
> Error: Couldn't read xref table
> pdfTeX error (ext1): invalid image dimension.
> <to be read again>
> \relax  \dogetTPDfiguresize ...=\vbox {\pdfimage #2\relax }#3=*  \!!zer
> opoint #4=\!!ze r... \getfiguHardin redimensionsA ...{\!!widthb
> }{\!!heightb } \ifexecuted \chardef \figu... \next
> ->\getfiguredimensionsA \getfiguredimensionsB \getfiguredimensionsC
> \doifinstringelse ...lse \@EA {\@@instring }{#2}#3 \else #4\fi
> \dododoanalyzefigurefiles ...alyzefigurefiles } {} \fi     ... l.176 }
> ! ==> Fatal error occurred, the output PDF file not finished!
> Transcript written on dekunst.log.

Now I reverted back to TIF inclusion of the same logo. CorelDraw3.0
exported the TIF for me which I included using:

  \externfiguur[lsylogo][type=tif,breedte=.4\zetbreedte] % ong. 4cm

This has fair results. I first made a small TIF which showed frayed
bitmappy, then I saved a larger TIF which crahed the compiler and after I
made a slightly less large one, it worked.

So even though it's a bit strange that even the most expertly produced EPS
files won't work as per manual instructions, I'm relieved that at least
the logo is on the page now, and in its small scale it doesn't show any
bitmappy uglyness.

The too-large TIF file got the following errors:

> [2.2^^J<./lsylogo.tifExiting due to signal SIGSEGV
> Page fault at eip=00074032, error=0004
> eax=000000ff ebx=00000874 ecx=00140390 edx=015fe3f8 esi=015fa86f
> edi=ffffffff
> ebp=0014038c esp=0014037c program=
>  
> cs: sel=00d7  base=00400000  limit=0160ffff
> ds: sel=00df  base=00400000  limit=0160ffff
> es: sel=00df  base=00400000  limit=0160ffff
> fs: sel=00b7  base=000045f0  limit=0000ffff
> gs: sel=00ef  base=00000000  limit=ffffffff
> ss: sel=00df  base=00400000  limit=0160ffff
>
> Call frame traceback EIPs:
>  0x00074032
>  0x00073941
>  5066

Met hartelijke groet!

 Frans Goddijn   | bbs: +31 (0)26 3217041
 Postbus 30196   | email: fg@fgbbs.iaf.nl
 6803 AD Arnhem  | tel: +31 (0)26 3219342
 The Netherlands | http://www.iaf.nl/Users/Meridian 
--
You are what you is


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-08-14 11:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-08-14 11:10 eps / tif inclusion in combi context & pdftex Frans Goddijn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).