I found a pretty good solution to my variable list spacing problems.
It turns out to be fairly straightforward to replace a <variablelist>
with an <informaltable> element with no frame or separators.  The row
ends up being nicely formatted in a more compact style.  Just for
reference, here's the general replacement:

The <variablelist> tag becomes:

<informaltable frame="none" colsep="0" rowsep="0">
<tgroup cols="2">
<colspec colnum="1" colwidth="1*">
<colspec colnum="2" colwidth="4*">
<tbody>

the column width is proportional spacing.  1* is the base, 4* says
this is 4 times as large as the 1* column.  Depending on what you are
formatting, you might want to tweak those values.

The </variablelist> tag becomes

</tbody>
</tgroup>
</informaltable>

The <varlistentry> tags become <row> tags.  The <term> and <listitem>
tags become <entry>.  This is easily handled with a few global
changes.  Just be careful about trying to do a global change of "term"
to "entry".  A lot of tables have <indexterm> tags in them that you
don't want to change accidentally.

Rick

On Thu, Jan 22, 2009 at 8:27 AM, Mark Miesfeld <miesf...@gmail.com> wrote:
> On Thu, Jan 22, 2009 at 5:12 AM, Rick McGuire <object.r...@gmail.com> wrote:
>
>> This is mostly addressed to David, by if anybody else has a
>> suggestion, feel free to chip in.  I've added some information about
>> the different types used for the APIs using <variablelist> tags, but
>> on inspecting the results, I find this to be a bit spread out.
>
> Rick,
>
> I too don't like things so spread out, but haven't come up with any
> good solutions.
>
> This probably doesn't apply to you, but the only thing I have learned
> is that if you indent to show nesting levels, then don't indent
> program listings:
>
> <programlisting>
> <![CDATA[
> MyDialog~addButton(555, 100, 80, 40, 15, "&Get new Info", ,
> "getInfo", "NOTAB")
> ]]>
> </programlisting>
>    </para>
>  </listitem></varlistentry>
> </variablelist>
>
> Indenting programlisting to match para add several extra lines of spacing.
>
> I also try to avoid the <note> in the middle of a paragraph, which
> also seems to add extra spacing.
>
> --
> Mark Miesfeld
>
>
>
>
> Are
>> there any processing attributes on variablelist to control the spacing
>> on this?  Failing that, are there other options, such as maybe using a
>> table with no frame?
>>
>> Rick
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by:
>> SourcForge Community
>> SourceForge wants to tell your story.
>> http://p.sf.net/sfu/sf-spreadtheword
>> _______________________________________________
>> Oorexx-devel mailing list
>> Oorexx-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to