<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">Hi
Bernhard,</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">Actually,
a figure does not have to be confined to one page. That is a
stylesheet feature, not a feature of DocBook XML. <br>
</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">In
DocBook XSL, a figure element is processed to use the
attribute-set named 'figure.properties', which by default is
defined in fo/param.xsl as:</font></font></p>
<p> <xsl:attribute-set name="figure.properties"
use-attribute-sets="formal.object.properties"/></p>
<p>In other words, it inherits the attributes set in
'formal.object.properties', and one of those attributes is:</p>
<p> <xsl:attribute
name="keep-together.within-column">always</xsl:attribute></p>
<p>It is this setting that tries to keep a figure to one page, which
in most cases is what users want. However, a customization can
change that behavior. For example:</p>
<p><xsl:attribute-set name="figure.properties"><br>
<xsl:attribute name="keep-together.within-column"><br>
<xsl:choose><br>
<xsl:when test="count(d:mediaobject) >
1">inherit</xsl:when><br>
<xsl:otherwise>always</xsl:otherwise><br>
</xsl:choose><br>
</xsl:attribute><br>
</xsl:attribute-set></p>
<p>This is an example of overriding one xsl:attribute in an
attribute-set. It also shows how the attribute-set is applied
separately to each instance of figure, so you can count
d:mediaobjects and relax the keep-together for those instances.
These two sections in my book illustrate this method of
customization:<br>
</p>
<p><a class="moz-txt-link-freetext" href="http://www.sagehill.net/docbookxsl/AttributeSets.html">http://www.sagehill.net/docbookxsl/AttributeSets.html</a></p>
<p><a class="moz-txt-link-freetext" href="http://www.sagehill.net/docbookxsl/PrintTableStyles.html#TableTitle">http://www.sagehill.net/docbookxsl/PrintTableStyles.html#TableTitle</a><br>
</p>
<pre class="moz-signature" cols="72">Bob Stayton
Sagehill Enterprises
<a class="moz-txt-link-abbreviated" href="mailto:bobs@sagehill.net">bobs@sagehill.net</a></pre>
<div class="moz-cite-prefix">On 10/26/2018 8:32 PM, Bernhard Kleine
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:b4a685a8-9b38-7986-7e2a-5498218cd7a5@gmx.net">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<p>Hi Bob,</p>
<p>unfortunately, your suggestion did not work. Obviously a figure
is glued to one page, it cannot be spread on more than one.
Therefore, the only thing that comes to my mind would be to
reset the figure number by -1. Is this possible?</p>
<p>Regards</p>
<p>Bernhard<br>
</p>
<br>
<div class="moz-cite-prefix">Am 26.10.2018 um 22:48 schrieb Bob
Stayton:<br>
</div>
<blockquote type="cite"
cite="mid:1acea5e8-9a60-3859-a9ab-9f714aeb8745@sagehill.net">
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">Hi
Bernhard,</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">This
is more of a DocBook issue than an Oxygen XML issue.</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">Currently
DocBook 5.1 does not support subfigures, but version 5.2
under development will support a new element named
<formalgroup> which can contain one or more "formal"
elements (table, figure, example, equation). That would
allow for subfigures. However, there is currently no
release date for DocBook 5.2, nor do the stylesheets
support that element yet.</font></font></p>
<p><font size="-1"><font face="Helvetica, Arial, sans-serif">For
the current releases, I can only suggest a workaround.
Put two mediaobjects in a figure element (they are
allowed), and give each mediaobject a <caption>
element whose para includes "a." or "b." and include
subtitles there if needed. Maybe someone else has a
better suggestion.</font></font><br>
</p>
<pre class="moz-signature" cols="72">Bob Stayton
Sagehill Enterprises
<a class="moz-txt-link-abbreviated" href="mailto:bobs@sagehill.net" moz-do-not-send="true">bobs@sagehill.net</a></pre>
<div class="moz-cite-prefix">On 10/26/2018 12:09 PM, Bernhard
Kleine wrote:<br>
</div>
<blockquote type="cite"
cite="mid:0dbad421-d835-b54a-9ce9-51bc245c8d40@gmx.net">
<pre wrap="">The Docbook definitive Guide does not mention subfigures.
The Docbook xsl complete Guide does not either.
I have a figure too large that the text can only be read by magnifying
glass. So I wand two parts of it on two pages. But I cannot see how to
number it correctly Fig. 1a and Fig. 1b. Can please point me in correct
direction?
Many thanks
Bernhard
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com" moz-do-not-send="true">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user" moz-do-not-send="true">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com" moz-do-not-send="true">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user" moz-do-not-send="true">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
spitzhalde9
D-79853 lenzkirch
<a class="moz-txt-link-abbreviated" href="mailto:bernhard.kleine@gmx.net" moz-do-not-send="true">bernhard.kleine@gmx.net</a>
<a class="moz-txt-link-abbreviated" href="http://www.b-kleine.com" moz-do-not-send="true">www.b-kleine.com</a>, <a class="moz-txt-link-abbreviated" href="http://www.urseetal.net" moz-do-not-send="true">www.urseetal.net</a>
-
thunderbird mit enigmail
GPG schlüssel: D5257409
fingerprint:
08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
</blockquote>
<br>
</body>
</html>