class GroffFormatter(Formatter):
Format tokens with groff escapes to change their color and font style.
Additional options accepted:
style
monospaced
linenos
wrap
Method | __init__ |
Undocumented |
Method | _define_colors |
Undocumented |
Method | _escape_chars |
Undocumented |
Method | _make_styles |
Undocumented |
Method | _wrap_line |
Undocumented |
Method | _write_lineno |
Undocumented |
Method | format_unencoded |
Undocumented |
Class Variable | aliases |
Undocumented |
Class Variable | filenames |
Undocumented |
Class Variable | name |
Undocumented |
Instance Variable | _linelen |
Undocumented |
Instance Variable | _lineno |
Undocumented |
Instance Variable | linenos |
Undocumented |
Instance Variable | monospaced |
Undocumented |
Instance Variable | styles |
Undocumented |
Instance Variable | wrap |
Undocumented |
Inherited from Formatter
:
Method | format |
Format tokensource, an iterable of (tokentype, tokenstring) tuples and write it into outfile. |
Method | get_style_defs |
Return the style definitions for the current style as a string. |
Class Variable | unicodeoutput |
Undocumented |
Instance Variable | encoding |
Undocumented |
Instance Variable | full |
Undocumented |
Instance Variable | options |
Undocumented |
Instance Variable | style |
Undocumented |
Instance Variable | title |
Undocumented |