Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
2_programmation:encodage:pourquoi_m_embeter_avec_inputenc_et_fontenc [2018/05/26 21:24] d.p.carlisle |
2_programmation:encodage:pourquoi_m_embeter_avec_inputenc_et_fontenc [2021/12/20 07:44] (Version actuelle) yannick.tanguy Correction de la mise en forme. |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | --- | + | ====== Pourquoi s' |
- | title: Why bother with `inputenc` and `fontenc`? | + | |
- | category: usage | + | |
- | permalink: / | + | |
- | redirect_from: | + | |
- | date: 2014-06-10 | + | |
- | --- | + | |
- | # Why bother with `inputenc` and `fontenc`? | + | ===== L' |
- | The standard input encoding for Western Europe (pending the arrival of | + | Depuis 2018, les versions de < |
- | Unicode) is ISO& | + | |
- | subtitle | + | |
- | it covers, to the (La)TeX T1 encoding. | + | |
- | In this circumstance, | + | <code latex> |
- | and [`fontenc`](https: | + | \usepackage[utf8]{inputenc} |
- | other, one could do away with both, and use just [`t1enc`](https:// | + | </code> |
- | despite its [shortcomings](FAQ-t1enc.md). | + | |
- | One doesn' | + | En effet, le fichier de format effectue ce chargement. |
- | - Confusion You've been happily working in this mode, and for | + | Le codage d'entrée standard pour l'Europe occidentale avant l' |
- | some reason find you're to switch to writing in German: the effect | + | |
- | of using `& | + | |
- | and Latin-1 treat the codepoint differently. | + | |
- | - Compatibility You find yourself needing to work with a | + | |
- | colleague in Eastern Europe: their keyboard is likely to be set to | + | |
- | produce | + | |
- | - Traditional LaTeX You lapse and write something like | + | |
- | `\' | + | |
- | has the means to convert this LaTeX sequence into the T1 | + | |
- | character, so an `\accent` primitive slips through into the | + | |
- | output, and hyphenation is in danger. | + | |
- | The [`inputenc`](https:// | + | <code latex> |
- | cumbersome, but it's safe. | + | \usepackage[latin1]{inputenc} |
+ | </code> | ||
+ | ===== L' | ||
+ | Si vous utilisez pdfLaTeX ou < | ||
+ | |||
+ | <code latex> | ||
+ | \usepackage[T1]{fontenc} | ||
+ | </ | ||
+ | |||
+ | alors < | ||
+ | * pour rédiger un document en anglais, cela ne posera pas de problème ; | ||
+ | * pour rédiger un document dans une autre langue (en particulier le français), la situation sera tout autre : l' | ||
+ | |||
+ | <note important> | ||
+ | |||
+ | L' | ||
+ | |||
+ | ----- | ||
+ | //Source:// [[faquk> | ||
+ | |||
+ | {{htmlmetatags> | ||
+ | metatag-og: | ||
+ | metatag-og: | ||
+ | }} |