Yes, indeed, this is a bug in 1.77.1. This template in graphics.xsl:
<xsl:template match="mediaobject/caption">
<fo:block>
<xsl:if test="@align = 'right' or @align = 'left' or @align='center'">
<xsl:attribute name="text-align"><xsl:value-of
select="@align"/></xsl:attribute>
</xsl:if>
<xsl:apply-templates/>
</fo:block>
</xsl:template>
needs the match attribute changed to:
<xsl:template match="mediaobject/caption|figure/caption">
Bob Stayton
Sagehill Enterprises
[email protected]
----- Original Message -----
From: "David Goss" <[email protected]>
To: "Norman Walsh" <[email protected]>
Cc: <[email protected]>
Sent: Friday, July 27, 2012 7:58 AM
Subject: RE: [docbook-apps] Possible (brief?) {www.}docbook.org and wiki.docbook.org
downtime
No, I haven't changed my customizations in awhile.
I've been using the stock sheets that come with Cygwin. I looked and
notice that those files had been modified in the past few days (must
have been updated and I didn't notice). I downloaded the stylesheets
from the Sourceforge site.
It looks like I'm encountering this problem with the 1.77.x sheets but
1.76.1 works fine. I tried pull out all of my customizations out and
just using the stock 1.77.1 sheets and still encountered this error. I
have figure/caption/para, which looks to be valid, so maybe this is a
stylesheet bug?
-David
<[email protected]>
-----Original Message-----
From: Norman Walsh [mailto:[email protected]]
Sent: Thursday, July 26, 2012 8:21 PM
To: David Goss
Cc: [email protected]
Subject: Re: [docbook-apps] Possible (brief?) {www.}docbook.org and
wiki.docbook.org downtime
"David Goss" <[email protected]> writes:
I'm encountering an error, "Element caption in namespace
'http://docbook.org/ns/docbook' encountered in figure, but no template
matches" whenever I try to build documents that previously built
without a hitch. Could this problem be caused by docbook.org server
changes?
I *really* don't think so. That sounds like a stylesheet problem. Did
you change your stylesheets recently?
Be seeing you,
norm
--
Norman Walsh <[email protected]> | He who will not reason is a bigot;
http://www.oasis-open.org/docbook/ | he who cannot is a fool; and he
Chair, DocBook Technical Committee | who dares not is a slave.--Sir
| William Drummond
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]