From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3714 Path: main.gmane.org!not-for-mail From: Tobias Burnus Newsgroups: gmane.comp.tex.context Subject: Re: (newbie) Figure not found when outputting PDF Date: Thu, 04 Jan 2001 15:49:04 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3A548D60.C9C573E8@gmx.de> References: <20010104151835.A2354@wouter.verheijen.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035394438 19538 80.91.224.250 (23 Oct 2002 17:33:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:33:58 +0000 (UTC) Cc: conTeXt Original-To: Wouter Verheijen Xref: main.gmane.org gmane.comp.tex.context:3714 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3714 Hallo Wouter, > The file test.eps is in the same directory. I am using Linux. > The first line of my document is: % output=pdf > The figure included normally when I output a DVI file!! The problem is that the portable document format (PDF) doesn't support all Postscript (PS) constructs and a embedded postscript (EPS) file can still -- at least theoretically -- use all postscript structures (well not all, but all than cannot be converted without a RIP). Since pdfTeX is not a complete Postscript RIP it cannot read the EPS and convert it into PDF constructs. (VTeX which is free for Linux can.) The solution is simple: You have to convert the EPS file into a PDF file. During this convertion some information must be preserved (bounding box). The best methode is: RUN THIS: texutil --figures --epstopdf filename this calls Ghostscript to convert the EPS into PDF. Now you can run texexec --pdf again to produce your PDF -- now with the graphics included. A tip: The newer the Ghostscript the better the result. You should use version 6.0 or higher (6.50 is the current non-beta version) if your EPS contains fonts. The reason is that older Ghostscripts are unable to embed the fonts (Type 1 etc.) into the PDF file and convert them into bitmaps (XObjects in <=5.0, Type 3 in 5.50). With warm regards, Tobias -- This above all: To thine own self be true / And it must follow as the night the day / Thou canst not then be false to any man.