[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] acknowledgements
Hi Dave, In FO output, acknowledgements is not a block, it is a page-sequence. The template for book in division.xsl (in 1.76.1) has this: <xsl:apply-templates select="acknowledgements" mode="acknowledgements"/> and component.xsl as: <xsl:template match="acknowledgements" mode="acknowledgements"> to generate the page sequence. It works for me. Bob Stayton Sagehill Enterprises bobs@sagehill.net ----- Original Message ----- From: "davep" <davep@dpawson.co.uk> To: "Docbook-apps" <docbook-apps@lists.oasis-open.org> Sent: Monday, August 01, 2011 6:51 AM Subject: [docbook-apps] acknowledgements > > http://www.docbook.org/tdg51/en/html/acknowledgements.html > > > Parents > > These elements containacknowledgements > <http://www.docbook.org/tdg51/en/html/acknowledgements.html>:article > <http://www.docbook.org/tdg51/en/html/article.html>,book > <http://www.docbook.org/tdg51/en/html/book.html>,module > <http://www.docbook.org/tdg51/en/html/container.module.html> > (db.container.module),part > <http://www.docbook.org/tdg51/en/html/part.html>,resource > <http://www.docbook.org/tdg51/en/html/container.resource.html> > (db.container.resource). > > In file block.xsl I see > > <xsl:template match="d:ackno|d:acknowledgements[parent::d:article]"> > <fo:block xsl:use-attribute-sets="normal.para.spacing"> > <xsl:call-template name="anchor"/> > <xsl:apply-templates/> > </fo:block> > </xsl:template> > > Yet the element, in a book, isn't reported as an unknown element? > > In components.xsl I see > > <xsl:template match="d:acknowledgements"></xsl:template> > <xsl:template match="d:acknowledgements/d:info"></xsl:template> > <xsl:template match="d:acknowledgements/d:title"></xsl:template> > <xsl:template match="d:acknowledgements/d:titleabbrev"></xsl:template> > <xsl:template match="d:acknowledgements/d:subtitle"></xsl:template> > > > So it would appear that this element in a book is not processed? > Is that correct? > > regards > > > > > regards > > -- > Dave Pawson > XSLT XSL-FO FAQ. > http://www.dpawson.co.uk > > > --------------------------------------------------------------------- > 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]