0
\begin{description}

 \item[Public : ] Dans les clouds ​​publics,
 \item[Privé : ] Dans les clouds ​​privés,

\end{description}

I don't know why I got the error mentioned in the question knowing that I worked with this syntax before.

How can I solve this ?

  • Welcome to TeX.SX! Please post a full compilable example (MWE) to help us help you. Have you loaded inputenc (maybe with an option other than utf8)? – TeXnician May 25 '17 at 18:05
  • thanks @TeXnician, for the packages I used this : \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[french]{babel} – SenDjasni May 25 '17 at 18:10
5

There are four characters U+200B (ZERO WIDTH SPACE) between clouds and publics/privés. A simple fix is to remove the space with the p and retype them. Maybe, these characters were introduced by the editor or some copy/paste operation.

  • Well I can't see where are the spaces, there is only one. – SenDjasni May 25 '17 at 18:17
  • @Sendja Nope. Move the cursor to the right/left with direction keys (not with the mouse) and count the keystrokes to pass from the "s" to the "p" and viceversa. Only two or maybe some more? – Fran May 25 '17 at 18:22
  • @Sendja Copy the string “clouds ​​privés” from your question (or from your input file) and paste into a website like r12a.github.io/uniview (and click on the down arrow), to see for yourself. Or just delete all the spaces and add one normally. – ShreevatsaR May 25 '17 at 18:22
1

These errors are hard to debug because if you have a long document then add a citation to a bibtex entry which has a non-unicode character, it's pretty hard to know which citation is the problem and where to look.

My solution was to do the following:

Run pdflatex or whatever, at the command line. This gives you the error in "console" format, like this:

Package inputenc Error: Unicode char ́ (U+301) not set up for use with LaTeX 

I could then copy/paste the offending character (in my case, a weird accent on a bit of Spanish text) and paste it into the following command:

rgrep  ́ 

This allowed me to find the offending item in one of my .bib files and I could make the fix and get on with my life.

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.