# Différences

Ci-dessous, les différences entre deux révisions de la page.

 2_programmation:erreurs:e:entering_compatibility_mode [2018/05/23 23:22]joseph.wright 2_programmation:erreurs:e:entering_compatibility_mode [2021/03/20 16:39]jejust Ajout du message d'erreur complet. Les deux révisions précédentes Révision précédente 2021/03/20 21:26 jejust Ajout d'un titre de section.2021/03/20 21:21 jejust Traduction en français.2021/03/20 16:39 jejust Ajout du message d'erreur complet.2021/01/11 18:06 jejust Balisage du code. Changement de titre.2018/12/04 01:29 jejust 2018/06/03 16:25 joseph.wright 2018/06/03 16:20 samcarter 2018/06/03 15:36 d.p.carlisle 2018/06/03 15:34 samcarter 2018/06/03 15:20 samcarter 2018/06/03 15:18 d.p.carlisle 2018/06/03 15:18 joseph.wright 2018/06/03 15:14 samcarter 2018/06/03 15:06 joseph.wright 2018/06/03 15:05 samcarter 2018/06/03 15:00 joseph.wright 2018/06/03 12:01 d.p.carlisle 2018/06/02 17:38 joseph.wright 2018/06/02 16:47 d.p.carlisle 2018/05/25 23:21 joseph.wright 2018/05/25 21:34 joseph.wright 2018/05/25 11:00 joseph.wright 2018/05/25 10:58 joseph.wright 2018/05/24 19:09 joseph.wright 2018/05/24 19:00 joseph.wright 2018/05/24 10:41 joseph.wright 2018/05/24 10:41 joseph.wright 2018/05/24 10:32 joseph.wright 2018/05/23 23:40 joseph.wright 2018/05/23 23:28 joseph.wright 2018/05/23 23:22 joseph.wright 2018/05/23 22:28 joseph.wright 2018/05/23 18:49 joseph.wright 2018/05/23 15:58 d.p.carlisle 2018/05/22 21:42 joseph.wright 2018/05/22 13:37 joseph.wright créée Prochaine révision Révision précédente 2021/03/20 21:26 jejust Ajout d'un titre de section.2021/03/20 21:21 jejust Traduction en français.2021/03/20 16:39 jejust Ajout du message d'erreur complet.2021/01/11 18:06 jejust Balisage du code. Changement de titre.2018/12/04 01:29 jejust 2018/06/03 16:25 joseph.wright 2018/06/03 16:20 samcarter 2018/06/03 15:36 d.p.carlisle 2018/06/03 15:34 samcarter 2018/06/03 15:20 samcarter 2018/06/03 15:18 d.p.carlisle 2018/06/03 15:18 joseph.wright 2018/06/03 15:14 samcarter 2018/06/03 15:06 joseph.wright 2018/06/03 15:05 samcarter 2018/06/03 15:00 joseph.wright 2018/06/03 12:01 d.p.carlisle 2018/06/02 17:38 joseph.wright 2018/06/02 16:47 d.p.carlisle 2018/05/25 23:21 joseph.wright 2018/05/25 21:34 joseph.wright 2018/05/25 11:00 joseph.wright 2018/05/25 10:58 joseph.wright 2018/05/24 19:09 joseph.wright 2018/05/24 19:00 joseph.wright 2018/05/24 10:41 joseph.wright 2018/05/24 10:41 joseph.wright 2018/05/24 10:32 joseph.wright 2018/05/23 23:40 joseph.wright 2018/05/23 23:28 joseph.wright 2018/05/23 23:22 joseph.wright 2018/05/23 22:28 joseph.wright 2018/05/23 18:49 joseph.wright 2018/05/23 15:58 d.p.carlisle 2018/05/22 21:42 joseph.wright 2018/05/22 13:37 joseph.wright créée Prochaine révision Les deux révisions suivantes Ligne 1: Ligne 1: - --- + ====== Que signifie l'​erreur « Entering compatibility mode »? ====== - section: The joy of TeX errors + - revised: 2014-06-10 + * **Message**: ''​Entering compatibility mode''​ - --- + * **Origine**:​ //LaTeX//. - # Entering compatibility mode + You run your LaTeX job, and it starts by saying You run your LaTeX job, and it starts by saying - latex + <​code>​ Entering LaTeX 2.09 COMPATIBILITY MODE Entering LaTeX 2.09 COMPATIBILITY MODE -  + ​ - followed by lines of asterisks and !!WARNING!!. + followed by lines of asterisks and ''​!!WARNING!!''​ (avertissement complet ci-après). - This means that the document is not written in ''​current'' ​LaTeX + This means that the document is not written in "current" ​LaTeX syntax, - syntax, and that there is no guarantee that all parts of the document + and that there is no guarantee that all parts of the document will be - will be formatted correctly. + formatted correctly. - If the document is someone else'​s,​ and you want no more than a copy to + If the document is someone else'​s,​ and you want no more than a copy to read, - read, ignore the error. ​ The document may fail elsewhere, but as often + ignore the error. ​ The document may fail elsewhere, but as often as not it - as not it will provide a dvi or pdf that's + will provide a DVI or PDF file that's adequate for most purposes. - adequate for most purposes. + If it's a new document you have just started working on, you have been If it's a new document you have just started working on, you have been misled by someone. ​ You have written something like: misled by someone. ​ You have written something like: - \documentstyle{article} + + \documentstyle{article} + ​ or, more generally: or, more generally: - \documentstyle[options]{class} + + \documentstyle[options]{class} + ​ These forms are (as the warning says) LaTeX 2.09 syntax, and to get rid These forms are (as the warning says) LaTeX 2.09 syntax, and to get rid of the warning, you must change the command. of the warning, you must change the command. The simple form is easy to deal with: The simple form is easy to deal with: - \documentstyle{article} + + \documentstyle{article} + ​ should become: should become: - \documentclass{article} + - The complex form is more difficult, since LaTeX 2.09 ''​options''​ + \documentclass{article} - conflate two sorts of things&​nbsp;&​mdash; ​options for the class (such as + ​ - 11pt, fleqn), and packages to be loaded. + The complex form is more difficult, since LaTeX 2.09 "options" + conflate two sorts of things ​--- options for the class (such as + ''​11pt''​, ''​fleqn''​), and packages to be loaded. So: So: - \documentstyle[11pt,​verbatim]{article} + + \documentstyle[11pt,​verbatim]{article} + ​ should become: should become: - \documentclass[11pt]{article} + + \documentclass[11pt]{article} + \usepackage{verbatim} + ​ + because ''​11pt''​ happens to be a class option, while [[ctanpkg>​verbatim]] + is a package. - \usepackage{verbatim} + There'​s no simple way to work out what are class options under LaTeX 2.09; - because 11pt happens ​to be a class option, while + for [[ctanpkg>​article]], the list includes ''​10pt'',​ ''​11pt'',​ ''​12pt'',​ - [verbatim](https://​ctan.org/​pkg/​verbatim) is a package. + ''​draft'',​ ''​fleqn'',​ ''​leqno'',​ ''​twocolumn''​ and ''​twoside''​ --- + anything else must be a package. - There'​s no simple way to work out what are class options under + Your document may well "just work" ​after changes like those above; - LaTeX 2.09; for [article](https://​ctan.org/​pkg/​article),​ the list includes 10pt, + - 11pt, 12pt, draft, + - fleqn, leqno, twocolumn and + - twoside&​nbsp;&​mdash;​ anything else must be a package. + - + - Your document may well ''​just work'' ​after changes like those above; + if not, you should think through what you're trying to do, and consult if not, you should think through what you're trying to do, and consult - documentation on how to do it&​nbsp;&​mdash; ​there are lots of + documentation on how to do it --- there are lots of - [free tutorials](./​FAQ-tutorials*.html) ​to help you on your way, if you + [[FAQ-tutorialsstar|free ​tutorials]] to help you on your way, if you don't have access to a LaTeX manual of any sort. don't have access to a LaTeX manual of any sort. + ----- + + Le message complet est très détaillé: + + + <​code>​ + Entering LaTeX 2.09 COMPATIBILITY MODE + ​************************************************************* + !!WARNING!! ​   !!WARNING!! ​   !!WARNING!! ​   !!WARNING!! ​ + + This mode attempts to provide an emulation of the LaTeX 2.09 + ​author environment so that OLD documents can be successfully + ​processed. It should NOT be used for NEW documents! + + New documents should use Standard LaTeX conventions and start + with the \documentclass command. + + ​Compatibility mode is UNLIKELY TO WORK with LaTeX 2.09 style + files that change any internal macros, especially not with + those that change the FONT SELECTION or OUTPUT ROUTINES. + + ​Therefore such style files MUST BE UPDATED to use + Current Standard LaTeX: LaTeX2e. + If you suspect that you may be using such a style file, which + is probably very, very old by now, then you should attempt to + get it updated by sending a copy of this error message to the + ​author of that file. + ​************************************************************* + ​ + ​ + + FIXME À traduire. + <​code>​ + ​ + ​ + + + ----- + //Source:// [[faquk>​FAQ-entercompmode|Entering compatibility mode]] + + {{htmlmetatags>​metatag-keywords=(LaTeX,​erreurs,​ancien document LaTeX,​compatibilité,​ancienne version, documentstyle vs documentclass) + metatag-og:​title=(Que signifie l'​erreur "​Entering compatibility mode"?​) + metatag-og:​site_name=(FAQ LaTeX francophone) + }}
2_programmation/erreurs/e/entering_compatibility_mode.txt · Dernière modification: 2021/03/20 21:26 par jejust