Fixing latex issues.