OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Cannot find (possible) markup error


Bob Stayton wrote, on 29.11.2012 19:10:
Indeed, it is a bug in the stylesheet. It was this combination that
showed the problem:

<bridgehead><literal>\stepcounter{counter}</literal></bridgehead>

The bridgehead is handled in mode="title.markup", but its template
looked like this:

<xsl:template match="bridgehead" mode="title.markup">
<xsl:apply-templates mode="title.markup"/>
</xsl:template>

The template should only process titles in mode="title.markup", not the
children of titles. This template should read:

<xsl:template match="bridgehead" mode="title.markup">
<xsl:apply-templates/>
</xsl:template>

If you add this version to your customization layer, the error messages
will go away.

Verified!

Thanks for the report.

Thanks for the *really* quick response!
Michael



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]