This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] Re: [Fwd: Re: othercredit + contrib works in HTML, not in FO]


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

/ David Bridgeland <bridgeland at yahoo dot 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,
                                          norm

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

iD8DBQE+jUYEOyltUcwYWjsRAqCqAKCL8OwT3DIpMm43DvWoJnlw0pb3bwCgo0OW
Kl2Ubxz0VIlW4xBJ/EMbkl0=
=j6yG
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]