Improve and test "compound" handling in LaTeX.