This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

which image type for output to html and pdf?


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]