|
| | parsebit (self, pos) |
| |
|
| writeparams (self, writetemplate) |
| |
|
| writepos (self, pos) |
| |
|
| writeparam (self, pos) |
| |
|
| writefunction (self, pos) |
| |
|
| readtag (self, pos) |
| |
|
| writebracket (self, direction, character) |
| |
|
| computehybridsize (self) |
| |
|
| readparams (self, readtemplate, pos) |
| |
|
| paramdefs (self, readtemplate) |
| |
|
| getparam (self, name) |
| |
|
| getvalue (self, name) |
| |
|
| getliteralvalue (self, name) |
| |
Public Member Functions inherited from docutils.utils.math.math2html.CommandBit |
|
| setcommand (self, command) |
| |
|
| parseparameter (self, pos) |
| |
|
| parsesquare (self, pos) |
| |
|
| parseliteral (self, pos) |
| |
|
| parsesquareliteral (self, pos) |
| |
|
| parsetext (self, pos) |
| |
Public Member Functions inherited from docutils.utils.math.math2html.FormulaCommand |
|
| detect (self, pos) |
| |
|
| parsewithcommand (self, command, pos) |
| |
|
| parsecommandtype (self, command, type, pos) |
| |
|
| extractcommand (self, pos) |
| |
| | emptycommand (self, pos) |
| |
|
| parseupgreek (self, command, pos) |
| |
| | __init__ (self) |
| |
|
| setfactory (self, factory) |
| |
|
| add (self, bit) |
| |
|
| skiporiginal (self, string, pos) |
| |
|
| computesize (self) |
| |
|
| clone (self) |
| |
| | __str__ (self) |
| |
|
| process (self) |
| |
|
| gethtml (self) |
| |
|
| escape (self, line, replacements=EscapeConfig.entities) |
| |
|
| escapeentities (self, line) |
| |
|
| searchall (self, type) |
| |
|
| searchremove (self, type) |
| |
|
| searchprocess (self, type, process) |
| |
|
| locateprocess (self, locate, process) |
| |
|
| recursivesearch (self, locate, recursive, process) |
| |
|
| extracttext (self) |
| |
|
| group (self, index, group, isingroup) |
| |
|
| remove (self, index) |
| |
|
| tree (self, level=0) |
| |
|
| getparameter (self, name) |
| |
|
| getparameterlist (self, name) |
| |
|
| hasemptyoutput (self) |
| |
A parameter function where the output is also defined using a template.
The template can use a number of functions; each function has an associated
tag.
Example: [f0{$1},span class="fbox"] defines a function f0 which corresponds
to a span of class fbox, yielding <span class="fbox">$1</span>.
Literal parameters can be used in tags definitions:
[f0{$1},span style="color: $p;"]
yields <span style="color: $p;">$1</span>, where $p is a literal parameter.
Sizes can be specified in hybridsizes, e.g. adding parameter sizes. By
default the resulting size is the max of all arguments. Sizes are used
to generate the right parameters.
A function followed by a single / is output as a self-closing XHTML tag:
[f0/,hr]
will generate <hr/>.