]> granicus.if.org Git - docbook-dsssl/commitdiff
Added information about the term-width processing instruction.
authorDavid Cramer <david@thingbag.net>
Sat, 22 Jan 2005 06:00:55 +0000 (06:00 +0000)
committerDavid Cramer <david@thingbag.net>
Sat, 22 Jan 2005 06:00:55 +0000 (06:00 +0000)
xsl/params/variablelist.as.blocks.xml

index 017e1665112723647c910376b82697c03bc855d4..7d9ba46af2c770d566e0f6c154708f5d6a130d95 100644 (file)
@@ -26,10 +26,21 @@ to produce block markup instead of proper lists.</para>
 <para>You can override this setting with a processing instruction as the
 child of <sgmltag>variablelist</sgmltag>: <sgmltag class="pi">dbfo
 list-presentation="blocks"</sgmltag> or <sgmltag class="pi">dbfo
-list-presentation="list"</sgmltag></para>
+list-presentation="list"</sgmltag>.</para>
+
+<para>When using <literal>list-presentation="list"</literal>,
+you can also control the amount of space used for the <sgmltag>term</sgmltag>s with 
+the <sgmltag class="pi">dbfo term-width=".25in"</sgmltag> processing instruction,
+the <sgmltag class="attribute">termlength</sgmltag> attribute on <sgmltag>variablelist</sgmltag>,
+or allow the stylesheets to attempt to calculate the amount of space to leave based on the 
+number of letters in the longest term.  
+</para>
 
 <programlisting><![CDATA[  <variablelist>
         <?dbfo list-presentation="list"?>
+        <?dbfo term-width="1.5in"?>
+        <?dbhtml list-presentation="table"?>
+        <?dbhtml term-width="1.5in"?>
         <varlistentry>
           <term>list</term>
           <listitem>
@@ -39,6 +50,8 @@ list-presentation="list"</sgmltag></para>
           </listitem>
         </varlistentry>
   </variablelist>]]></programlisting>
+
+
 </refsect1>
 
 </refentry>