Subject: Re: [docbook] figure vs. mediaobject
Hi Markus,I'm not quite clear what you are trying to do, perhaps an example would clarify?
DocBook distiguishes between title and caption for an image. The required title element in figure is meant as a short identifier of the figure, like a section title. The figure title is copied into the list of figures.
A mediaobject inside a figure can contain an optional caption, which is intended for a longer description of the image. The caption element can contain multiple para and other block elements. Such long descriptions would not be appropriate for a list of figures.
The title element can contain links, emphasis, and other inline elements. I'm not sure what you mean by "format-options like bold, underlined", since those are applied by the stylesheet.
Bob Stayton Sagehill Enterprises email@example.com On 4/3/2014 12:16 AM, firstname.lastname@example.org wrote:
Hello DocBook, I just used the d:figure tag for images, but I have done more and more workarounds for that, to have d:figures in each part. Also I used the d:title within the d:figure to have a caption, but this "d:title"-caption was also not that kind I'd like to have, because I missed links and some format-options like bold, underlined and so on. As I tried to refactor this part of my implemetation I dicovered the d:mediaobject. It seems to fit in every case - perfect. But in the meanwhile I stuck because I didn't get these images with the d:mediaobjet in my list of figures. So, what do you recommand for having a List of mediaobjects? Thank you and Best regards Markus