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


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.
Thanks for the report.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net

--------------------------------------------------
From: "Michael Wiedmann" <mw@miwie.in-berlin.de>
Sent: Thursday, November 29, 2012 5:50 AM
To: <docbook-apps@lists.oasis-open.org>
Subject: Re: [docbook-apps] Cannot find (possible) markup error

On 29.11.2012 14:21, Stefan Hinz wrote:

Since no one has replied so far, let me make a wild guess. Could it be
you're using <xref>s that point to elements that have no title? For
example, something like this:

No, I don't use <xref>s in the document.

In the meantime I'm almost convinced that it must be an error in the
stylesheets and *not* in the XML document.

Michael


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org





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