Adds labels & TEX root commands to a multifile LaTeX project.