Minor tweaks to latex and magit.