[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: RE: DOCBOOK-APPS: <variablelist> FOP-rendering
I too did not like the look of the variablelist and added this change to my customization layer in the fo stylesheet. I am using FOP also. <xsl:template match="variablelist"> <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> <xsl:apply-templates/> </xsl:template> <xsl:template match="varlistentry"> <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> <fo:block xsl:use-attribute-sets="list.item.spacing"> <xsl:apply-templates/></fo:block> </xsl:template> <xsl:template match="varlistentry/term"> <fo:inline><xsl:apply-templates/>, </fo:inline> </xsl:template> <xsl:template match="varlistentry/term[position()=last()]" priority="2"> <fo:inline> <xsl:apply-templates/></fo:inline> </xsl:template> <xsl:template match="varlistentry/listitem"> <fo:block start-indent="{count(ancestor::*)*.05}in"> <xsl:apply-templates/></fo:block> </xsl:template> -----Original Message----- From: jENs [mailto:Jens.Hauptmann@gmx.net] Sent: Wednesday, July 25, 2001 5:07 PM To: Docbook-Apps Subject: DOCBOOK-APPS: <variablelist> FOP-rendering Hello, I got strange results rendering <variablelists> with FOP (using the 1.41 stylesheets and Saxon 6.4.2 ( or Xalan 2.1 just for verifying this behaviour )). It seems to work well if the term is short enough and just one word (I always wanted just ONE term consisting of sometimes more than one word). If the term consists of more than one word it will break after the first word in the term into the next lines and may overwrite other blocks beneath. If the term isn't short enough it will overwrite the explanation of the term (which looks interesting , sort of eyecatcher - just try it ;-) ) Even stranger, when a such a "long term" scratches the top of the page, the first word disappeared. I suspect, it's not working as it should. In the FO-sources it seems well defined (, well it looks like for me as an absolute beginner on FO). is it FOP again ...??? Can I change this behaviour? Ciao jENs ------------------------------------------------------------------ To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC