1 <?php 2 3 /** 4 * 5 * This class renders an anchor target name in LaTeX. 6 * 7 * $Id: Anchor.php,v 1.2 2004/09/25 19:05:13 pmjones Exp $ 8 * 9 * @author Jeremy Cowgar <jeremy@cowgar.com> 10 * 11 * @package Text_Wiki 12 * 13 */ 14 15 class Text_Wiki_Render_Latex_Anchor extends Text_Wiki_Render { 16 17 function token($options) 18 { 19 extract($options); // $type, $name 20 21 if ($type == 'start') { 22 //return sprintf('<a id="%s">',$name); 23 return ''; 24 } 25 26 if ($type == 'end') { 27 //return '</a>'; 28 return ''; 29 } 30 } 31 } 32 33 ?>