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]

Re: which image type for output to html and pdf?


Matthew Kennedy wrote:

> Therefore, what is the correct way to have a docbook document which
> includes images output to both print and html?

If, for example, you are using .png images for HTML, try this:

       <figure>
         <title>System Example</title>
         <mediaobject>
           <imageobject>
             <imagedata fileref="images/figure02.eps"/>
           </imageobject>
           <imageobject>
             <imagedata fileref="images/figure02.png"/>
           </imageobject>
         </mediaobject>
       </figure>


Cheerio!

Bob

---------------------------------------
Robert McIlvride (robert@cogent.ca)
Cogent Real-Time Systems (www.cogent.ca)

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