escaping latex entities