OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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
bobs@sagehill.net


----- Original Message ----- 
From: "Steffen Glückselig" <glueckselig@gungfu.de>
To: <docbook-apps@lists.oasis-open.org>
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
>
>




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]