Next in thread → Next in month →

Re: [docbook-apps] Variablelist with run-in terms?

From
"Cob Rtayton"
Date
2005-03-04T00:40:59+00:00
ID
023701c52052$ce7a0f00$6400a8c0@toshiro
Thread
Re: [docbook-apps] Variablelist with run-in terms?
Hi Steffan,
This can certainly be done with a customization.  Lucky for you, there are
already two ways for formatting variablelists, so adding a third way can be
done by copying and modifying.

Take a look in fo/lists.xsl at how variablelist template uses the dbfo
list-presentation processing-instruction to select the format. In addition
to the values of "list" and "blocks", you could add "run-in".  Then add
templates in a new "vl.as.run-in" mode to format it the way you want.  The
mode that is closest to what you want is mode="vl.as.blocks".   Instead of
two blocks, use one block, with the term processed before the listitem.

Bob Stayton
Sagehill Enterprises
DocBook Consulting


----- Original Message ----- 
From: "Steffen Glückselig" <>
To: <>
Sent: Tuesday, March 01, 2005 4:36 AM
Subject: [docbook-apps] Variablelist with run-in terms?

> Hello,
>
> I'd like the terms of a variablelist to run into the content of the
listitems. Like so:
>
> TERM_1 This is the content of the listitem
>    maybe stretching over several
>    lines.
> TERM_2 This is another listitem.
>
>
> Is that possible? Should I use another docbook-element to achieve this
result more easily?
>
>
> best regards
> Steffen
>
>
Next in thread → Next in month →