Copious comments for hook_plot_tex()

`hook_plot_tex()` in `hooks_latex.R` was written very in a very dense way. This changeset keeps the denseness, but adds comments to make the function easier to understand. This also makes it easier to adapt it for other languages (e.g. ConTeXt).