This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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.
|
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |