Latex files fixes