Hi, Joseph,

caporale a écrit :
> 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.

You are creating a new block and putting the children of glossterm in
it. The original template just creates an inline. By creating a block
you break the current line and force the content to be put on a new
line. That's probably why the rest is screwed up.

The text-align="left" should be put on whatever is produced by the
parent glossentry element. Perhaps there is already a customization
parameter that does that. I suggest you to ask your question on the
docbook-apps@ mailing list, where you will find specialists of the
DocBook XSLT stylesheets who will be more able to help you than here.

HTH,
Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to