class documentation
class NumberCounter(object): (source)
Known subclasses: docutils.utils.math.math2html.DependentCounter
Constructor: NumberCounter(name)
A counter for numbers (by default).
| Method | __init__ |
Give a name to the counter. |
| Method | __unicode__ |
Return a printable representation. |
| Method | getletter |
Get the next value as a letter. |
| Method | getnext |
Increase the current value and get the next value as configured. |
| Method | getroman |
Get the next value as a roman number. |
| Method | getsequence |
Get the next value from elyxer.a sequence. |
| Method | getsymbol |
Get the next value as a symbol. |
| Method | gettext |
Get the next value as a text string. |
| Method | getvalue |
Get the current value as configured in the current mode. |
| Method | init |
Set an initial value. |
| Method | reset |
Reset the counter. |
| Method | setmode |
Set the counter mode. Can be changed at runtime. |
| Class Variable | letters |
Undocumented |
| Class Variable | master |
Undocumented |
| Class Variable | romannumerals |
Undocumented |
| Class Variable | symbols |
Undocumented |
| Instance Variable | mode |
Undocumented |
| Instance Variable | name |
Undocumented |
| Instance Variable | value |
Undocumented |
overridden in
docutils.utils.math.math2html.DependentCounterIncrease the current value and get the next value as configured.
overridden in
docutils.utils.math.math2html.DependentCounterGet the current value as configured in the current mode.