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

Subject: Re: [Fwd: Re: othercredit + contrib works in HTML, not in FO]

Hash: SHA1

/ David Bridgeland <bridgeland@yahoo.com> was heard to say:
| Bob's reply was the day after the auto-unsubscribe fiasco. Now that
| everyone is back, does anyone (e.g. Norm?) understand why the
| fo/titlepage.xsl template does this? Is this a bug or a feature?

A bug, I guess. An inconsistency surely. I'll take a look.

| The template you are running into is in fo/titlepage.xsl
| that starts with:
| <xsl:template match="bookinfo/authorgroup" mode="titlepage.mode" priority="2">
| which calls template 'person.name.list', which just processes
| the names found within authorgroup.  This template is more specific
| than the match="authorgroup" so
| it takes precedence.  I'm not sure why both are in there.
| There are some additional comments in the file that indicate
| some purpose, but it wasn't clear to me.
| Perhaps Norm can clarify the purpose of these templates.

Well, the idea is that they should produce "By list of authors" if
there are multiple authors. What's not being handled correctly is the
othercredit element.

The comment reminds me that you can't do this with
"book.titlepage.recto.mode" as you might at first imagine.

When I first set out to do this, I used "book.titlepage.recto.mode"
thinking that I would get the correct results. The problem is that the
titlepage customization code generates a different
book.titlepage.recto.mode template that is effectively higher
priority. So I had to resort to a different route.

                                        Be seeing you,

- -- 
Norman Walsh <ndw@nwalsh.com>      | Where are we going? And why am I
http://www.oasis-open.org/docbook/ | in this handbasket?--Toto
Chair, DocBook Technical Committee |
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>


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