Back to index

moin  1.9.0~rc2
Public Member Functions | Static Public Attributes Class Reference
Inheritance diagram for
Inheritance graph
Collaboration diagram for
Collaboration graph

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

Member Function Documentation

Definition at line 430 of file

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

Member Data Documentation

Definition at line 386 of file

list = ['*.tex', '*.aux', '*.toc'] [static]

Definition at line 387 of file

list = ['text/x-tex', 'text/x-latex'] [static]

Definition at line 388 of file

Definition at line 385 of file

Definition at line 390 of file

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