2

I am using BibTex for referencing and when I added a new reference I got the following error message: ! Package inputenc Error: Unicode char \u8:‐ not set up for use with LaTeX., which seems to occur at the line where I have \usepackage{setspace}. There seems to be a problem with the dash character (-), which is in one of the titles of a reference I am using. I am using the MacTex editor. Is there any way to fix this?

  • Welcome to TeX.SX! – egreg Jun 19 '16 at 11:05
3

If you had the current version of latex (or the one before) then it would work by default, but for older releases you can just define the needed character

\DeclareUnicodeCharacter{2010}{-}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.