Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
2_composition:langues:latex_et_l_utf8 [2021/02/10 18:24] – Correction des liens internes. Mots-clefs OpenGraph. jejust | 3_composition:langues:latex_et_l_utf8 [2021/06/20 20:15] (Version actuelle) – Correction de coquille. jejust | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== | + | ====== |
- | Unicode is a character code scheme that has the capacity to express | ||
- | the text of the languages of the world, as well as important symbols | ||
- | (including mathematics). | ||
- | applicable to TeX may be expressed in single bytes (expressing up | ||
- | to 256 characters); | ||
- | the scheme may express a very large number of characters. | ||
- | For " | + | [[wpfr>Unicode]] est un schéma de codage des caractères qui a la capacité de représenter les textes de toutes les langues du monde, |
- | Unicode input, the sequence of bytes to make up Unicode character are | + | ainsi que des symboles importants (y compris les symboles mathématiques). |
- | processed by a set of macros that deliver a glyph number in an | + | |
- | appropriate font. The macros that read these bytes is complicated, | + | |
- | and manifests as '' | + | |
- | [[ctanpkg>inputenc]] package; the coverage of that option is limited to | + | |
- | Unicode characters that can be represented using "LaTeX standard | + | |
- | encodings" | + | |
- | equivalent to | + | |
+ | Nativement, TeX comprend les schémas de codage utilisant des octets simples (c' | ||
+ | et ne pouvant donc représenter que 256 caractères au maximum). Or Unicode, pour pouvoir représenter un très grand nombre de caractères, | ||
+ | [[wpfr> | ||
+ | |||
+ | |||
+ | Pour que les applications « à l' | ||
+ | la séquence d' | ||
+ | un numéro de glyphe dans une police appropriée. Les macros qui lisent le flux d' | ||
+ | mais pour l' | ||
+ | (présente par défaut sur toute installation de LaTeX): | ||
<code latex> | <code latex> | ||
\usepackage[utf8]{inputenc} | \usepackage[utf8]{inputenc} | ||
</ | </ | ||
+ | Depuis 2018, il n'y a même plus besoin d' | ||
+ | c'est l' | ||
+ | |||
+ | Cette option ne sait traiter que les caractères Unicode qui peuvent être représentés avec | ||
+ | les « encodages standards de LaTeX ». | ||
+ | Le paquet séparé [[ctanpkg> | ||
+ | |||
+ | <note important> | ||
+ | L' | ||
+ | |||
+ | En règle générale, vous ne devriez jamais utiliser '' | ||
+ | </ | ||
+ | |||
+ | Les applications « modernes », telles [[1_generalites: | ||
+ | et [[1_generalites: | ||
+ | par défaut des représentations UTF-8 d' | ||
+ | or chacune de ces polices possède des tables qui indiquent à l' | ||
+ | ce qui permet au moteur de décider quelle police utiliser pour tel ou tel caractère (si besoin). | ||
- | The separate package [[ctanpkg> | + | Tout ce ceci fait qu'UTF-8 est maintenant complètement supporté par LaTeX, |
- | less robust, coverage via an [[ctanpkg> | + | et que vous n'avez plus besoin d'avoir peur de convertir vos documents anciens. |
- | '' | + | |
- | until you have convinced yourself that '' | + | |
- | the job for you. | + | |
- | " | ||
- | read their input using UTF-8 representations of Unicode as standard. | ||
- | They also use TrueType or OpenType fonts for output; each such font | ||
- | has tables that tell the application which part(s) of the Unicode | ||
- | space it covers; the tables enable the engines to decide which | ||
- | font to use for which character (assuming there is any choice at all). | ||
----- | ----- | ||
//Source:// [[faquk> | //Source:// [[faquk> | ||
- | {{htmlmetatags> | + | {{htmlmetatags> |
- | metatag-og: | + | metatag-og: |
metatag-og: | metatag-og: | ||
}} | }} | ||