Add basic LaTeX dependency inference.