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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook] 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.


To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


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