IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Mise en forme Discussion :

accent et apostrophe avec Latex


Sujet :

Mise en forme

  1. #1
    Membre du Club
    Profil pro
    Inscrit en
    Octobre 2010
    Messages
    131
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2010
    Messages : 131
    Points : 44
    Points
    44
    Par défaut accent et apostrophe avec Latex
    Bonjour

    Comment utiliser svp les accents et l'apostrophe avec l'interface TeXnicCenter ?

    sachant que j'utilise ces packages :
    \usepackage[latin1]{inputenc}
    \usepackage[T1]{fontenc}
    \usepackage[francais]{babel}

    Merci

  2. #2
    Invité
    Invité(e)
    Par défaut
    Citation Envoyé par ebenmous Voir le message
    Comment utiliser svp les accents et l'apostrophe avec l'interface TeXnicCenter ?
    C'est très simple, si tu veux un "'é", tu tapes
    Pour l'apostrophe, c'est à peine plus compliqué, si tu veux une apostrophe, tu tapes
    De rien.

  3. #3
    Membre du Club
    Profil pro
    Inscrit en
    Octobre 2010
    Messages
    131
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2010
    Messages : 131
    Points : 44
    Points
    44
    Par défaut
    oui c'est ce que j'essaye de faire mais quand je fais compiler ça me génère les fichiers DVI et PS correctement mais j'arrive pas à avoir le PDF à la fin !!

  4. #4
    Invité
    Invité(e)
    Par défaut
    L'encodage n'est peut être pas celui que tu donnes à TeX.

    Tu peux toujours faire détecter à TeX si ton fichier est encodé en utf8 ou pas. Il suffit de compiler :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    \documentclass{minimal}
    \begin{document}
    {\catcode`\~13 \def~#1{}Encodage \ifcat^\detokenize\expandafter{}^non \fi UTF8.}
    \end{document}
    Si tu vois « UTF8 », c'est que ton encodage est utf8 et il faut adapter l'option du package inputenc.

  5. #5
    Membre du Club
    Profil pro
    Inscrit en
    Octobre 2010
    Messages
    131
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2010
    Messages : 131
    Points : 44
    Points
    44
    Par défaut
    Bonjour, merci infiniment, je l'ai eu ce UTF8. comment je fais alors pour adapter le inputenc???

  6. #6
    Invité
    Invité(e)
    Par défaut
    Si « Codage UTF8. » s'affiche à la compilation de mon code, il faut écrire
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    \usepackage[utf8]{inputenc}
    dans le préambule.

  7. #7
    Membre du Club
    Profil pro
    Inscrit en
    Octobre 2010
    Messages
    131
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2010
    Messages : 131
    Points : 44
    Points
    44
    Par défaut
    ça se compile mais j'ai encore des erreurs, voici le code que j'ai compilé:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
     
    \documentclass{report}
     
    \usepackage[utf8]{inputenc} % un package
    \usepackage[T1]{fontenc}      % un second package
    \usepackage[francais]{babel}  % un troisième package
     
    \begin{document}
     
    Dans ce chapitre nous présentons les notions de base de notre domaine de recherche. Nous commençons en premier lieu par la notion du Web sémantique, ses principes et ses technologies. Ensuite, nous présentons le concept d’ontologie étant l’élément principal dans l’architecture du futur Web, ses différentes définitions ainsi que les différents langages et standards qui contribuent à sa description. Nous présentons à la fin la notion des données liées et du Web des données.
     
     
    \end{document}
    puis voici le résultat que j'ai obtenu:

    Dans ce chapitre nous prntons les notions de base de notre domaine de
    recherche. Nous commens en premier lieu par la notion du Web sntique, ses
    principes et ses technologies. Ensuite, nous prntons le concept dontologie nt
    lment principal dans larchitecture du futur Web, ses dintes dnitions ainsi que
    les dints langages et standards qui contribuent description. Nous prntons n
    la notion des donn li et du Web des donn.


  8. #8
    Invité
    Invité(e)
    Par défaut
    Ah ? Bizarre....

    Il te faut savoir en quel encodage est ton fichier source (et ça, c'est toi seul qui peut le savoir) et passer cet encodage au package inputenc. Chez moi, ton code compile très bien et donne le résultat attendu.

  9. #9
    Membre du Club
    Profil pro
    Inscrit en
    Octobre 2010
    Messages
    131
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2010
    Messages : 131
    Points : 44
    Points
    44
    Par défaut
    en fait, je ne fais que copier directement le texte d'un ficher WordPad et le mettre sur TexnicCenter

  10. #10
    Invité
    Invité(e)
    Par défaut
    Citation Envoyé par ebenmous Voir le message
    en fait, je ne fais que copier directement le texte d'un ficher WordPad et le mettre sur TexnicCenter
    Cela n'a aucun rapport avec la question posée : quel est l'encodage de ton fichier source ?

  11. #11
    Membre du Club
    Profil pro
    Inscrit en
    Octobre 2010
    Messages
    131
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2010
    Messages : 131
    Points : 44
    Points
    44
    Par défaut
    si j'ai pas bien répondu .. c'est que j'ai pas bien compris votre question qu'est ce que vous voulez dire par l'encodage du fichier source?

  12. #12
    Invité
    Invité(e)
    Par défaut
    Citation Envoyé par ebenmous Voir le message
    si j'ai pas bien répondu .. c'est que j'ai pas bien compris votre question qu'est ce que vous voulez dire par l'encodage du fichier source?
    Je ne vais pas faire un cours sur l'encodage ici. Il suffit de chercher sur l'internet pour en trouver à foison. Mais c'est vraiment la base...

    Ce que tu ne comprends pas, c'est que c'est à toi de spécifier l'encodage d'un fichier texte en le disant à ton éditeur. Lorsque tu "enregistres" un fichier, tu dis forcément quelque part à ton éditeur dans quel encodage il faut le faire (si tu ne le dis pas, il y a une option par défaut quelque part et c'est à toi d'aller voir si elle te convient et le cas échéant, la modifier). Chez moi, voici ce que je vois quand je veux enregistrer un fichier :
    Nom : capture1.png
Affichages : 9673
Taille : 20,6 Ko
    Et je n'ai qu'à choisir quel encodage je veux, même si "UTF8" est sélectionné par défaut.

    Je ne répondrai plus tant que tu ne nous diras pas clairement en quel encodage est fait ton fichier source.

  13. #13
    Membre du Club
    Homme Profil pro
    Étudiant
    Inscrit en
    Novembre 2011
    Messages
    93
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Madagascar

    Informations professionnelles :
    Activité : Étudiant
    Secteur : Enseignement

    Informations forums :
    Inscription : Novembre 2011
    Messages : 93
    Points : 60
    Points
    60
    Par défaut
    Salut!
    Quand le fichier est encodé en utf8 aucun problème. J'utilise winedit et je crois c'est à peu près la même, pour changer l'encodage du fichier, on entre dans Document, Document Settings et changer la Properties Document Mode en Tex:utf8.
    Bonne journée

  14. #14
    Membre du Club
    Profil pro
    Inscrit en
    Octobre 2010
    Messages
    131
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2010
    Messages : 131
    Points : 44
    Points
    44
    Par défaut
    bnj, merci bcp, je viens de vérifier, même si l'encodage du fichier est utf8 ça marche pas bizarree

  15. #15
    Invité
    Invité(e)
    Par défaut
    Peux-tu poster le log de la compilation de ce code ?

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    \documentclass{article}
    \usepackage[utf8]{inputenc}
    \begin{document}
    à, é, è, À, É, È
    \end{document}

  16. #16
    Membre du Club
    Profil pro
    Inscrit en
    Octobre 2010
    Messages
    131
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2010
    Messages : 131
    Points : 44
    Points
    44
    Par défaut
    Bonsoir j'ai eu ce résultat !!
    Images attachées Images attachées  

  17. #17
    Membre du Club
    Profil pro
    Inscrit en
    Octobre 2010
    Messages
    131
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2010
    Messages : 131
    Points : 44
    Points
    44
    Par défaut
    c ce que j'ai pu imprimer dslée
    Images attachées Images attachées  

  18. #18
    Invité
    Invité(e)
    Par défaut
    Le fichier log est un fichier texte. Je n'ai aucun besoin de voir une capture d'écran qui sera forcément incomplète !!! Poste le texte entier et très long du fichier log (mets le entre balises code pour le poster ici).

  19. #19
    Membre du Club
    Profil pro
    Inscrit en
    Octobre 2010
    Messages
    131
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2010
    Messages : 131
    Points : 44
    Points
    44
    Par défaut
    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
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
     
    This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9) (preloaded format=pdflatex 2011.7.23)  5 MAR 2012 20:55
    entering extended mode
    **C:/Users/Essia/Desktop/Nouveau*dossier/LaTeX5.tex
    ("C:/Users/Essia/Desktop/Nouveau dossier/LaTeX5.tex"
    LaTeX2e <2009/09/24>
    Babel <v3.8l> and hyphenation patterns for english, afrikaans, ancientgreek, ar
    abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic, 
    croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
    lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland
    ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
    vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
    an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese, 
    romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
    sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
    senglishmax, welsh, loaded.
    ("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
    Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
    ("C:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo"
    File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
    )
    \c@part=\count79
    \c@section=\count80
    \c@subsection=\count81
    \c@subsubsection=\count82
    \c@paragraph=\count83
    \c@subparagraph=\count84
    \c@figure=\count85
    \c@table=\count86
    \abovecaptionskip=\skip41
    \belowcaptionskip=\skip42
    \bibindent=\dimen102
    )
    ("C:\Program Files\MiKTeX 2.9\tex\latex\base\inputenc.sty"
    Package: inputenc 2008/03/30 v1.1d Input encoding file
    \inpenc@prehook=\toks14
    \inpenc@posthook=\toks15
     
    ("C:\Program Files\MiKTeX 2.9\tex\latex\base\utf8.def"
    File: utf8.def 2008/04/05 v1.1m UTF-8 support for inputenc
    Now handling font encoding OML ...
    ... no UTF-8 mapping file for font encoding OML
    Now handling font encoding T1 ...
    ... processing UTF-8 mapping file for font encoding T1
     
    ("C:\Program Files\MiKTeX 2.9\tex\latex\base\t1enc.dfu"
    File: t1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
       defining Unicode char U+00A1 (decimal 161)
       defining Unicode char U+00A3 (decimal 163)
       defining Unicode char U+00AB (decimal 171)
       defining Unicode char U+00BB (decimal 187)
       defining Unicode char U+00BF (decimal 191)
       defining Unicode char U+00C0 (decimal 192)
       defining Unicode char U+00C1 (decimal 193)
       defining Unicode char U+00C2 (decimal 194)
       defining Unicode char U+00C3 (decimal 195)
       defining Unicode char U+00C4 (decimal 196)
       defining Unicode char U+00C5 (decimal 197)
       defining Unicode char U+00C6 (decimal 198)
       defining Unicode char U+00C7 (decimal 199)
       defining Unicode char U+00C8 (decimal 200)
       defining Unicode char U+00C9 (decimal 201)
       defining Unicode char U+00CA (decimal 202)
       defining Unicode char U+00CB (decimal 203)
       defining Unicode char U+00CC (decimal 204)
       defining Unicode char U+00CD (decimal 205)
       defining Unicode char U+00CE (decimal 206)
       defining Unicode char U+00CF (decimal 207)
       defining Unicode char U+00D0 (decimal 208)
       defining Unicode char U+00D1 (decimal 209)
       defining Unicode char U+00D2 (decimal 210)
       defining Unicode char U+00D3 (decimal 211)
       defining Unicode char U+00D4 (decimal 212)
       defining Unicode char U+00D5 (decimal 213)
       defining Unicode char U+00D6 (decimal 214)
       defining Unicode char U+00D8 (decimal 216)
       defining Unicode char U+00D9 (decimal 217)
       defining Unicode char U+00DA (decimal 218)
       defining Unicode char U+00DB (decimal 219)
       defining Unicode char U+00DC (decimal 220)
       defining Unicode char U+00DD (decimal 221)
       defining Unicode char U+00DE (decimal 222)
       defining Unicode char U+00DF (decimal 223)
       defining Unicode char U+00E0 (decimal 224)
       defining Unicode char U+00E1 (decimal 225)
       defining Unicode char U+00E2 (decimal 226)
       defining Unicode char U+00E3 (decimal 227)
       defining Unicode char U+00E4 (decimal 228)
       defining Unicode char U+00E5 (decimal 229)
       defining Unicode char U+00E6 (decimal 230)
       defining Unicode char U+00E7 (decimal 231)
       defining Unicode char U+00E8 (decimal 232)
       defining Unicode char U+00E9 (decimal 233)
       defining Unicode char U+00EA (decimal 234)
       defining Unicode char U+00EB (decimal 235)
       defining Unicode char U+00EC (decimal 236)
       defining Unicode char U+00ED (decimal 237)
       defining Unicode char U+00EE (decimal 238)
       defining Unicode char U+00EF (decimal 239)
       defining Unicode char U+00F0 (decimal 240)
       defining Unicode char U+00F1 (decimal 241)
       defining Unicode char U+00F2 (decimal 242)
       defining Unicode char U+00F3 (decimal 243)
       defining Unicode char U+00F4 (decimal 244)
       defining Unicode char U+00F5 (decimal 245)
       defining Unicode char U+00F6 (decimal 246)
       defining Unicode char U+00F8 (decimal 248)
       defining Unicode char U+00F9 (decimal 249)
       defining Unicode char U+00FA (decimal 250)
       defining Unicode char U+00FB (decimal 251)
       defining Unicode char U+00FC (decimal 252)
       defining Unicode char U+00FD (decimal 253)
       defining Unicode char U+00FE (decimal 254)
       defining Unicode char U+00FF (decimal 255)
       defining Unicode char U+0102 (decimal 258)
       defining Unicode char U+0103 (decimal 259)
       defining Unicode char U+0104 (decimal 260)
       defining Unicode char U+0105 (decimal 261)
       defining Unicode char U+0106 (decimal 262)
       defining Unicode char U+0107 (decimal 263)
       defining Unicode char U+010C (decimal 268)
       defining Unicode char U+010D (decimal 269)
       defining Unicode char U+010E (decimal 270)
       defining Unicode char U+010F (decimal 271)
       defining Unicode char U+0110 (decimal 272)
       defining Unicode char U+0111 (decimal 273)
       defining Unicode char U+0118 (decimal 280)
       defining Unicode char U+0119 (decimal 281)
       defining Unicode char U+011A (decimal 282)
       defining Unicode char U+011B (decimal 283)
       defining Unicode char U+011E (decimal 286)
       defining Unicode char U+011F (decimal 287)
       defining Unicode char U+0130 (decimal 304)
       defining Unicode char U+0131 (decimal 305)
       defining Unicode char U+0132 (decimal 306)
       defining Unicode char U+0133 (decimal 307)
       defining Unicode char U+0139 (decimal 313)
       defining Unicode char U+013A (decimal 314)
       defining Unicode char U+013D (decimal 317)
       defining Unicode char U+013E (decimal 318)
       defining Unicode char U+0141 (decimal 321)
       defining Unicode char U+0142 (decimal 322)
       defining Unicode char U+0143 (decimal 323)
       defining Unicode char U+0144 (decimal 324)
       defining Unicode char U+0147 (decimal 327)
       defining Unicode char U+0148 (decimal 328)
       defining Unicode char U+014A (decimal 330)
       defining Unicode char U+014B (decimal 331)
       defining Unicode char U+0150 (decimal 336)
       defining Unicode char U+0151 (decimal 337)
       defining Unicode char U+0152 (decimal 338)
       defining Unicode char U+0153 (decimal 339)
       defining Unicode char U+0154 (decimal 340)
       defining Unicode char U+0155 (decimal 341)
       defining Unicode char U+0158 (decimal 344)
       defining Unicode char U+0159 (decimal 345)
       defining Unicode char U+015A (decimal 346)
       defining Unicode char U+015B (decimal 347)
       defining Unicode char U+015E (decimal 350)
       defining Unicode char U+015F (decimal 351)
       defining Unicode char U+0160 (decimal 352)
       defining Unicode char U+0161 (decimal 353)
       defining Unicode char U+0162 (decimal 354)
       defining Unicode char U+0163 (decimal 355)
       defining Unicode char U+0164 (decimal 356)
       defining Unicode char U+0165 (decimal 357)
       defining Unicode char U+016E (decimal 366)
       defining Unicode char U+016F (decimal 367)
       defining Unicode char U+0170 (decimal 368)
       defining Unicode char U+0171 (decimal 369)
       defining Unicode char U+0178 (decimal 376)
       defining Unicode char U+0179 (decimal 377)
       defining Unicode char U+017A (decimal 378)
       defining Unicode char U+017B (decimal 379)
       defining Unicode char U+017C (decimal 380)
       defining Unicode char U+017D (decimal 381)
       defining Unicode char U+017E (decimal 382)
       defining Unicode char U+200C (decimal 8204)
       defining Unicode char U+2013 (decimal 8211)
       defining Unicode char U+2014 (decimal 8212)
       defining Unicode char U+2018 (decimal 8216)
       defining Unicode char U+2019 (decimal 8217)
       defining Unicode char U+201A (decimal 8218)
       defining Unicode char U+201C (decimal 8220)
       defining Unicode char U+201D (decimal 8221)
       defining Unicode char U+201E (decimal 8222)
       defining Unicode char U+2030 (decimal 8240)
       defining Unicode char U+2031 (decimal 8241)
       defining Unicode char U+2039 (decimal 8249)
       defining Unicode char U+203A (decimal 8250)
       defining Unicode char U+2423 (decimal 9251)
    )
    Now handling font encoding OT1 ...
    ... processing UTF-8 mapping file for font encoding OT1
     
    ("C:\Program Files\MiKTeX 2.9\tex\latex\base\ot1enc.dfu"
    File: ot1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
       defining Unicode char U+00A1 (decimal 161)
       defining Unicode char U+00A3 (decimal 163)
       defining Unicode char U+00B8 (decimal 184)
       defining Unicode char U+00BF (decimal 191)
       defining Unicode char U+00C5 (decimal 197)
       defining Unicode char U+00C6 (decimal 198)
       defining Unicode char U+00D8 (decimal 216)
       defining Unicode char U+00DF (decimal 223)
       defining Unicode char U+00E6 (decimal 230)
       defining Unicode char U+00EC (decimal 236)
       defining Unicode char U+00ED (decimal 237)
       defining Unicode char U+00EE (decimal 238)
       defining Unicode char U+00EF (decimal 239)
       defining Unicode char U+00F8 (decimal 248)
       defining Unicode char U+0131 (decimal 305)
       defining Unicode char U+0141 (decimal 321)
       defining Unicode char U+0142 (decimal 322)
       defining Unicode char U+0152 (decimal 338)
       defining Unicode char U+0153 (decimal 339)
       defining Unicode char U+2013 (decimal 8211)
       defining Unicode char U+2014 (decimal 8212)
       defining Unicode char U+2018 (decimal 8216)
       defining Unicode char U+2019 (decimal 8217)
       defining Unicode char U+201C (decimal 8220)
       defining Unicode char U+201D (decimal 8221)
    )
    Now handling font encoding OMS ...
    ... processing UTF-8 mapping file for font encoding OMS
     
    ("C:\Program Files\MiKTeX 2.9\tex\latex\base\omsenc.dfu"
    File: omsenc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
       defining Unicode char U+00A7 (decimal 167)
       defining Unicode char U+00B6 (decimal 182)
       defining Unicode char U+00B7 (decimal 183)
       defining Unicode char U+2020 (decimal 8224)
       defining Unicode char U+2021 (decimal 8225)
       defining Unicode char U+2022 (decimal 8226)
    )
    Now handling font encoding OMX ...
    ... no UTF-8 mapping file for font encoding OMX
    Now handling font encoding U ...
    ... no UTF-8 mapping file for font encoding U
       defining Unicode char U+00A9 (decimal 169)
       defining Unicode char U+00AA (decimal 170)
       defining Unicode char U+00AE (decimal 174)
       defining Unicode char U+00BA (decimal 186)
       defining Unicode char U+02C6 (decimal 710)
       defining Unicode char U+02DC (decimal 732)
       defining Unicode char U+200C (decimal 8204)
       defining Unicode char U+2026 (decimal 8230)
       defining Unicode char U+2122 (decimal 8482)
       defining Unicode char U+2423 (decimal 9251)
    ))
    ("C:\Users\Essia\Desktop\Nouveau dossier\LaTeX5.aux")
    LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 3.
    LaTeX Font Info:    ... okay on input line 3.
    LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 3.
    LaTeX Font Info:    ... okay on input line 3.
    LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 3.
    LaTeX Font Info:    ... okay on input line 3.
    LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 3.
    LaTeX Font Info:    ... okay on input line 3.
    LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 3.
    LaTeX Font Info:    ... okay on input line 3.
    LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 3.
    LaTeX Font Info:    ... okay on input line 3.
     
     
    ! 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.4 à, é
            , è, À, É, È
    Your command was ignored.
    Type  I <command> <return>  to replace it with another command,
    or  <return>  to continue without it.
     
     
    ! 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.4 à, é, è, À
                  , É, È
    Your command was ignored.
    Type  I <command> <return>  to replace it with another command,
    or  <return>  to continue without it.
     
     
    ! 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.4 à, é, è, À, É,
                       È
    Your command was ignored.
    Type  I <command> <return>  to replace it with another command,
    or  <return>  to continue without it.
     
     
    ! Package inputenc Error: Unicode char \u8:È\end not set up for use with LaTeX.
     
     
    See the inputenc package documentation for explanation.
    Type  H <return>  for immediate help.
     ...                                              
     
    l.5 \end
            {document}
    Your command was ignored.
    Type  I <command> <return>  to replace it with another command,
    or  <return>  to continue without it.
     
    )
    ! Emergency stop.
    <*> ...rs/Essia/Desktop/Nouveau*dossier/LaTeX5.tex
     
    *** (job aborted, no legal \end found)
     
     
    Here is how much of TeX's memory you used:
     409 strings out of 494053
     4106 string characters out of 3148603
     50137 words of memory out of 3000000
     3771 multiletter control sequences out of 15000+200000
     3640 words of font info for 14 fonts, out of 3000000 for 9000
     715 hyphenation exceptions out of 8191
     23i,0n,17p,204b,38s stack positions out of 5000i,500n,10000p,200000b,50000s
    !  ==> Fatal error occurred, no output PDF file produced!

  20. #20
    Invité
    Invité(e)
    Par défaut
    Apparemment, ton encodage n'est pas UFT8 mais bien latin 1.

    Copie le code et compile-le :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    \documentclass{article}
    \makeatletter
    \def\test#1{%
    	1) \number\expandafter`\csname\expandafter\string\@car#1\@nil\endcsname\par
    	\expandafter\unless\expandafter\ifx\expandafter\relax\detokenize\expandafter{\@gobble#1}\relax
    	2) \number\expandafter`\csname\expandafter\string\@cdr#1\@nil\endcsname
    	\fi}
    \makeatother
    \begin{document}
    \test{é}
    \end{document}
    Si tu vois
    1) 195
    2) 169
    L'encodage de "é" est bien sur 2 octets, c'est UTF8.

    Si tu vois (et je parie que tu vois ça) :
    1) 233
    L'encodage n'est pas utf8.

    Sinon, je ne sais pas et j'arrête ici... Si quelqu'un veut prendre la suite, c'est avec plaisir.

+ Répondre à la discussion
Cette discussion est résolue.
Page 1 sur 2 12 DernièreDernière

Discussions similaires

  1. Accents avec Latex
    Par kariel dans le forum Débuter
    Réponses: 3
    Dernier message: 07/04/2014, 03h19
  2. Accents avec Latex
    Par chercheur111 dans le forum Mise en forme
    Réponses: 0
    Dernier message: 31/07/2012, 14h40
  3. [MySQL] Requête sécurisée avec accent et apostrophe
    Par MistyMan dans le forum PHP & Base de données
    Réponses: 1
    Dernier message: 06/06/2009, 11h25
  4. Copie de String Avec Accents ou Apostrophe
    Par progamer54 dans le forum Langage
    Réponses: 3
    Dernier message: 30/10/2007, 10h40
  5. Apres l'accent l'apostrophe
    Par man80 dans le forum PostgreSQL
    Réponses: 3
    Dernier message: 04/05/2004, 16h47

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo