Source for file List.php
Documentation is available at List.php
class Text_Wiki_Render_Latex_List extends Text_Wiki_Render {
* Renders a token into text matching the requested format.
* This rendering method is syntactically and semantically compliant
* with XHTML 1.1 in that sub-lists are part of the previous list item.
* @param array $options The "options" portion of the token (second
* @return string The text rendered from the token options.
// make nice variables (type, level, count)
case 'bullet_list_start':
return "\\begin{itemize}\n";
return "\\end{itemize}\n";
case 'number_list_start':
return "\\begin{enumerate}\n";
return "\\end{enumerate}\n";
case 'bullet_item_start':
case 'number_item_start':
// ignore item endings and all other types.
// item endings are taken care of by the other types
// depending on their place in the list.
Documentation generated on Mon, 11 Mar 2019 14:22:32 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|