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] Possible (brief?) {www.}docbook.org and wiki.docbook.org downtime


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
bobs@sagehill.net


----- Original Message ----- From: "David Goss" <dgoss@mueller-inc.com>
To: "Norman Walsh" <ndw@nwalsh.com>
Cc: <docbook-apps@lists.oasis-open.org>
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
<dgoss@mueller-inc.com>


-----Original Message-----
From: Norman Walsh [mailto:ndw@nwalsh.com]
Sent: Thursday, July 26, 2012 8:21 PM
To: David Goss
Cc: docbook-apps@lists.oasis-open.org
Subject: Re: [docbook-apps] Possible (brief?) {www.}docbook.org and
wiki.docbook.org downtime

"David Goss" <dgoss@mueller-inc.com> 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 <ndw@nwalsh.com>      | 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: 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]