Fonts & Character SetsEncoding Problem with Latin Characters

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
tonguim
Posts: 24
Joined: Fri Nov 06, 2009 4:32 pm

Encoding Problem with Latin Characters

Post by tonguim »

Hi all,

I'm writing a class note. During the compilation process, I got the following error message:

Code: Select all

LaTeX Warning: Unused global option(s):
    [sa4paper].

(./introduction.aux) (/usr/share/texmf-texlive/tex/latex/hyperref/nameref.sty
(/usr/share/texmf-texlive/tex/latex/oberdiek/refcount.sty)) (./introduction.out
) (./introduction.out) (/usr/share/texmf/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./introduction.toc)
[2]
Chapitre 1.
(/usr/share/texmf-texlive/tex/latex/amsfonts/umsa.fd)
(/usr/share/texmf-texlive/tex/latex/amsfonts/umsb.fd)

LaTeX Warning: Command \' invalid in math mode on input line 60.

! Package inputenc Error: Unicode char \u8:­ not set up for use with LaTeX.

See the inputenc package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.60 ...�me est composé du préfixe grec $Tkhn$­
                                                   qui signifie $art, indust...

? 
This is the heading of my .tex file:

Code: Select all

\documentclass[sa4paper, 11pt]{report}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[french]{babel}
\usepackage{fancyhdr}
\usepackage{amsfonts}
\usepackage{url}
\usepackage{hyperref}
\usepackage{graphicx}
\usepackage{color}
\usepackage{array}
\usepackage{subfigure}
\usepackage{verbatim}
The problem occurs after I added and removed 2 characters with accent: the compilation didn't work again. Yet I have another file with the same heading which compilation works succesfully.
I tried to remove the .aux, .out, .log, .toc and .pdf files created during the compilation process from my workdirectory, but it did not fix the problem.

What to do please? Thanks.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
justdeath
Posts: 69
Joined: Mon Sep 05, 2011 10:27 am

Encoding Problem with Latin Characters

Post by justdeath »

The problem is probably hyperref:
Make sure it comes last of your loaded packages, to give it a fighting chance of not being over-written, since its job is to redefine many LATEX commands.
http://www.tug.org/applications/hyperre ... l#x1-30002
ftp://tug.ctan.org/tex-archive/macros/l ... manual.pdf

Also you should use proper accents (if you are not already):
http://en.wikibooks.org/wiki/LaTeX/Accents

Nikolay
Post Reply