This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Verso titlepage redux
- From: Bob Stayton <bobs at caldera dot com>
- To: Dennis Grace <dgrace at us dot ibm dot com>
- Cc: DocBook-Apps ML <docbook-apps at lists dot oasis-open dot org>
- Date: Thu, 20 Feb 2003 00:11:04 -0800
- Subject: Re: DOCBOOK-APPS: Verso titlepage redux
- References: <OF5285F8BD.9067A4D0-ON05256CCD.00780BD6@pok.ibm.com>
On Fri, Feb 14, 2003 at 04:02:22PM -0600, Dennis Grace wrote:
> Back in October, Bob showed me how to include the email and affiliation
> data on the verso title page. The following works like a charm:
>
> <xsl:template match="author" mode="book.titlepage.verso.mode">
> <fo:block>
> <xsl:call-template name="anchor"/>
> <xsl:call-template name="person.name"/>
> <xsl:apply-templates select="affiliation" mode
> ="book.titlepage.verso.mode"/>
> <xsl:apply-templates select="email" mode="book.titlepage.verso.mode"/>
> </fo:block>
> </xsl:template>
>
> <xsl:template match="email" mode="book.titlepage.verso.mode">
> <fo:block>
> <xsl:apply-templates mode="book.titlepage.verso.mode"/>
> </fo:block>
> </xsl:template>
>
> Or, perhaps I should say, it worked like a charm as long as I had only one
> author. I've been fiddling with the authorgroup template all afternoon
> with no luck. Anyone know how to make this work (include the authors'
> email addresses on the verso title page) for an <authorgroup>?
If you look in the distributed fo/titlepage.templates.xml,
under book verso page, there is this entry:
<authorgroup t:named-template="verso.authorgroup"/>
In the stock stylesheets, the verso.authorgroup template
just outputs a list of author names using the 'person.name'
template. You could customize the 'verso.authorgroup'
template to output a sequence of authors with other
information.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs at sco dot com