Subversion Repositories Applications.papyrus

Rev

Rev 1688 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
248 jpm 1
<?php
2
 
3
/**
4
*
5
* This class renders an anchor target name in LaTeX.
6
*
7
* $Id: Anchor.php,v 1.1 2005-01-20 19:43:20 jpm 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
?>