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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: Docbook and screenshots


>>>>> thierry templier <templth@yahoo.fr>:

> I try to put screenshots in my docbook book, but I have problems
> with size of them. Must I configure different sizes for html and pdf
> generations?

I do it this way:

      <mediaobject>
	<imageobject role="html">
	  <imagedata fileref="images/insert_disk2.png" format="PNG"/>
	</imageobject>
	<imageobject role="fo">
	  <imagedata fileref="images/insert_disk2.png" format="PNG"
	    depth="6cm" scalefit="1"/>
	</imageobject>
      </mediaobject>

Ie. I use the same image, but in HTML it is shown in full size, while
in PDF it'll be squeezed down to a height of 6cm.



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