#NEWLINE# def markup( self , s , tag ) : #NEWLINE# #INDENT# if ( s == 'other' ) : #NEWLINE# #INDENT# return plaintext_to_latex ( s ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return ( '\\pysrc%s{%s}' % ( tag , plaintext_to_latex ( s ) ) )