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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: [docbook] Defintion list


Hi Aidan,

If I understand correctly, I think what you want is the
Variablelist element, like this:

  <variablelist>
    <listentry>
      <term><ulink>a</ulink></term>
      <term><ulink>b</ulink></term>
      <listitem><para>Some description for a and b</para></lisitem>
    </listentry>
    <listentry>
      <term><ulink>c</ulink></term>
      <listitem><para>Some description for c</listitem>
      ...

that by default that will display as:

  a, b
    Some description for a and b

  c
    Some description for c

I think. Anyway, there is a parameter you can set to toggle it
between being rendered as a list or as in table form.

There is no parameter for having the word "and" rendered between
"a" and "b". It just generates a comma-separated list of the
terms. Which seems like what you'd want, in most cases.

  --Mike

Aidan Lister <aidanis@gmail.com> writes:

> Hi,
> 
> Is there any element to adequately represent a dd/dl/dt list?
> 
> I have something like this:
> 
> <ulink>a</ulink> and <ulink>b</ulink> - Some description
> <ulink>c</ulink> - Some description
> <ulink>d</ulink> - Some description
> 
> Rather than chuck each line in a paragraph I'm hoping there's docbook
> markup I can use. Ideally I'd use a <orderedlist> but I can't include
> xml in the listitem's label="<...>" attribute.
> 
> Regards,
> Aidan

-- 
Michael Smith
http://logopoeia.com/  http://www.oreillynet.com/pub/au/890

smime.p7s



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