Figure and its title on the same page

Questions about XML that are not covered by the other forums should go here.
Posts: 13
Location: Bremen/Germany

Figure and its title on the same page

Fri Oct 01, 2004 10:32 pm


its me again :) I have now frequently the problem, that the title of my figure gets written on one page and the actual figure is drawn on the next one. This looks really stupid - I read that docbook is describing system instead of a formatting system, thus shouldn't need layout commands. And indeed, the <beginpage /> tag is not helping, as it is just a hint about a page break in a prior printed form of the document.

Actually I don't want a page break really, all I want is to group the figure and its title together, because it belongs together semantically and does not belong on different pages with lots of white space in between.

Is there a standard way of doing this?

Posts: 221

Mon Oct 04, 2004 11:04 am

Here is a link to the list of docbook stylesheet parameters. ... l#d0e11421

There are several ways to customize docbook, one is using the parameters, the other is to modify the templates that generate the content, using a customization layer. On the same site you will find information about both. Unfortuately I did not find a parameter to control the separation beteen the title and the image so you have to do it using the customziation layer. (Formatting Objects knowledge is required). You can post this message also on the Docbook discussion list (, probably you will get a more accurate answer,


Return to “General XML Questions”

Who is online

Users browsing this forum: No registered users and 2 guests