Fixes to LaTeX settings.