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



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


Powered by eList eXpress LLC