Bob Stayton wrote:
> Hi Erik,
> Your request was a little confusing in that you said you wanted it
> rendered as a "list", but set the parameter to render it as "blocks".
Oh, I see, sorry. I'm pretty new to xsl processing and its vocabulary.
> Your parenthetical statement indicated that you wanted it as "blocks",
> though.
Indeed, that's what I meant. Thanks for thinking beyond my written words.
>
> This is a case where the stylesheets don't provide much flexibility.
> The template that formats a listitem in "blocks" mode looks like this:
>
> <xsl:template match="varlistentry" mode="vl.as.blocks">
> <xsl:variable name="id"><xsl:call-template
> name="object.id"/></xsl:variable>
>
> <fo:block id="{$id}" xsl:use-attribute-sets="list.item.spacing"
> keep-together.within-column="always"
> keep-with-next.within-column="always">
> <xsl:apply-templates select="term"/>
> </fo:block>
>
> <fo:block margin-left="0.25in">
> <xsl:apply-templates select="listitem"/>
> </fo:block>
> </xsl:template>
>
> As you can see, the margin-left property is hardcoded in the stylesheet.
> Fortunately, this template is very short, so you can copy it to a
> customization layer and change that value.
>
I'm already using a customization layer. Just inserted the sample there
and regenerated the pdf. Works like a charm.
Thanks,
Erik.
> If you were using "list" format (side by side), then there is a
> processing instruction that can adjust the indent width.
>
> Bob Stayton
> Sagehill Enterprises
> [EMAIL PROTECTED]
>
>
> ----- Original Message ----- From: "Erik Leunissen" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Friday, June 27, 2008 2:33 PM
> Subject: [docbook-apps] How to adjust listitem indentation for
> variablelists?
>
>
>> Hello all,
>>
>> I'm looking for a way to adjust the amount of indentation of the
>> listitems of a varlistentry. The variablelist is being rendered as a
>> list (i.e. the term preceding the listitem in the print output), using
>> the FO parameter:
>>
>> <xsl:param name="variablelist.as.blocks">1</xsl:param>
>>
>>
>> Is what I want possible? If so, I'd very much appreciate a direction.
>>
>>
>> Thanks in advance,
>>
>> Erik Leunissen.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]