Hi Robert,
The bridgehead element was introduced to mark boundaries in content
without adding structure. It fits between paragraphs. In your case it
would communicate the break using a mark instead of words.
Bob Stayton
Sagehill Enterprises
[email protected]
On 2/20/2017 6:08 PM, Robert Nagle wrote:
Thanks for the reply. But your solution doesn't meet my needs exactly.
It assumes that content has been broken down into sections, but I'm
talking about basically unstructured content where the break occurs
between arbitrary paragraphs within a chapter.
I realize that docbook doesn't have to slavishly follow HTML5's content
model, and it's certainly not hard to to accomplish what I want through
css classes alone. I was more curious why such an element was never
introduced.
Robert
*************************************************************
Docbook templates could use a lot of improvements, not just more
features but also refactoring for easier customization. Here's how I've
solved the same problem. I've added a small template which will generate
a separator at the beginning of every section with no title:
<xsl:template match="d:section|d:sect1|d:sect2|d:sect3|d:sect4|d:sect5">
<xsl:if test="not(d:title|d:info/d:title)">
<div class="nameless-section-sep">
<xsl:text>* * *</xsl:text>
</div>
</xsl:if>
<xsl:apply-imports/>
</xsl:template>
Don't forget to set appropriate margins and text centering in your CSS
style sheet and then simply wrap the text following the desired
narrative break in the <section> tag.
Regards,
Martin Doucha
--
Robert Nagle
22118 FINCASTLE DR KATY TX 77450-1727
(Cell) 832-251-7522; (Skype) idiotprogrammer; Carbon Neutral Since Jan 2010
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]