pyexlatex.texgen.replacements package¶
Submodules¶
pyexlatex.texgen.replacements.file module¶
pyexlatex.texgen.replacements.filename module¶
pyexlatex.texgen.replacements.replacer module¶
- class pyexlatex.texgen.replacements.replacer.Replacer(replacement_dict, escape_next_character_characters=None, escape_until_same_next_character_characters=None)[source]¶
Bases:
object
- __init__(replacement_dict, escape_next_character_characters=None, escape_until_same_next_character_characters=None)[source]¶
- Args:
replacement_dict: dict where keys are strings to be replaced, and values are replacements escape_next_character_characters: list of one character strings for which after that character,
the next character should not be replaced
- escape_until_same_next_character_characters: list of one character strings for which after that
character, until this same character is seen again, characters should not be replaced