[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: DOCBOOK-APPS: DB xsl V1.60.1 - email formatting
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@nowhere.com</email> > </address></affiliation> > </author> > </articleinfo> > </article> > > Fo Output w 1.60.1 xsl, DB4.2 dtd: > A Firstname > MySurname<email_in_wrong_place@nowhere.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@nowhere.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@nowhere.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@sco.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]