docbook-apps

  • 1.  About space between 2 glossentries

    Posted 02-05-2008 06:58
    Hello,

    I trying to change the space between two glossentries. I found how to
    change it between two glossediv, with :

    <xsl:template match="d:title"
    mode="glossdiv.titlepage.recto.auto.mode">
    <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
    xsl:use-attribute-sets="glossdiv.titlepage.recto.style"
    margin-left="{$title.margin.left}" font-size="13pt" font-
    family="{$title.fontset}" space-before="34pt"
    font-weight="bold" color="{$title.color}">
    <xsl:call-template name="component.title">
    <xsl:with-param name="node" select="ancestor-or-
    self::d:glossdiv[1]"/>
    </xsl:call-template>
    </fo:block>
    </xsl:template>

    But I did not found anything for glossentry.

    Thanks in advance,
    Jacques
    --
    « Mac OS X Server à votre Service » est épuisé.
    Vous pouvez désormais l'acquérir en PDF
    <http://www.foucry.net/Redaction/service/service.html>




  • 2.  Re: [docbook-apps] About space between 2 glossentries

    Posted 02-05-2008 18:29
    Indeed, there should be an attribute-set specifically for glossentry
    elements, but there isn't yet. It uses the 'normal.para.spacing'
    attribute-set. If you just change the values in that attribute-set, you
    would change all para spacing as well. You could use an xsl:choose statement
    in the attribute-set for each spacing attribute, or you could customize the
    glossentry template to use a different attribute-set.

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net


    ----- Original Message -----
    From: "Jacques Foucry" <jacques@foucry.net>
    To: "docbook-apps" <docbook-apps@lists.oasis-open.org>
    Sent: Monday, February 04, 2008 10:58 PM
    Subject: [docbook-apps] About space between 2 glossentries


    Hello,

    I trying to change the space between two glossentries. I found how to
    change it between two glossediv, with :

    <xsl:template match="d:title"
    mode="glossdiv.titlepage.recto.auto.mode">
    <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
    xsl:use-attribute-sets="glossdiv.titlepage.recto.style"
    margin-left="{$title.margin.left}" font-size="13pt" font-
    family="{$title.fontset}" space-before="34pt"
    font-weight="bold" color="{$title.color}">
    <xsl:call-template name="component.title">
    <xsl:with-param name="node" select="ancestor-or-
    self::d:glossdiv[1]"/>
    </xsl:call-template>
    </fo:block>
    </xsl:template>

    But I did not found anything for glossentry.

    Thanks in advance,
    Jacques
    --
    « Mac OS X Server à votre Service » est épuisé.
    Vous pouvez désormais l'acquérir en PDF
    <http://www.foucry.net/Redaction/service/service.html>


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