Back to index

moin  1.9.0~rc2
Public Member Functions | Static Public Attributes
MoinMoin.support.pygments.lexers.text.TexLexer Class Reference
Inheritance diagram for MoinMoin.support.pygments.lexers.text.TexLexer:
Inheritance graph
[legend]
Collaboration diagram for MoinMoin.support.pygments.lexers.text.TexLexer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def analyse_text

Static Public Attributes

string name = 'TeX'
list aliases = ['tex', 'latex']
list filenames = ['*.tex', '*.aux', '*.toc']
list mimetypes = ['text/x-tex', 'text/x-latex']
dictionary tokens

Detailed Description

Lexer for the TeX and LaTeX typesetting languages.

Definition at line 380 of file text.py.


Member Function Documentation

Definition at line 430 of file text.py.

00430 
00431     def analyse_text(text):
00432         for start in ("\\documentclass", "\\input", "\\documentstyle",
00433                       "\\relax"):
00434             if text[:len(start)] == start:
00435                 return True
00436 


Member Data Documentation

Definition at line 386 of file text.py.

list MoinMoin.support.pygments.lexers.text.TexLexer.filenames = ['*.tex', '*.aux', '*.toc'] [static]

Definition at line 387 of file text.py.

list MoinMoin.support.pygments.lexers.text.TexLexer.mimetypes = ['text/x-tex', 'text/x-latex'] [static]

Definition at line 388 of file text.py.

Definition at line 385 of file text.py.

Definition at line 390 of file text.py.


The documentation for this class was generated from the following file: