add required brackets
only register TeXPreprocessor when converting
add postprocessor to undo replacements