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.

i would like to know how can i put labels and names of sections and chapters using accents. I get errors when i try

\chapter{Conclusión}
como se menciona en \ref{algo}.
\section{Other seccion name with áccent}
\label{algo}
share|improve this question
1  
Do accents work properly anywhere else? And yes, you really should provide a complete (preferably small) example: see the question on minimal working examples on meta. –  SamB Dec 25 '10 at 18:44
    
Using xelatex instead of latex/pdflatex (and making sure your input is saved as Unicode UTF-8) makes a lot of these character-encoding problems go away. –  Mohan Dec 11 '12 at 12:40

1 Answer 1

up vote 5 down vote accepted

we need a complete example with an error description ... This works:

\documentclass{book}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[utf8]{inputenc}
\begin{document}

\chapter{Conclusión}
como se menciona en \ref{algo}.
\section{Other seccion name with áccent}\label{algo}

\end{document}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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