This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
which image type for output to html and pdf?
- To: docbook-apps <docbook-apps at lists dot oasis-open dot org>
- Subject: DOCBOOK-APPS: which image type for output to html and pdf?
- From: Matthew Kennedy <mkennedy at opushealthcare dot com>
- Date: Wed, 29 Aug 2001 10:55:13 -0500
- List-Id: <docbook-apps.lists.oasis-open.org>
I have image sections which looks like:
<figure>
<title>System Example</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/figure02.eps"/>
</imageobject>
</mediaobject>
</figure>
I chose .eps because it seem to work best for print output backends.
This definition works great for the following commands:
jade -t -V tex-backend -d \
/usr/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl \
/usr/share/sgml/xml.dcl mybook.xml
jadetex mybook.tex
dvips mybook.dvi -o mybook.ps
dvipdf mybook.dvi mybook.pdf
(jade ... aka "docbook2tex") However when I use:
docbook2html mybook.xml
The images don't display in the output html. Instead I get:
<div
CLASS="figure"
><a
NAME="AEN32"
></a>
<div
CLASS="mediaobject"
><p></p></div>
<p><b>Figure 1. System Example</b></p></div>
Therefore, what is the correct way to have a docbook document which
includes images output to both print and html?
Thanks
Matthew
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>