docbook-apps

  • 1.  Left aligning

    Posted 07-11-2007 14:34

    Hello,

    I'm using this DocBook customization:

    <xsl:template match="glossterm" mode="glossary.as.list"> <xsl:variable
    name="id"> <xsl:call-template name="object.id"/> </xsl:variable> <fo:block
    text-align="left"> <fo:inline id="{$id}"><xsl:apply-templates/></fo:inline>
    </fo:block>
    </xsl:template>

    It left aligns <glossterm>, but it also has the side effect of completely
    screwing up acronyms. It makes acronyms appear a line beneath the gloss
    term and also seems to make acronym spill over to the next page without
    keeping together with the rest of the glossentry.

    On the FOP Users list, I was told that this customization is creating a new
    fo:block, so that's causing a line break. Can you help me with a non
    intrusive way of left aligning glossterm without breaking anything?

    Thank you,
    Joseph Caporale

    --
    View this message in context: http://www.nabble.com/Left-aligning-%3Cglossterm%3E-instead-of-left-justifying-tf4062305.html#a11541564
    Sent from the docbook apps mailing list archive at Nabble.com.




  • 2.  Re: [docbook-apps] Left aligning

    Posted 07-11-2007 14:54

    I put <xsl:param name="alignment">start</xsl:param> in my customization
    layer, and now I don't have the problem.

    Is this a valid fix?

    Thank you,
    Joseph Caporale
    --
    View this message in context: http://www.nabble.com/Left-aligning-%3Cglossterm%3E-instead-of-left-justifying-tf4062305.html#a11541971
    Sent from the docbook apps mailing list archive at Nabble.com.