replace latex-style quotes