ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* (newbie) Figure not found when outputting PDF
@ 2001-01-04 14:18 Wouter Verheijen
  2001-01-04 14:49 ` Tobias Burnus
  0 siblings, 1 reply; 2+ messages in thread
From: Wouter Verheijen @ 2001-01-04 14:18 UTC (permalink / raw)


Hi all,

I am trying conTeXt but could'nt get the figures to work.
When I try to include a .EPS-file in my document, I get the following
message: 
figuren        : figuur test is niet te vinden

(in English: figure test cannot be found)

caused by the command: \externfiguur[test]
or the command \gebruikexternfiguur

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!!

Sorry if I overlooked something, and thanks for your help!

-- 
Wouter Verheijen 			<wouter.verheijen@worldmail.nl>


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: (newbie) Figure not found when outputting PDF
  2001-01-04 14:18 (newbie) Figure not found when outputting PDF Wouter Verheijen
@ 2001-01-04 14:49 ` Tobias Burnus
  0 siblings, 0 replies; 2+ messages in thread
From: Tobias Burnus @ 2001-01-04 14:49 UTC (permalink / raw)
  Cc: conTeXt

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-01-04 14:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-04 14:18 (newbie) Figure not found when outputting PDF Wouter Verheijen
2001-01-04 14:49 ` Tobias Burnus

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).