Add full LaTeX support

Fixes #6