class documentation

class Formula(Container):

View In Hierarchy

A LaTeX formula
Method __init__ Undocumented
Method __unicode__ Return a printable representation.
Method classic Make the contents using classic output generation with XHTML and CSS.
Method parse Parse using a parse position instead of self.parser.
Method parseblockto Parse a [...] formula.
Method parsedollar Parse to the next $.
Method parsedollarblock Parse a $$...$$ formula.
Method parsedollarinline Parse a $...$ formula.
Method parseinlineto Parse a (...) formula.
Method parseupto Parse a formula that ends with the given command.
Method process Convert the formula to tags
Instance Variable contents Undocumented
Instance Variable header Undocumented
Instance Variable output Undocumented
Instance Variable parsed Undocumented
Instance Variable parser Undocumented

Inherited from Container:

Method escape Escape a line with replacements from a map
Method escapeentities Escape all Unicode characters to HTML entities.
Method extracttext Extract all text from allowed containers.
Method gethtml Get the resulting HTML
Method getparameter Get the value of a parameter, if present.
Method getparameterlist Get the value of a comma-separated parameter as a list.
Method group Group some adjoining elements into a group
Method hasemptyoutput Check if the parent's output is empty.
Method locateprocess Search for all embedded containers and process them
Method recursivesearch Perform a recursive search in the container.
Method remove Remove a container but leave its contents
Method searchall Search for all embedded containers of a given type
Method searchprocess Search for elements of a given type and process them
Method searchremove Search for all containers of a type and remove them
Method tree Show in a tree
Class Variable begin Undocumented
Class Variable parent Undocumented
Class Variable partkey Undocumented
def __init__(self):
def __unicode__(self):
Return a printable representation.
def classic(self):
Make the contents using classic output generation with XHTML and CSS.
def parse(self, pos):
Parse using a parse position instead of self.parser.
def parseblockto(self, pos, limit):
Parse a [...] formula.
def parsedollar(self, pos):
Parse to the next $.
def parsedollarblock(self, pos):
Parse a $$...$$ formula.
def parsedollarinline(self, pos):
Parse a $...$ formula.
def parseinlineto(self, pos, limit):
Parse a (...) formula.
def parseupto(self, pos, limit):
Parse a formula that ends with the given command.
def process(self):
Convert the formula to tags
contents =
header: list[str] =

Undocumented

output =

Undocumented

parsed =

Undocumented

parser =

Undocumented