SYMBOL INDEX (71 symbols across 12 files) FILE: example.py function convert_to_mathml (line 4) | def convert_to_mathml(latex_input): FILE: latex2mathml/commands.py function font_factory (line 386) | def font_factory(default: Optional[str], replacement: dict[str, Optional... FILE: latex2mathml/converter.py class Mode (line 83) | class Mode(enum.Enum): class Converter (line 88) | class Converter: method __init__ (line 89) | def __init__(self, xmlns: str = "http://www.w3.org/1998/Math/MathML", ... method convert (line 95) | def convert(self, latex: str, parent: Optional[Element] = None) -> str: method convert_to_element (line 98) | def convert_to_element(self, latex: str, parent: Optional[Element] = N... method reset (line 106) | def reset(self) -> None: method _convert (line 111) | def _convert(tree: Element) -> str: method _convert_matrix (line 114) | def _convert_matrix( method _convert_group (line 201) | def _convert_group( method _convert_command (line 238) | def _convert_command(self, node: Node, parent: Element, font: Optional... method _append_delimiter_element (line 400) | def _append_delimiter_element(self, node: Node, parent: Element, is_pr... method _convert_symbol (line 430) | def _convert_symbol(self, node: Node, parent: Element, font: Optional[... method _set_font (line 536) | def _set_font(element: Element, key: str, font: Optional[dict[str, Opt... method _set_cell_alignment (line 544) | def _set_cell_alignment(cell: Element, hfil_indexes: list[bool]) -> None: method _get_column_alignment (line 552) | def _get_column_alignment( method _make_matrix_cell (line 564) | def _make_matrix_cell(row: Element, column_alignment: Optional[str]) -... method _get_alignment_and_column_lines (line 570) | def _get_alignment_and_column_lines( method _separate_by_mode (line 589) | def _separate_by_mode(text: str) -> Iterator[tuple[str, Mode]]: method _convert_and_append_command (line 603) | def _convert_and_append_command(command: str, parent: Element, attribu... function convert (line 609) | def convert( function convert_to_element (line 618) | def convert_to_element( function main (line 627) | def main() -> None: # pragma: no cover FILE: latex2mathml/exceptions.py class NumeratorNotFoundError (line 1) | class NumeratorNotFoundError(Exception): class DenominatorNotFoundError (line 5) | class DenominatorNotFoundError(Exception): class ExtraLeftOrMissingRightError (line 9) | class ExtraLeftOrMissingRightError(Exception): class MissingSuperScriptOrSubscriptError (line 13) | class MissingSuperScriptOrSubscriptError(Exception): class DoubleSubscriptsError (line 17) | class DoubleSubscriptsError(Exception): class DoubleSuperscriptsError (line 21) | class DoubleSuperscriptsError(Exception): class NoAvailableTokensError (line 25) | class NoAvailableTokensError(Exception): class InvalidStyleForGenfracError (line 29) | class InvalidStyleForGenfracError(Exception): class MissingEndError (line 33) | class MissingEndError(Exception): class InvalidAlignmentError (line 37) | class InvalidAlignmentError(Exception): class InvalidWidthError (line 41) | class InvalidWidthError(Exception): class LimitsMustFollowMathOperatorError (line 45) | class LimitsMustFollowMathOperatorError(Exception): FILE: latex2mathml/symbols_parser.py function convert_symbol (line 7) | def convert_symbol(symbol: str) -> str | None: function parse_symbols (line 11) | def parse_symbols() -> dict[str, str]: FILE: latex2mathml/tokenizer.py function tokenize (line 33) | def tokenize(latex_string: str, skip_comments: bool = True) -> Iterator[... FILE: latex2mathml/walker.py class Node (line 26) | class Node(NamedTuple): function walk (line 36) | def walk(data: str, display: str = "inline", macros: Optional[dict[str, ... function _walk (line 42) | def _walk( function _make_subsup (line 501) | def _make_subsup(node: Node) -> tuple[str, tuple[Node, ...]]: function _unwrap_token (line 522) | def _unwrap_token(node: Node) -> str: function _get_style (line 529) | def _get_style(node: Node) -> str: function _get_environment_node (line 542) | def _get_environment_node( function _consume_brace_arg (line 604) | def _consume_brace_arg(tokens: Iterator[str]) -> list[str]: function _parse_optional_int (line 611) | def _parse_optional_int(tokens: Iterator[str]) -> tuple[int, str]: function _parse_newcommand (line 623) | def _parse_newcommand(tokens: Iterator[str], macros: dict[str, tuple[lis... function _read_until_close_brace (line 639) | def _read_until_close_brace(tokens: Iterator[str]) -> list[str]: function _parse_newenvironment (line 656) | def _parse_newenvironment(tokens: Iterator[str], macros: dict[str, tuple... function _parse_def (line 669) | def _parse_def(tokens: Iterator[str], macros: dict[str, tuple[list[str],... function _parse_declare_math_operator (line 683) | def _parse_declare_math_operator(tokens: Iterator[str], macros: dict[str... function _substitute_params (line 691) | def _substitute_params(body: list[str], args: list[list[str]]) -> list[s... function _expand_macro (line 710) | def _expand_macro(token: str, tokens: Iterator[str], macros: dict[str, t... FILE: tests/conftest.py class MathMLExtension (line 8) | class MathMLExtension(SingleFileSnapshotExtension): method serialize (line 14) | def serialize(self, data: Any, **kwargs: Any) -> SerializedData: function snapshot (line 19) | def snapshot(snapshot: Any) -> Any: FILE: tests/test_converter.py function test_converter (line 385) | def test_converter(snapshot: str, latex: str) -> None: function test_converter_inline (line 400) | def test_converter_inline(snapshot: str, latex: str) -> None: function test_converter_raises (line 418) | def test_converter_raises(latex: str, exception: type[BaseException]) ->... function test_macro (line 488) | def test_macro(latex: str, expected: str, display: str) -> None: function test_align_vs_align_star (line 492) | def test_align_vs_align_star() -> None: function test_equation_counter_persists (line 499) | def test_equation_counter_persists() -> None: function test_reusable_macro (line 507) | def test_reusable_macro() -> None: function test_convert_to_element (line 513) | def test_convert_to_element(snapshot: str) -> None: function test_convert_to_element_with_parent (line 520) | def test_convert_to_element_with_parent(snapshot: str) -> None: FILE: tests/test_symbol_parser.py function test_convert_symbol (line 10) | def test_convert_symbol(latex: str, expected: str) -> None: FILE: tests/test_tokenizer.py function test_tokenize (line 525) | def test_tokenize(latex: str, expected: list) -> None: FILE: tests/test_walker.py function test_walk (line 1728) | def test_walk(latex: str, expected: list) -> None: function test_error (line 1754) | def test_error(latex: str, exception: Union[tuple[Any, ...], Any]) -> None: