This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] adding a blank line between authors in an authorgroup (in fo)
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "Ben Adams" <benjadams at yahoo dot com>, <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 29 Sep 2004 08:31:40 -0700
- Subject: Re: [docbook-apps] adding a blank line between authors in an authorgroup (in fo)
- References: <20040926202329.68150.qmail@web60008.mail.yahoo.com>
Hi Ben,
Instead of trying to insert a blank line, you could instead just specify a
space-before property on the block for each author. Here is the author
template with that property added.
<xsl:template match="author" mode="titlepage.mode">
<fo:block space-before="1em">
<xsl:call-template name="anchor"/>
<xsl:call-template name="person.name"/>
<xsl:if test="affiliation/orgname">
<xsl:text>, </xsl:text>
<xsl:apply-templates select="affiliation/orgname"
mode="titlepage.mode"/>
</xsl:if>
<xsl:if test="email|affiliation/address/email">
<xsl:text> </xsl:text>
<xsl:apply-templates select="(email|affiliation/address/email)[1]"/>
</xsl:if>
</fo:block>
</xsl:template>
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
----- Original Message -----
From: "Ben Adams" <benjadams@yahoo.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Sunday, September 26, 2004 1:23 PM
Subject: [docbook-apps] adding a blank line between authors in an
authorgroup (in fo)
> Hello,
>
> I would like to produce an authorgroup block like this
> (in fo/pdf output):
>
> Name
> Email
> Phone
> Addr
> <empty line>
> Name
> Email
> Phone
> Addr
> <empty line>
> etc...
>
>
> I am looking at <xsl:template match="authorgroup"
> mode="titlepage.mode"> and <xsl:template
> match="author" mode="titlepage.mode">.
>
> Currently I don't get an empty line between the author
> blocks. Any suggestion on how to add this empty line
> between blocks?
>
> I figure it is something to do in the authorgroup, but
> I am not sure how you force an empty line or change
> the line height (or other parameters like this).
>
> Any help would be great!
>
> Thanks,
> Ben
>
>
>
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail is new and improved - Check it out!
> http://promotions.yahoo.com/new_mail
>
>