← Prev in month ← Prev in thread

<itemizedlist><variablelist><funcsynopsis>

From
John Himpel <>
Date
2003-11-25T03:05:20+00:00
ID
Thread
<itemizedlist><variablelist><funcsynopsis>
When I use the following markup:

<itemizedlist>
  <listitem>
    <variablelist>
      <varlistentry>
        <term>
          <funcsynopsis>
            <funcprototype>
              <funcdef>
                int
                <function>xf86GetVerbosity</function>
              </funcdef>
              <void />
            </funcprototype>
          </funcsynopsis>
        </term>
        <listitem>
          <simpara>which returns the value of
            <varname>xf86Verbose</varname>
          </simpara>
        </listitem>
      </varlistentry>
    </variablelist>
  </listitem>
  <listitem>
    <variablelist>
      <varlistentry>
        <term>
          <funcsynopsis>
            <funcprototype>
              <funcdef>
                int
                <function>xf86GetDepth</function>
              </funcdef>
              <void />
            </funcprototype>
          </funcsynopsis>
        </term>
         <listitem>
           <simpara>which returns the               
<parameter>-depth</parameter> command line 
             If not set on the command line, <constant>-1</constant>
             is returned.
           </simpara>
        </listitem>
      </varlistentry>
    </variablelist>
  </listitem>
</itemizedlist>

This yields something similar to this:

int xf86GetVerbosity():
(circle)
     which returns the value of xf86Verbose

I think the stylesheets cannot cope with the level of nesting of the
funcsynopsis.

Can anyone else replicate the problem.

I am using the latest xsltproc/4.2 dtd/1.62.4 xsl-stylesheets

Thanks.

John

PS:  Hopefully, the word-wrap won't mangle the example too bad.
← Prev in month ← Prev in thread