Flatten camel case text in LaTeX files