LaTeX preprocessor