Automatically replaces apostrophe-accented Italian words with proper accented letters, preserving LaTeX blocks, links, and truncated words.