[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Callouts and numbering
Hi Andreas,
This template in fo/callout.xsl establishes
the numbering of co:
<xsl:template match="co"
mode="callout-bug">
<xsl:call-template name="callout-bug"> <xsl:with-param name="conum"> <xsl:number count="co" level="any" from="programlisting|screen|literallayout|synopsis" format="1"/> </xsl:with-param> </xsl:call-template> </xsl:template> It resets within the four listed elements,
which are text display elements. The other elements in which co are
permitted are inlines. Since co is intended to add callouts to a text display, I
believe the intention was that the inlines were to be within one of these
four display elements. There is no way to express such a restriction in
DTD syntax, so it was left loose enough to permit it. But the stock
stylesheets don't support co outside of those four elements.
You are of course free to customize this
template as needed.
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]