Classes | |
class | Parser |
Send colored python source. More... | |
Functions | |
def | PyHtmlAction |
Variables | |
int | _KEYWORD = 1 |
int | _TEXT = 2 |
dictionary | _styles |
tuple | HTML_CODE_TEMPLATE |
string | HTML_CODE_TEMPLATE_END |
def repro::functions::SourceToHtml::PyHtmlAction | ( | target, | ||
source, | ||||
env | ||||
) |
Definition at line 185 of file build/lib/repro/functions/SourceToHtml.py.
Definition at line 17 of file build/lib/repro/functions/SourceToHtml.py.
dictionary repro::functions::SourceToHtml::_styles |
Initial value:
{ token.NUMBER: 'repro_number', token.OP: 'repro_op', token.STRING: 'repro_string', tokenize.COMMENT: 'repro_comment', token.NAME: 'repro_name', token.ERRORTOKEN: 'repro_error', _KEYWORD: 'repro_keyword', _TEXT: 'repro_text', }
Definition at line 20 of file build/lib/repro/functions/SourceToHtml.py.
Definition at line 18 of file build/lib/repro/functions/SourceToHtml.py.
Initial value:
string.Template(
"""<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><!--created by Repro --><HTML><HEAD><TITLE>${TITLE}</TITLE><link type="text/css" rel="stylesheet" href="${stylesheet}"></HEAD><BODY ><table align="center" width="100%" cellpadding="0" cellspacing="0"><tr><td class="navigation" align="center" width="100%">${TITLE}</td></tr></table><BR><B> Next:</B> <A NAME="tex2html20" HREF="node2.html">My subsection</A><B>Up:</B> <A NAME="tex2html18" HREF="paper.html">Some title</A><B> Previous:</B> <A NAME="tex2html12" HREF="paper.html">Some title</A><BR><HR><!--End of Navigation Panel--><pre><slab_source_body><div class="slab_code_box1"><div class="slab_code_box2">""" )
Definition at line 31 of file build/lib/repro/functions/SourceToHtml.py.
Initial value:
""" </div> </div> </slab_source_body> </pre> </DIV></TD></TR> </TABLE> </DIV> <P> <BR><HR> <ADDRESS> <I>Generated using repro, a Python package for automating reproducible research in scientific computing <BR> 2008-09-09</I> </ADDRESS> </BODY> </HTML> """
Definition at line 66 of file build/lib/repro/functions/SourceToHtml.py.