[docs] Fw: [docbook] Re: Docbook and screenshots]

Alexandre Prokoudine avp на altlinux.ru
Пт Окт 24 16:52:23 MSD 2003


----- Forwarded message from Steinar Bang <sb на dod.no> -----

From: Steinar Bang <sb на dod.no>
To: docbook на lists.oasis-open.org
Subject: [docbook] Re: Docbook and screenshots
Date: Sat, 18 Oct 2003 22:33:29 +0200
Mailing-List: contact docbook-help на lists.oasis-open.org; run by ezmlm
Mail-Followup-To: docbook на lists.oasis-open.org
Mail-Copies-To: never
Cancel-Lock: sha1:IPn1n3tLQhnB8RzQ6RXG/xdqxrI=

>>>>> 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/.

----- End forwarded message -----

-- 
Alexandre Prokoudine		| "When you set yourself on fire and aim 
ALT Linux Documentation Team	|  for the sky, you hope to leave behind 
E-mail: avp на altlinux.ru		|  some sparks of heat and light"
JabberID: avp на altlinux.org	|                             Neil Peart
----------- следущая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : отсутствует
Тип     : application/pgp-signature
Размер  : 189 байтов
Описание: отсутствует
Url     : /pipermail/docs/attachments/20031024/7a27d0a8/attachment.bin


Подробная информация о списке рассылки docs