Thank you very much Bob. Regards, Pedro _____
De: Bob Stayton [mailto:[EMAIL PROTECTED] Enviado el: miƩrcoles, 19 de diciembre de 2007 20:36 Para: Pedro Pastor; [email protected] CC: [EMAIL PROTECTED] Asunto: Re: [docbook-apps] Formatting <variablelist> Hi, The term element is handled by a simple template, but it doesn't have an attribute-set of its own. You can customize this template from fo/lists.xsl to do whatever you like: <xsl:template match="varlistentry/term"> <fo:inline> <xsl:call-template name="simple.xlink"> <xsl:with-param name="content"> <xsl:apply-templates/> </xsl:with-param> </xsl:call-template> </fo:inline> <xsl:choose> <xsl:when test="not(following-sibling::term)"/> <!-- do nothing --> <xsl:otherwise> <!-- * if we have multiple terms in the same varlistentry, generate --> <!-- * a separator (", " by default) and/or an additional line --> <!-- * break after each one except the last --> <fo:inline><xsl:value-of select="$variablelist.term.separator"/></fo:inline> <xsl:if test="not($variablelist.term.break.after = '0')"> <fo:block/> </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:template> Bob Stayton Sagehill Enterprises HYPERLINK "mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED] ----- Original Message ----- From: HYPERLINK "mailto:[EMAIL PROTECTED]"Pedro Pastor To: HYPERLINK "mailto:[email protected]"[email protected] Cc: HYPERLINK "mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED] Sent: Wednesday, December 19, 2007 12:07 AM Subject: [docbook-apps] Formatting <variablelist> Hello, I'm customizing the format of the <variablelist> block for PDF output, but I didn't manage to change the style of the <term> child element. Could anybody provide with me some hints on how to do that, or any code example? Any help would be appreciated. Regards, Pedro No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.17.4/1189 - Release Date: 18/12/2007 21:40 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.17.4/1189 - Release Date: 18/12/2007 21:40 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.17.4/1189 - Release Date: 18/12/2007 21:40
