Pipelines
PyDetex https://github.com/ppizarror/PyDetex
PIPELINES Defines the pipelines which apply parsers.
- pydetex.pipelines.simple(s, lang='en', show_progress=False, replace_pydetex_tags=True, remove_common_tags=True, replace_single_chars_eqn=True, **kwargs)[source]
The most simple pipeline ever.
- Parameters:
s (
str
) – String latexlang (
str
) – Language tag of the codeshow_progress (
bool
) – Show progress barreplace_pydetex_tags (
bool
) – Replace pydetex tags like symbols, citesremove_common_tags (
bool
) – Callremove_common_tags
parserreplace_single_chars_eqn (
bool
) – Replaces all single char equations
- Return type:
- Returns:
String with no latex!
- pydetex.pipelines.strict(s, lang='en', show_progress=False, eqn_simple=True, **kwargs)[source]
Apply simple + removes all commands.