This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: eps with openjade
- From: Ian Castle <ian dot castle at openjade dot org>
- To: Dennis Grace <dgrace at us dot ibm dot com>, Robert McIlvride <robert at cogent dot ca>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Thu, 31 Oct 2002 22:10:27 +0000
- Subject: Re: DOCBOOK-APPS: eps with openjade
- References: <OFD648ECEE.1A331640-ON85256C63.0054BFE9@pok.ibm.com>
pdfjadetex (and pdftex) wants EPDF format.
jadetex wants EPS format.
It is a bit tricky to come up with a set up that allows supports both without
explicitly hardcoding one format over another into the stylesheets.
What I do is to use pdfjadetex and EPDF images exclusively - then convert
from PDF to PS.
The Makefile and releasenotes.xml, releasenotes.dsl and jadetex.cfg files
included with the openjade 1.3.1 give an example of how this works.
You can use ImageMagick's convert (if using UNIX/Linux) to convert between EPS
and EPDF.
convert fig.eps fig.epdf
mv fig.epdf fig.pdf
(pdfjadetex wants the files to be called .pdf even though they are really
epdf).
Regards,
Ian.
On Thursday 31 October 2002 15:32, Dennis Grace wrote:
> I tried it, Robert, but I still get the following in my .log file:
>
> ! LaTeX Error: Unknown graphics extension: .eps.
>
> and the pictures don't appear in the resultant PDF.
>
> Dennis Grace
>
> Information Developer
> IBM Linux Technology Center
> (512) 838-3937 T/L 678-3937 cell: (512)-296-7830
> dgrace@us.ibm.com
>
> There are only 10 kinds of people in the world: those who understand binary
> and those who don't.
>
>
>
> Robert McIlvride
> <robert@cogent.ca To:
> docbook-apps@lists.oasis-open.org
>
> > cc:
>
> Subject: Re: DOCBOOK-APPS:
> eps with openjade 10/31/2002 07:37
> AM
>
>
>
>
>
> Hi Dennis,
>
> Have you put one or more of these in your stylesheet customization layer?
>
> ;; The preferred mediaobject extension.
> (define preferred-mediaobject-extensions
> (list "gif" "png" "eps"))
>
> ;; List of mediaobject filename extensions.
> (define acceptable-mediaobject-extensions
> (list "jpeg" "jpg" "png" "eps"))
>
> ;; List of inlinemediaobject filename extensions.
> (define acceptable-inlinemediaobject-extensions
> (list "gif" "jpeg" "jpg" "png" "eps"))
>
> Cheerio!
>
> Bob
>
>
> On Wed, 30 Oct 2002 17:22:55 -0600
>
> Dennis Grace <dgrace@us.ibm.com> wrote:
> > I'm trying to produce PDFs from DocBook SGML 4.1 (latest stylesheets).
> > Openjade doesn't seem to recognize EPS as a graphics format. Any way I
>
> can
>
> > convince it?
> >
> > Dennis Grace
> >
> > Information Developer
> > IBM Linux Technology Center
> > (512) 838-3937 T/L 678-3937 cell: (512)-296-7830
> > dgrace@us.ibm.com
> >
> > There are only 10 kinds of people in the world: those who understand
>
> binary
>
> > and those who don't.
>
> ---------------------------------------
> Robert McIlvride (robert@cogent.ca)
> Cogent Real-Time Systems (www.cogent.ca)