Salut !
J'ai voulu passer à l'utf8 pour écrire mes affaires sous latex car mon environnement est total utf8. J'ai donc installé ucs et mis ces lignes dans mon fichier source qui est enregistré au format utf8 (avec la commande :set fileenconding=utf8 sous vim) :
J'ai bien sur enlevé la ligne :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2 \usepackage{ucs} \usepackage[utf8]{inputenc}
Au moment de la compilation, le compilateur me sort pleins d'erreurs sur les accents :
Code : Sélectionner tout - Visualiser dans une fenêtre à part \usepackage[latin1]{inputenc}
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97 This is TeX, Version 3.14159 (Web2C 7.4.5) (./diode.tex LaTeX2e <2001/06/01> Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2001/04/21 v1.4e Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size10.clo)) (/usr/share/texmf/tex/latex/latex-unicode/ucs.sty (/usr/share/texmf/tex/latex/latex-unicode/uni-global.def)) (/usr/share/texmf/tex/latex/base/fontenc.sty (/usr/share/texmf/tex/latex/base/t1enc.def)) (/usr/share/texmf/tex/generic/babel/babel.sty (/usr/share/texmf/tex/generic/babel/frenchb.ldf (/usr/share/texmf/tex/generic/babel/babel.def) ************************************* * Local config file frenchb.cfg used * (/usr/share/texmf/tex/generic/babel/frenchb.cfg))) (/usr/share/texmf/tex/latex/base/inputenc.sty (/usr/share/texmf/tex/latex/latex-unicode/utf8x.def)) (/usr/share/texmf/tex/latex/graphics/graphicx.sty (/usr/share/texmf/tex/latex/graphics/keyval.sty) (/usr/share/texmf/tex/latex/graphics/graphics.sty (/usr/share/texmf/tex/latex/graphics/trig.sty) (/usr/share/texmf/tex/latex/config/graphics.cfg) (/usr/share/texmf/tex/latex/graphics/dvips.def))) (/usr/share/texmf/tex/latex/misc/picins.sty Option `picins' Version 3.0 Sep. 1992, TH Darmstadt/HRZ) (/usr/share/texmf/tex/latex/multirow/multirow.sty) (/usr/share/texmf/tex/latex/graphics/color.sty (/usr/share/texmf/tex/latex/config/color.cfg) (/usr/share/texmf/tex/latex/graphics/dvipsnam.def)) (/usr/share/texmf/tex/latex/mfnfss/oldgerm.sty) (/usr/share/texmf/tex/latex/tools/array.sty) (/usr/share/texmf/tex/latex/amsmath/amsmath.sty For additional information on amsmath, use the `?' option. (/usr/share/texmf/tex/latex/amsmath/amstext.sty (/usr/share/texmf/tex/latex/amsmath/amsgen.sty)) (/usr/share/texmf/tex/latex/amsmath/amsbsy.sty) (/usr/share/texmf/tex/latex/amsmath/amsopn.sty)) (/usr/share/texmf/tex/latex/misc/vmargin.sty Package: vmargin 2000/08/01 V2.3 (VK) set document margins ) (/usr/share/texmf/tex/latex/misc/fancybox.sty Style option: `fancybox' v1.3 <2000/09/19> (tvz) ) (/usr/share/texmf/tex/latex/fancyheadings/fancyheadings.sty) (/usr/share/texmf/tex/latex/misc/lastpage.sty) No file diode.aux. (/usr/share/texmf/tex/latex/cyrillic/ot2wncyr.fd) (/usr/share/texmf/tex/latex/latex-unicode/ucsencs.def) (/usr/share/texmf/tex/latex/mfnfss/uyinit.fd) LaTeX Font Warning: Font shape `U/yinit/bx/n' undefined (Font) using `U/yinit/m/n' instead on input line 22. LaTeX Warning: No \author given. No file diode.toc. [1] (/usr/share/texmf/tex/latex/latex-unicode/uni-0.def) Underfull \hbox (badness 10000) in paragraph at lines 32--34 (./Dessins/signal_alternatif.tex) No file Dessins/signal_mono_alternace.tex. <Images/Diodes.eps> Underfull \hbox (badness 10000) in paragraph at lines 45--46 Underfull \hbox (badness 10000) in paragraph at lines 117--117 \T1/cmr/m/n/10 par-faite d'une Underfull \hbox (badness 2035) in paragraph at lines 127--127 []\T1/cmr/m/sc/10 Fig. \T1/cmr/m/n/10 5 ^^U Courbe Overfull \vbox (0.61908pt too high) has occurred while \output is active LaTeX Warning: Reference `LastPage' on page 2 undefined on input line 129. [2] Underfull \hbox (badness 10000) in paragraph at lines 132--133 (/usr/share/texmf/tex/latex/latex-unicode/uni-255.def) (/usr/share/texmf/tex/latex/latex-unicode/uninames.dat) (/usr/share/texmf/tex/latex/latex-unicode/uni-255.def) ! Package ucs Error: Unknown Unicode character 65533 = U+FFFD, (ucs) possibly declared in uni-255.def. (ucs) Type H to see if it is available with options. See the ucs package documentation for explanation. Type H <return> for immediate help. ... l.138 On utilise un multim^^ef^^bf^^bd re en position \textbf{ohm^^c3^^a8tre}... ? x
Partager