Dominique Ribaut wrote:
> 
> I would like to know what is the best way to include an image (mainly 
> screenshots)  in a docBook document in such a way that there are shown 
> on their own line when transformed to html (html help to be precise).
> 
> Some of the images are small and we would like to have them left-justified.
> 
> The way we do it right now is putting the next elements to the side of 
> the image when transformed to html.
> 
> What we do:
> 
> 1>     Put a screenshot in a subsection or a paragraph
> 
> 2>     Center left
> 

[1] Insert any element which may have an imagedata descendant: figure, 
mediaobject, etc.

The name of this element must not start with "inline": 
inlinemediaobject, etc.

Personally I always use the "Add image" button found in the DocBook tool 
bar to do that.

[2] Select the imagedata descendant of the newly inserted element and, 
using the Attribute tool, set its "align" attribute to "left".



> 
> By the way what is the semantic difference between mediaObject and 
> Screenshot? (Ok, that is docbook stuff J)

mediaobject can contain not only images but also audio, video, etc.

screenshot has a metadata child called screeninfo used to document it.

More info in http://www.docbook.org/tdg/en/html/docbook.html


Reply via email to