TexFilters: List[Tuple[str, Callable[[bytes], bytes]]] = [
# Work around `Extra }, or forgotten \endgroup.`
- ("FixBareEmph", lambda x: re.sub(
- b'(^|\n)(\\\\emph{)', b'\\1\\\\hspace{0pt}\\2', x)),
+ ("FixBareNesting", lambda x: re.sub(
+ b'(^|\n)(\\\\(emph|st){)', b'\\1\\\\hspace{0pt}\\2', x)),
]