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] | [Elist Home]

Subject: DOCBOOK-APPS: Re: Q's:Adding affiliation to authorgroup template


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";
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!)


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
mobile: (614) 286-3726

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC