This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Q's:Adding affiliation to authorgroup template
- From: Val Schmidt <vschmidt at ldeo dot columbia dot edu>
- To: Martin Stemplinger <mstemplinger at gmx dot de>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 05 Nov 2002 18:12:48 -0500
- Subject: DOCBOOK-APPS: Re: Q's:Adding affiliation to authorgroup template
- References: <000801c2851a$2e17c9b0$548f90d4@Daheim>
Hmmm.
Do you have your "author" elements embedded in "authorgroup" tags in
your source xml?
I do, the result is that the <authorgroup/>
portion of the template is all that produces stylesheet code that
impacts the style and format of the authors.
I stuck the "predicate" line into the authorgroup tag with no results.
I removed it and then added a second <authorgroup
predicate="/affiliation"/> below it. It generated this:
_____________________
<xsl:apply-templates xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
mode="book.titlepage.recto.auto.mode" select="bookinfo/authorgroup"/>
<xsl:apply-templates xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
mode="book.titlepage.recto.auto.mode"
select="bookinfo/authorgroup/affiliation"/>
______________________
This looks promising but again doesn't work.
I'm afraid I'm stabbing in the dark.
Do I need to rewrite the authorgroup template? (Yikes!)
Val
On Tue, 2002-11-05 at 17:24, Martin Stemplinger wrote:
> Hi Val,
>
> AFAIK you need to add an attribute "predicate" to the author in your
> template
>
> <author predicate="/affiliation"
> fo:font-size="&hsize3;"
> fo:space-before="&hsize2space;"
> fo:keep-with-next="always"/>
>
> At least this works for me to add the latest revision number on the title
> page.
>
> Hope this helps
> Martin
--
********************************
Val E. Schmidt
Lamont Doherty Earth Observatory
Columbia University
vschmidt@ldeo.columbia.edu
mobile: (614) 286-3726