Latex encode opening and closing single quotes