Metadata-Version: 2.1
Name: expand_latex_macros
Version: 1.0.1
Summary: Removes all user-defined macros in a .tex file and substitutes their definitions back in.
Author: James McGreivy
Author-email: mcgreivy@mit.edu
Keywords: latex,LaTeX,macros,\def,\newcommand
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Requires-Dist: regex

Provides the function expand_latex_macros(latex_source). Removes all user-defined macros in latex_source -- which should be a latex.tex file read into python using open(latex_source_path).read() -- and substitutes back in their definitions. Helpful for pre-processing LaTeX source to train NLP models.
