OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: DOCBOOK-APPS: EPS files in Postscript


Hi,

I am trying to get some images into a Postscript file that I am creating 
using SGMLtools-Lite version 3.0.3.

The docbook files references the EPS file:

<!doctype book PUBLIC "-//OASIS//DTD DocBook V4.1//EN" []>

<book id="test-guide">
<chapter id="test.chapter.intro">
    <title>
        Intro
    </title>
            <para>This example puts an image between two paragraphs.</para>
            <mediaobject>
                <imageobject>
                    <imagedata fileref='./images/test1.eps' align='center'>
                </imageobject>
                <imageobject>
                    <imagedata fileref='./images/test1.png' align='center'>
                </imageobject>
            </mediaobject>
            <para>This example puts an image between two paragraphs.</para>
</chapter>
</book>

The output from SGMLtools during the build process shows:

LaTeX Warning: File `./images/test1.eps' not found on input line 440.


! LaTeX Error: File `./images/test1.eps' not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.440 {0}}
          \endNode{}\endNode{}\endSeq{}\endPar{}\endNode{}\Node%

! LaTeX Error: Cannot determine size of graphic in ./images/test1.eps (no Bound
ingBox).

The strange thing is that test1.eps file does appear somewhat in the resulting Postscript (but not between the paragraphs and not completely on the page) and it does contain a BoundingBox:

%!PS-Adobe-2.0 EPSF-2.0
%%Title: test1.dia
%%Creator: Dia v0.88.1
%%CreationDate: Wed Aug  7 18:12:29 2002
%%For: root
%%Magnification: 1.0000
%%Orientation: Portrait
%%BoundingBox: 0 0 592 573
%%Pages: 1
%%BeginSetup
%%EndSetup
%%EndComments
%%BeginProlog

(I created the EPS using Dia V1.0 and loaded it into Adobe Photoshop and it looked fine there.)

Eventually we want to include some sort of bitmap format, but I assume it would have to converted to EPS somehow to make it into a Postscript file.

Actually, We are generating PDF from the Postscript, in case anyone can offer a DocBook to PDF option that would allow formats other than EPS to be embedded in the PDF.

Any help would be appreciated.

Barry Sheward





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC