This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: DB xsl V1.60.1 - email formatting
- From: Bob Stayton <bobs at sco dot com>
- To: "Kevin A. Chin" <mr_k_chin at yahoo dot com>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 11 Mar 2003 02:52:00 -0800
- Subject: Re: DOCBOOK-APPS: DB xsl V1.60.1 - email formatting
- References: <20030308214835.56700.qmail@web21001.mail.yahoo.com>
On Sat, Mar 08, 2003 at 01:48:35PM -0800, Kevin A. Chin wrote:
>
> Using latest DB xsl v 1.60.1, 4.2 docbookx.dtd,
> the email formatting seems to be broken,
> esp. when compared to 1.59.1.
>
> It seems to keep email with surname on same line
> for FO (pdf) output:
>
> <article> <articleinfo> <title> X </title>
> <author> <firstname> A Firstname </firstname>
> <surname> MySurName </surname>
> <affiliation> <address>
> <email>email_in_wrong_place at nowhere dot com</email>
> </address></affiliation>
> </author>
> </articleinfo>
> </article>
>
> Fo Output w 1.60.1 xsl, DB4.2 dtd:
> A Firstname
> MySurname<email_in_wrong_place at nowhere dot com>
>
> Is this a bug? Is there a recommended work-around?
I'm not sure what you are seeing. I think your email
line breaks changed. The output from
1.59.1 is something like:
A Firstname MySurName
<email_in_wrong_place at nowhere dot com>
I get a lot of vertical space with 1.59.1.
The output from 1.60.1 is:
A Firstname MySurName <email_in_wrong_place at nowhere dot com>
I think this was an intentional change in the stylesheet to
accomodate a document with multiple authors and emails.
If you don't like it, then copy the old template for
author from fo/titlepage.xsl to a customization
layer for 1.60.1
<xsl:template match="author" mode="titlepage.mode">
<fo:block>
<xsl:call-template name="anchor"/>
<xsl:call-template name="person.name"/>
<xsl:apply-templates select="affiliation" mode="titlepage.mode"/>
</fo:block>
</xsl:template>
--
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