This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] different lang attributes in an article
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "Mauritz Jeanson" <mj at johanneberg dot com>, "'Bernhard Kohl'" <kohl at hbz-nrw dot de>, <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 24 Nov 2004 12:09:09 -0800
- Subject: Re: [docbook-apps] different lang attributes in an article
- References: <200411241945.iAOJjoRQ025449@mailhost.bostream.com>
Thanks, I just checked this additional fix into CVS.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
----- Original Message -----
From: "Mauritz Jeanson" <mj@johanneberg.com>
To: "'Bob Stayton'" <bobs@sagehill.net>; "'Bernhard Kohl'"
<kohl@hbz-nrw.de>; <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, November 24, 2004 11:45 AM
Subject: RE: [docbook-apps] different lang attributes in an article
> > -----Original Message-----
> > From: Bob Stayton
> > What you expected is correct and what you got is wrong. It
> > is a bug that
> > was introduced in 1.66.1. I just checked in the fix for it,
> > so it should
> > be in 1.67.1. Or you can try the snapshot distribution from CVS
>
> Hi Bob,
> To get abstracts working properly in FO as well, another fix is needed.
This
> code (in fo/titlepage.xsl):
>
> <xsl:template match="abstract" mode="titlepage.mode">
> <fo:block>
> <xsl:if test="title"> <!-- FIXME: add param for using default
title? -->
> <xsl:call-template name="formal.object.heading"/>
> </xsl:if>
> <xsl:apply-templates mode="titlepage.mode"/>
> </fo:block>
> </xsl:template>
>
> should be changed to:
>
> <xsl:template match="abstract" mode="titlepage.mode">
> <fo:block>
> <xsl:call-template name="formal.object.heading">
> <xsl:with-param name="title">
> <xsl:apply-templates select="." mode="title.markup"/>
> </xsl:with-param>
> </xsl:call-template>
> <xsl:apply-templates mode="titlepage.mode"/>
> </fo:block>
> </xsl:template>
>
> (i.e. the same logic as in html/titlepage.xsl).
>
> /MJ
>
>
>