[Tex/LaTex] How to make apostrophes appear normally when copy-pasting from a MS Word document

copy/pastemswordpunctuationsymbols

I have a report written in MS Word which I would like to turn into a LaTeX document. I copy-pasted the content of the document in my LaTeX editor (TeXShop, LaTeX, pdfTeX) and everything comes out fine except for the apostrophes ' which come out as ? (so for example, instead of outputting I'm, I?m is output instead).

In my LaTeX editor, the apostrophes appear as they should, it's only in the compiled pdf document that they are turned into ?.

For a strange reason, I've noticed that if I delete (in the editor) an apostrophe and retype the same apostrophe in the editor, then they are output normally. This trick doesn't work if I do Find and Replace, so the solution I have up to now is simply to manually delete and retype each apostrophe in the text.

This however is very time consuming so I would love to find a better solution!

Best Answer

Word auto corrects input ' to the typographically correct . LaTeX does this, too.

  1. You can try to search-and-replace all to ' in Word itself or
  2. Use another input encoding, for example UTF8: \usepackage[utf8]{inputenc}