%xsldoc.ent; ]> $Id: lists.mod.xsl,v 1.27 2004/12/05 09:29:15 j-devenish Exp $ &ramon; &james; 20002001200220032004 Ramon Casellas &rev_2003_05; Lists <filename>lists.mod.xsl</filename> Process titles for variablelist, orderedlist, itemizedlist and simplelist elements Formats a title. The &LaTeX; command for formatting titles. style The &LaTeX; command to use. Defaults to . Applies templates as a paragraph, formatted with the specified style. { { }} Process listitem elements Formats a list item. &no_var; Applies templates within a &LaTeX; item command. %--- Item \item Process itemizedlist elements Formats an itemised list. Applies templates. Uses a &LaTeX; itemize environment. The environment may be modified by the inclusion of a db2latex-custom-list processing instruction preceding the listitems. The spacing=compact attribute is recognised. &test_book; &test_chemistry; &test_lists; \begin{itemize} \end{itemize} Process variablelist elements Formats a list in which each item is denoted by a textual label. Applies templates. Uses a &LaTeX; description environment. The environment may be modified by the inclusion of a db2latex-custom-list processing instruction preceding the varlistentries. &test_bind; &test_book; &test_ddh; &test_lists; \begin{description} \end{description} \noindent Process orderedlist elements Formats a list in which each item is denoted by a numeric label. The only &DocBook; attribute that is supported is numeration. Applies templates. Uses a &LaTeX; enumerate environment. The environment may be modified by the inclusion of a db2latex-custom-list processing instruction preceding the listitems. The spacing=compact attribute is recognised. The numeration attribute is recognised. &test_book; &test_chemistry; \begin{enumerate} [1] [A] [a] [I] [i] \end{enumerate} Process varlistentry elements Formats a labeled list item. &no_var; Applies templates within a &LaTeX; item command. A comma is inserted between successive terms. A &LaTeX; null{} command is inserted after the item to guard against empty listitems. % \null and \mbox are tricks to induce different typesetting decisions \item[{ , }]\mbox{} }]\null{} Process varlistentry's term elements Applies templates. &no_var; , Process listitem elements Applies templates. &no_var; Unlike , the \item has been output by the enclosing element's template. Generate a tabular specification Produces a left-aligned tabular specification list. &no_var; cols The number of repetitions l Process simplelist elements with inline members Formats a simple, comma-separated list for a simplelist that has a type attribute equal to inline. &no_var; This is not made into a paragraph and is not temrinated by a full stop (period). , Process simplelist elements with horiz members Formats a simple, comma-separated list for a simplelist that has a type attribute equal to horiz. &no_var; environment The &LaTeX; tabular-like environment to use. Defaults to tabular unless or is enabled, in which case the default is longtable. cols The number of members per line (defaults to the value of the columns attribute). This is formatted as a border-less &LaTeX; table. longtable tabular 1 \begin{ }{ } \end{ } 1 1 \\ 1 1 1 Process simplelist elements with vert members Formats a simple, comma-separated list for a simplelist that has a type attribute that is either empty or equal to vert. &no_var; environment The &LaTeX; tabular-like environment to use. Defaults to tabular unless or is set, in which case the default is longtable. cols The number of members per line (defaults to the value of the columns attribute). This is formatted as a border-less &LaTeX; table. longtable tabular 1 \begin{ }{ } \end{ } 1 1 \\ 1 1 1 1 Process member elements Applies templates. &no_var; Process segmentedlist elements Applies templates. &no_var; &test_book; Process titles for segmentedlist elements Formats a title as a paragraph. &no_var; style The &LaTeX; command to use. Applies templates as a paragraph, formatted with the specified style, and terminated with a newline command. { { }}\\ Process segtitle elements Applies templates. &no_var; Process seglistitem elements Formats a segmented list item. &no_var; Applies seg templates. Each item is separated by a &LaTeX; \ command. \\ Process seg elements Formats a seg with its segtitle. { { :}} \docbooktolatexnoparskip \setlength{\itemsep}{-0.25em} \docbooktolatexrestoreparskip \noindent