From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/134 Path: main.gmane.org!not-for-mail From: fg@fgbbs.iaf.nl (Frans Goddijn) Newsgroups: gmane.comp.tex.context Subject: eps / tif inclusion in combi context & pdftex Date: 14 Aug 98 12:10:00 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3e4_9808141239@fgbbs.iaf.nl> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035391008 21512 80.91.224.250 (23 Oct 2002 16:36:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:36:48 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:134 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:134 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. > > \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