Next in thread → Next in month →

Re: [docbook-apps] adding a blank line between authors in an authorgroup (in fo)

From
Bob Stayton <>
Date
2004-09-29T15:31:42+00:00
ID
073a01c4a639$6aa6a7b0$6401a8c0@toshiro
Thread
Re: [docbook-apps] adding a blank line between authors in an authorgroup (in fo)
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



----- Original Message ----- 
From: "Ben Adams" <>
To: <>
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
>
>
Next in thread → Next in month →