Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Compiling a simple document, I get the following error:

(Tex error image)

On the line 166, there is a \begin{itemize} environment. I tried commenting it out and the error goes away, but there doesn't seem to be anything wrong with that part of code. I'm posting it below (from line 164 to 169):

\documentclass[12pt]{article}
\usepackage[a4paper]{geometry}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[shortlabels]{enumitem}
\usepackage{graphicx}
\usepackage{titlesec}

\begin{document}

\begin{itemize}

\item[Presuposiciones] Son aseveraciones no expresadas. Son supuestos que el hablante hace 
sobre lo que probablemente aceptará al oyente sin ponerlo en duda.

Para que un texto sea coherente que el emisor haya acertado en sus presuposiciones.
\item[Implicaturas] Se relacionan estrechamente con los actos de habla indirectos.
Se trata de las informaciones adicionales contenidas en un enunciado. 

\end{itemize}

\end{document

What's happening?

share|improve this question
1  
check your input encoding , it should be utf-8 as there are some utf characters in your latex file –  texenthusiast Jun 27 '12 at 15:26
    
@texlearner But the rest of the document loads fine. That's why it's weird. I mean, I have characters with accents everywhere. –  Alenanno Jun 27 '12 at 15:27
    
I have added a minimal working example (I suppose it should work). –  Alenanno Jun 27 '12 at 15:28
3  
@texlearner Use a good editor. The character might have been a "NO-BREAK SPACE" (U+00A0) and it may be difficult to spot. On Emacs it's shown by a thin underscore. –  egreg Jun 27 '12 at 15:44
1  
@texlearner: See Why the end-of-line % in macro definitions?. –  Caramdir Jun 27 '12 at 15:59
show 8 more comments

closed as too localized by doncherry, Mico, percusse, Marco Daniel, Stefan Kottwitz Aug 20 '12 at 10:54

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

up vote 8 down vote accepted

You have a control character after the full stop after duda. If you delete that then it all seems to work.

share|improve this answer
    
Yes I found it. :) I should have checked better! –  Alenanno Jun 27 '12 at 15:53
    
The '\u8' in the error message might be the clue to this, on another occasion - a backspace crept in, somehow? –  Brent.Longborough Jun 27 '12 at 19:24
add comment

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