1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/fr/
9 % DO NOT ALTER THIS PREAMBLE!!!
11 % This preamble is designed to ensure that the User's Guide prints
12 % out as advertised. If you mess with this preamble,
13 % parts of the User's Guide may not print out as expected. If you
14 % have problems LaTeXing this file, please contact
15 % the documentation team
16 % email: lyx-docs@lists.lyx.org
18 % the pages of the TOC is numbered roman
19 % and a pdf-bookmark for the TOC is added
20 \let\myTOC\tableofcontents
21 \renewcommand\tableofcontents{%
23 \pdfbookmark[1]{\contentsname}{}
27 \@ifpackageloaded{babel}{
28 % increase link area for cross-references and autoname them,
29 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
31 \renewcommand*{\equationautorefname}[1]{}%
32 \renewcommand{\sectionautorefname}{sec.\negthinspace}%
33 \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
34 \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
38 \options liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
39 \use_default_options false
43 \maintain_unincluded_children false
45 \language_package default
48 \font_roman "lmodern" "default"
49 \font_sans "lmss" "default"
50 \font_typewriter "lmtt" "default"
51 \font_math "auto" "auto"
52 \font_default_family default
53 \use_non_tex_fonts false
56 \font_sf_scale 100 100
57 \font_tt_scale 100 100
59 \use_dash_ligatures false
61 \default_output_format pdf2
63 \bibtex_command default
64 \index_command default
68 \pdf_title "LyX Configuration Manual"
69 \pdf_author "LyX Team"
70 \pdf_subject "LyX-documentation Customization"
71 \pdf_keywords "LyX, documentation, customization"
73 \pdf_bookmarksnumbered true
74 \pdf_bookmarksopen true
75 \pdf_bookmarksopenlevel 1
80 \pdf_pdfusetitle false
81 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
84 \use_package amsmath 0
85 \use_package amssymb 0
88 \use_package mathdots 1
89 \use_package mathtools 0
91 \use_package stackrel 0
92 \use_package stmaryrd 0
93 \use_package undertilde 0
95 \cite_engine_type default
99 \paperorientation portrait
104 \notefontcolor #0000ff
116 \paragraph_separation indent
117 \paragraph_indentation default
119 \math_indentation default
120 \math_numbering_side default
125 \paperpagestyle headings
126 \tracking_changes false
127 \output_changes false
130 \html_be_strict false
131 \author 34634807 "Jean-Pierre"
137 Personnaliser \SpecialChar LyX
138 : fonctions pour l'utilisateur avancé
142 par l'équipe \SpecialChar LyX
147 \begin_layout Plain Layout
148 Merci d'envoyer vos commentaires et corrections à la liste de diffusion
149 de la documentation de \SpecialChar LyX
153 \begin_inset CommandInset href
155 target "lyx-docs@lists.lyx.org"
164 \begin_inset Quotes cld
168 \begin_inset Quotes crd
171 dans l'objet, et mettre en copie le responsable courant de ce fichier,
172 Richard Heck <rgheck@comcast.net>.
173 \begin_inset Newline newline
176 Traduction en français par : P.-H.
187 Meunier-Guttin-Cluzel
194 Merci d'envoyer vos commentaires et corrections sur la traduction à la
195 liste de diffusion de \SpecialChar LyX
198 <lyx-fr@lists.lyx.org>
206 \begin_inset Note Note
209 \begin_layout Plain Layout
210 Informations de révision :
213 \begin_layout Plain Layout
214 Traduction : remplacement de Éditer/Visionner/Insérer/Naviguer par Édition/Affic
215 hage/Insertion/Navigation, 31/10/2012 (JPC)
218 \begin_layout Plain Layout
219 Mise à jour OK pour la publication 2.0.0, Date: 21/01/2014 (JPC)
222 \begin_layout Plain Layout
223 Remplacement de « appendice » par « annexe », 31/12/2014 (JPC)
226 \begin_layout Plain Layout
227 Mise à jour pour 2.2, 19/01/2016 (JPC)
230 \begin_layout Plain Layout
231 Nouvel exemple pour le paragraphe 4.1.1.1 + quelques corrections mineures,
238 \begin_inset Newline newline
242 \begin_inset Newline newline
248 \begin_layout Standard
249 \begin_inset CommandInset toc
250 LatexCommand tableofcontents
257 \begin_layout Chapter
261 \begin_layout Standard
262 Ce manuel couvre les fonctions de personnalisation de \SpecialChar LyX
264 Nous y abordons des sujets comme les raccourcis clavier, les options d'aperçu
265 à l'écran, les options d'impression, l'envoi de commandes à \SpecialChar LyX
268 , l'internationalisation, l'installation de nouvelles classes \SpecialChar LaTeX
270 formats \SpecialChar LyX
272 Nous n'espérons pas aborder tout ce que vous pouvez modifier – nos développeurs
273 ajoutent de nouvelles fonctions plus vite que nous n'en écrivons la documentati
274 on – mais nous allons expliquer les personnalisations les plus courantes
275 et au moins vous indiquer la bonne direction pour les plus obscures d'entre
279 \begin_layout Chapter
280 Les fichiers de configuration de \SpecialChar LyX
284 \begin_layout Standard
285 Ce chapitre devrait vous aider à trouver votre chemin parmi les fichiers
286 de configuration de \SpecialChar LyX
288 Avant d'entreprendre sa lecture, consultez
290 Aide\SpecialChar menuseparator
306 pour connaître le répertoire de bibliothèques et le répertoire utilisateur
309 C'est dans celui-ci que \SpecialChar LyX
310 place ses fichiers de configuration système; le
311 répertoire utilisateur est celui dans lequel vous pouvez mettre vos versions
312 modifiées Le premier sera appelé
313 \begin_inset Flex Code
316 \begin_layout Plain Layout
324 \begin_inset Flex Code
327 \begin_layout Plain Layout
333 dans la suite de ce document.
336 \begin_layout Section
337 Qu'est-ce qu'il y a dans
338 \begin_inset Flex Code
341 \begin_layout Plain Layout
351 \begin_layout Standard
352 \begin_inset Flex Code
355 \begin_layout Plain Layout
362 et ses sous-répertoires contiennent un certain nombre de fichiers qui peuvent
363 servir à personnaliser le comportement de \SpecialChar LyX
365 Vous pouvez modifier ces fichiers depuis \SpecialChar LyX
366 lui-même avec la fenêtre
368 Outils\SpecialChar menuseparator
372 La plupart des réglages personnels que vous voudrez apporter à \SpecialChar LyX
374 se faire par l'intermédiaire de cette fenêtre.
375 Il y a cependant bien d'autres aspects du fonctionnement de \SpecialChar LyX
377 on peut agir en modifiant les fichiers de
378 \begin_inset Flex Code
381 \begin_layout Plain Layout
389 Ils entrent dans différentes catégories, qui sont décrites dans les sous-sectio
393 \begin_layout Subsection
394 Les fichiers générés automatiquement
397 \begin_layout Standard
398 Ces fichiers sont générés au moment de la configuration de \SpecialChar LyX
400 Ils définissent différentes valeurs par défaut qui sont évaluées par l'inspecti
402 Comme ils peuvent être réécrits à tout moment, il n'est pas conseillé de
406 \begin_layout Labeling
407 \labelwidthstring 00.00.0000
408 \begin_inset Flex Code
411 \begin_layout Plain Layout
417 contient les valeurs implicites pour différentes commandes.
420 \begin_layout Labeling
421 \labelwidthstring 00.00.0000
422 \begin_inset Flex Code
425 \begin_layout Plain Layout
431 contient la liste des paquetages \SpecialChar LaTeX
435 ne se sert pas directement de ce fichier, mais les informations obtenues
436 sont disponibles en faisant
438 Aide\SpecialChar menuseparator
449 \begin_layout Labeling
450 \labelwidthstring 00.00.0000
451 \begin_inset Flex Code
454 \begin_layout Plain Layout
460 donne la liste des classes de texte présentes dans le répertoire
461 \begin_inset Flex Code
464 \begin_layout Plain Layout
470 , les classes de document \SpecialChar LaTeX
471 correspondantes et leur description.
475 \begin_layout Labeling
476 \labelwidthstring 00.00.0000
477 \begin_inset Flex Code
480 \begin_layout Plain Layout
486 donne la liste des modules figurant dans vos répertoires de format (
487 \begin_inset Flex Code
490 \begin_layout Plain Layout
501 \begin_layout Labeling
502 \labelwidthstring 00.00.0000
503 \begin_inset Flex Code
506 \begin_layout Plain Layout
512 donne la liste de différentes sortes de fichiers connexes à \SpecialChar LaTeX
517 \begin_layout Labeling
518 \labelwidthstring 00.00.0000
519 \begin_inset Flex Code
522 \begin_layout Plain Layout
523 doc/\SpecialChar LaTeX
529 est généré automatiquement pendant la configuration de \SpecialChar LyX
530 , à partir du fichier
532 \begin_inset Flex Code
535 \begin_layout Plain Layout
545 \begin_layout Subsection
549 \begin_layout Standard
550 Ces répertoires figurent à la fois dans
551 \begin_inset Flex Code
554 \begin_layout Plain Layout
561 \begin_inset Flex Code
564 \begin_layout Plain Layout
571 Si un fichier existe dans les deux répertoires, c'est celui de
572 \begin_inset Flex Code
575 \begin_layout Plain Layout
584 \begin_layout Labeling
585 \labelwidthstring 00.00.0000
586 \begin_inset Flex Code
589 \begin_layout Plain Layout
595 ce répertoire contient les fichiers de définition des raccourcis clavier,
597 \begin_inset Flex Code
600 \begin_layout Plain Layout
608 \begin_inset Quotes cld
612 \begin_inset Quotes crd
615 du fichier de raccourcis, appelée
616 \begin_inset Flex Code
619 \begin_layout Plain Layout
625 , celle-ci sera détectée et utilisée en premier.
628 \begin_layout Labeling
629 \labelwidthstring 00.00.0000
632 \begin_inset Flex Code
635 \begin_layout Plain Layout
643 contains files with the extension
644 \begin_inset Flex Code
647 \begin_layout Plain Layout
655 which define the diverse citation possibilities (natbib, biblatex etc.).
657 \begin_inset CommandInset ref
659 reference "subsec:Cite-Engine-Files"
669 \begin_layout Labeling
670 \labelwidthstring 00.00.0000
671 \begin_inset Flex Code
674 \begin_layout Plain Layout
680 contient quelques fichiers graphiques qui peuvent être inclus dans les
685 \begin_layout Labeling
686 \labelwidthstring 00.00.0000
687 \begin_inset Flex Code
690 \begin_layout Plain Layout
696 contient les fichiers de la documentation de \SpecialChar LyX
697 (dont celui que vous êtes
700 \begin_inset Flex Code
703 \begin_layout Plain Layout
710 est un cas à part, comme nous venons de le voir.
711 S'il existe des version traduites des fichiers d'aide, avec le préfixe
713 \begin_inset Flex Code
716 \begin_layout Plain Layout
722 , celles-ci seront utilisées d'abord (voir le
727 \begin_inset CommandInset ref
729 reference "chap:i18n"
737 \begin_layout Labeling
738 \labelwidthstring 00.00.0000
739 \begin_inset Flex Code
742 \begin_layout Plain Layout
748 contient les fichiers d'exemples qui illustrent la façon d'utiliser certaines
750 Vous pouvez y accéder en appuyant sur le bouton
755 \begin_inset Flex Noun
758 \begin_layout Plain Layout
759 Fichier\SpecialChar menuseparator
768 \begin_layout Labeling
769 \labelwidthstring 00.00.0000
770 \begin_inset Flex Code
773 \begin_layout Plain Layout
779 contient les fichiers d'images utilisés dans l'interface
784 Il contient également les icônes utilisées dans la barre d'outils et les
785 bannières affichées au démarrage de \SpecialChar LyX
789 \begin_layout Labeling
790 \labelwidthstring 00.00.0000
791 \begin_inset Flex Code
794 \begin_layout Plain Layout
800 contient les fichiers de réaffectation clavier.
802 \begin_inset CommandInset ref
804 reference "sec:clavier"
808 pour des informations détaillées.
812 \begin_layout Labeling
813 \labelwidthstring 00.00.0000
814 \begin_inset Flex Code
817 \begin_layout Plain Layout
823 contient les classes de texte et les fichiers de modules décrits au
824 \begin_inset CommandInset ref
826 reference "chap:classe-texte"
833 \begin_layout Labeling
834 \labelwidthstring 00.00.0000
835 \begin_inset Flex Code
838 \begin_layout Plain Layout
844 contient les scripts Python
845 \begin_inset Flex Code
848 \begin_layout Plain Layout
854 permettant d'effectuer les conversions entre versions de \SpecialChar LyX
856 Ils peuvent être exécutés depuis la ligne de commande, si vous désirez
857 par exemple faire un traitement par lots.
860 \begin_layout Labeling
861 \labelwidthstring 00.00.0000
862 \begin_inset Flex Code
865 \begin_layout Plain Layout
871 contient quelques fichiers qui illustrent les possibilités offertes par
873 \begin_inset Flex Noun
876 \begin_layout Plain Layout
889 \begin_layout Labeling
890 \labelwidthstring 00.00.0000
891 \begin_inset Flex Code
894 \begin_layout Plain Layout
900 contient les fichiers modèles de \SpecialChar LyX
906 \begin_inset CommandInset ref
908 reference "sec:modeles"
915 \begin_layout Labeling
916 \labelwidthstring 00.00.0000
917 \begin_inset Flex Code
920 \begin_layout Plain Layout
926 contient des fichiers avec l'extension
927 \begin_inset Flex Code
930 \begin_layout Plain Layout
936 qui définissent l'interface utilisateur de \SpecialChar LyX
938 C'est-à-dire que ces fichiers définissent quels éléments apparaissent dans
939 les menus et quels éléments apparaissent dans la barre d'outils.
942 \begin_layout Labeling
943 \labelwidthstring 00.00.0000
946 \begin_inset Flex Code
949 \begin_layout Plain Layout
957 contains files with the extension
958 \begin_inset Flex Code
961 \begin_layout Plain Layout
969 which define the templates for the insertion of external material to a
972 \begin_inset CommandInset ref
974 reference "chap:Including-External-Material"
981 \begin_layout Subsection
982 Fichiers que vous n'avez pas à modifier
985 \begin_layout Standard
986 Ce sont des fichiers internes à \SpecialChar LyX
987 , et ils ne doivent pas être modifiés, sauf
988 par les développeurs.
992 \begin_layout Labeling
993 \labelwidthstring 00.00.0000
1000 ce fichier contient la liste des développeurs de \SpecialChar LyX
1002 Son contenu est affiché en sélectionnant
1003 \begin_inset Flex Noun
1006 \begin_layout Plain Layout
1007 Aide\SpecialChar menuseparator
1016 \begin_layout Labeling
1017 \labelwidthstring 00.00.0000
1024 est un script \SpecialChar LaTeX
1025 utilisé pendant le processus de configuration.
1026 Ne pas le lancer directement.
1030 \begin_layout Labeling
1031 \labelwidthstring 00.00.0000
1038 est le script qui permet de reconfigurer \SpecialChar LyX
1040 Il génère des fichiers de configuration dans le répertoire dans lequel
1044 \begin_layout Subsection
1045 Autres fichiers appelant un commentaire
1048 \begin_layout Labeling
1049 \labelwidthstring 00.00.0000
1054 contient des tables de conversion faisant correspondre les différents encodages
1055 de caractères avec Unicode.
1058 \begin_layout Labeling
1059 \labelwidthstring 00.00.0000
1064 contient la liste de toutes les langues actuellement supportées par \SpecialChar LyX
1068 \begin_layout Labeling
1069 \labelwidthstring 00.00.0000
1070 \begin_inset Flex Code
1073 \begin_layout Plain Layout
1079 contient des informations sur les différentes polices.
1082 \begin_layout Labeling
1083 \labelwidthstring 00.00.0000
1084 \begin_inset Flex Code
1087 \begin_layout Plain Layout
1093 contient les traductions pour les styles de paragraphe internationalisés
1095 \begin_inset space ~
1099 \begin_inset CommandInset ref
1101 reference "subsec:I18n"
1108 \begin_layout Labeling
1109 \labelwidthstring 00.00.0000
1110 \begin_inset Flex Code
1113 \begin_layout Plain Layout
1119 contient des informations sur les glyphes encodés en Unicode et la manière
1120 dont \SpecialChar LyX
1121 les traite via \SpecialChar LaTeX
1125 \begin_layout Section
1126 Votre répertoire personnel de configuration
1129 \begin_layout Standard
1130 Même si vous utilisez \SpecialChar LyX
1131 sans être le super-utilisateur, vous pouvez avoir
1132 envie de modifier la configuration de \SpecialChar LyX
1133 pour votre usage personnel.
1135 \begin_inset Flex Code
1138 \begin_layout Plain Layout
1144 contient les fichiers personnels de configuration.
1145 C'est le répertoire qui est décrit comme
1146 \begin_inset Quotes cld
1149 Répertoire utilisateur
1150 \begin_inset Quotes crd
1155 Aide\SpecialChar menuseparator
1157 \begin_inset space ~
1161 \begin_inset space ~
1165 \begin_inset space ~
1172 Il est traité comme un miroir du répertoire
1173 \begin_inset Flex Code
1176 \begin_layout Plain Layout
1183 , et chaque fichier qui se trouve dans
1187 remplace par conséquent le fichier correspondant de
1188 \begin_inset Flex Code
1191 \begin_layout Plain Layout
1199 Chaque fichier de configuration décrit dans les sections précédentes peut
1200 se trouver soit dans le répertoire de configuration système, ce qui jouera
1201 pour tous les utilisateurs, soit dans votre répertoire personnel, pour
1202 votre propre configuration.
1205 \begin_layout Standard
1206 Pour éclaircir la situation, voici quelques exemples:
1209 \begin_layout Itemize
1210 les réglages effectués dans la fenêtre
1212 Outils\SpecialChar menuseparator
1215 sont enregistrés dans un fichier
1216 \begin_inset Flex Code
1219 \begin_layout Plain Layout
1226 \begin_inset Flex Code
1229 \begin_layout Plain Layout
1238 \begin_layout Itemize
1239 quand vous reconfigurez \SpecialChar LyX
1242 Outils\SpecialChar menuseparator
1246 fait tourner le script
1247 \begin_inset Flex Code
1250 \begin_layout Plain Layout
1256 et les fichiers résultants sont placés dans votre répertoire personnel
1258 Ça signifie que les nouvelles classes de texte que vous avez pu ajouter
1260 \begin_inset Flex Code
1263 \begin_layout Plain Layout
1269 seront ajoutées à la liste des classes de la fenêtre
1271 Document\SpecialChar menuseparator
1278 \begin_layout Itemize
1279 Si vous récupérez sur le site ftp de \SpecialChar LyX
1280 des fichiers de documentation mis
1281 à jour et que vous n'êtes pas administrateur sur votre système, vous pouvez
1282 placer ces fichiers dans
1283 \begin_inset Flex Code
1286 \begin_layout Plain Layout
1292 et ils seront ouverts directement à partir du menu d'
1299 \begin_layout Section
1300 Utiliser \SpecialChar LyX
1301 avec plusieurs configurations
1304 \begin_layout Standard
1305 La liberté offerte pour le répertoire de configuration locale peut être
1306 insuffisante si vous avez besoin de plusieurs configurations différentes.
1307 Par exemple, vous pouvez vouloir utiliser des raccourcis clavier ou des
1308 réglages d'imprimante différents selon les circonstances
1312 \begin_layout Plain Layout
1313 NdT : ou encore vouloir écrire dans des langues différentes et adapter vos
1314 configurations en conséquence.
1320 Vous pouvez y arriver en ayant plusieurs répertoires de configuration.
1321 Vous spécifiez alors lequel utiliser au moment de lancer \SpecialChar LyX
1325 \begin_layout Standard
1326 Si vous lancez \SpecialChar LyX
1327 avec l'option de ligne de commande
1335 , le programme va lire la configuration qui se trouve dans ce répertoire,
1336 et non dans le répertoire par défaut (en lançant \SpecialChar LyX
1337 sans cette option vous
1338 pouvez déterminer le répertoire par défaut).
1339 Si ce répertoire n'existe pas, \SpecialChar LyX
1340 vous propose de le créer, exactement comme
1341 il le fait avec le répertoire implicite au premier lancement du programme.
1342 Vous pouvez modifier les options de configuration dans ce
1346 supplémentaire exactement comme vous le feriez pour le répertoire implicite.
1347 Ces répertoires sont complètement indépendants (mais lisez la suite).
1348 Notez que positionner la variable d'environnement
1352 a exactement le même effet.
1355 \begin_layout Standard
1356 Quand vous avez plusieurs configurations, vous devez faire plus attention:
1357 si vous voulez ajouter un nouveau format dans
1359 MonNouveauRép/layouts
1361 , pour qu'il soit disponible dans toutes vos configurations, vous devez
1362 l'ajouter dans chaque répertoire séparément.
1363 Vous pouvez contourner ceci avec l'astuce suivante: après que \SpecialChar LyX
1365 répertoire supplémentaire, la plupart des sous-répertoires (voir plus haut)
1367 Si vous voulez que la nouvelle configuration soit le reflet d'une déjà
1368 existante, remplacez le sous-répertoire vide par un lien symbolique au
1369 sous-répertoire correspondant dans la configuration existante.
1370 Faites toutefois attention avec le sous-répertoire
1374 , car il contient un fichier écrit par le script de configuration (accessible
1377 Outils\SpecialChar menuseparator
1380 ) qui est propre à chaque configuration.
1383 \begin_layout Chapter
1389 \begin_layout Standard
1390 Tous les options de la fenêtre
1394 sont expliquées dans l'annexe
1396 La fenêtre Préférences
1400 Guide de l'utilisateur
1403 Pour certaines options, vous trouverez ici plus de précisions.
1406 \begin_layout Section
1408 \begin_inset CommandInset label
1417 \begin_layout Standard
1418 La première étape consiste à définir vos formats de fichiers si ce n'est
1420 Pour ce faire, ouvrez
1421 \begin_inset Flex Noun
1424 \begin_layout Plain Layout
1425 Outils\SpecialChar menuseparator
1434 \begin_inset Flex Noun
1437 \begin_layout Plain Layout
1438 Gestion des fichiers\SpecialChar menuseparator
1446 , appuyez sur le bouton
1447 \begin_inset Flex Noun
1450 \begin_layout Plain Layout
1458 \begin_inset Flex Noun
1461 \begin_layout Plain Layout
1467 contient le nom utilisé pour identifier le format de manière interne.
1468 Vous devrez également saisir un suffixe de nom de fichier.
1469 Toutes ces informations sont obligatoires.
1471 \begin_inset Flex Noun
1474 \begin_layout Plain Layout
1480 permet de définir une séquence de touches du clavier pour un accès rapide
1481 aux menus (par exemple, appuyer sur
1482 \begin_inset Flex Noun
1485 \begin_layout Plain Layout
1492 \begin_inset Flex Noun
1495 \begin_layout Plain Layout
1496 Document\SpecialChar menuseparator
1497 Visionner (autres formats)\SpecialChar menuseparator
1506 \begin_layout Standard
1507 Un Format peut se voir associer une
1508 \begin_inset Flex Noun
1511 \begin_layout Plain Layout
1518 \begin_inset Flex Noun
1521 \begin_layout Plain Layout
1528 Par exemple, vous pouvez vouloir utiliser Ghostview pour afficher les fichier
1530 Vous pouvez saisir le nom de la commande permettant de lancer les programmes
1531 dans les champs correspondants.
1532 La visionneuse est lancée quand vous voulez voir un graphique dans \SpecialChar LyX
1535 \begin_inset Flex Noun
1538 \begin_layout Plain Layout
1539 Document\SpecialChar menuseparator
1546 L'éditeur est lancé par exemple quand vous faites un clic-droit sur un
1547 graphique et que vous choisissez
1548 \begin_inset Flex Noun
1551 \begin_layout Plain Layout
1552 Modifier le fichier via une application externe
1557 dans le menu contextuel qui apparaît.
1560 \begin_layout Standard
1562 \begin_inset Flex Noun
1565 \begin_layout Plain Layout
1571 d'un format est facultatif, mais s'il est précisé, il doit être unique
1572 pour l'ensemble des formats.
1573 Il est utilisé pour reconnaître les fichiers de ce format à partir de leur
1575 Pour certains formats de fichier importants, il n'y a pas de type MIME
1576 officiellement répertorié dans la base
1577 \begin_inset CommandInset href
1580 target "http://www.iana.org/assignments/media-types/"
1586 De ce fait \SpecialChar LyX
1587 utilise la liste plus étoffée spécifiée par
1588 \begin_inset CommandInset href
1590 name "freedesktop.org"
1591 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1599 \begin_layout Standard
1600 La case à cocher Format de document informe \SpecialChar LyX
1601 que le format est approprié
1602 pour une exportation du document.
1603 Si la case est cochée que qu'une procédure de conversion est définie (voir
1605 \begin_inset space ~
1609 \begin_inset CommandInset ref
1611 reference "sec:Convertisseurs"
1615 ), ce format apparaîtra dans le menu
1616 \begin_inset Flex Noun
1619 \begin_layout Plain Layout
1620 Fichier\SpecialChar menuseparator
1627 Le format apparaîtra également dans le menu
1631 si une visionneuse est définie pour lui.
1632 Les formats purement graphiques, comme png, ne doivent pas utiliser cette
1634 Les formats adaptés à la fois aux graphiques et aux documents, comme pdf,
1638 \begin_layout Standard
1640 \begin_inset Flex Noun
1643 \begin_layout Plain Layout
1644 Format graphique vectoriel
1649 informe \SpecialChar LyX
1650 qu'un format peut contenir des vecteurs graphiques.
1651 Cette information est utile pour déterminer le format cible des graphiques
1652 inclus lors de l'exportation via
1653 \begin_inset Flex Noun
1656 \begin_layout Plain Layout
1663 Les graphiques inclus dans le document peuvent nécessiter une conversion
1665 \begin_inset Flex Noun
1668 \begin_layout Plain Layout
1675 \begin_inset Flex Noun
1678 \begin_layout Plain Layout
1685 \begin_inset Flex Noun
1688 \begin_layout Plain Layout
1695 \begin_inset Flex Noun
1698 \begin_layout Plain Layout
1704 ne sait pas gérer d'autres formats graphiques.
1705 Si un graphique inclus n'est pas déjà dans un des ces trois formats, il
1707 \begin_inset Flex Noun
1710 \begin_layout Plain Layout
1716 si la case est cochée, et en
1717 \begin_inset Flex Noun
1720 \begin_layout Plain Layout
1729 \begin_layout Section
1733 \begin_layout Standard
1734 Du fait que toutes les conversions d'un format à une autre se font dans
1735 la répertoire temporaire de \SpecialChar LyX
1736 , il peut être nécessaire de modifier un fichier
1737 avant de le copier dan le répertoire temporaire pour que la conversion
1738 se fasse correctement
1742 \begin_layout Plain Layout
1743 Par exemple, le fichier peut référencer d'autres fichiers ― e.g.
1744 une image ― par un nom de fichier relatif, qui peut devenir incorrect lors
1745 de la copie du fichier dans le répertoire temporaire.
1751 Ceci est effectué par un Copieur: il copie un fichier vers (ou depuis)
1752 le répertoire temporaire et peut le modifier à la volée.
1755 \begin_layout Standard
1756 La définition des copieurs peut utiliser huit variables:
1759 \begin_layout Labeling
1760 \labelwidthstring 00.00.0000
1761 \begin_inset Flex Code
1764 \begin_layout Plain Layout
1770 le répertoire système de \SpecialChar LyX
1772 \begin_inset space \thinspace{}
1776 \begin_inset space \space{}
1780 \begin_inset Flex Noun
1783 \begin_layout Plain Layout
1792 \begin_layout Labeling
1793 \labelwidthstring 00.00.0000
1794 \begin_inset Flex Code
1797 \begin_layout Plain Layout
1803 le fichier en entrée
1806 \begin_layout Labeling
1807 \labelwidthstring 00.00.0000
1808 \begin_inset Flex Code
1811 \begin_layout Plain Layout
1817 le fichier en sortie
1820 \begin_layout Labeling
1821 \labelwidthstring 00.00.0000
1822 \begin_inset Flex Code
1825 \begin_layout Plain Layout
1831 la racine du nom (sans le suffixe) dans le répertoire temporaire \SpecialChar LyX
1835 \begin_layout Labeling
1836 \labelwidthstring 00.00.0000
1837 \begin_inset Flex Code
1840 \begin_layout Plain Layout
1846 la chemin d'accès complet du répertoire \SpecialChar LyX
1850 \begin_layout Labeling
1851 \labelwidthstring 00.00.0000
1852 \begin_inset Flex Code
1855 \begin_layout Plain Layout
1861 le chemin d'accès complet au ficher original \SpecialChar LyX
1862 en cours de traitement
1865 \begin_layout Labeling
1866 \labelwidthstring 00.00.0000
1867 \begin_inset Flex Code
1870 \begin_layout Plain Layout
1876 le nom du fichier \SpecialChar LyX
1877 (sans chemin d'accès)
1880 \begin_layout Labeling
1881 \labelwidthstring 00.00.0000
1882 \begin_inset Flex Code
1885 \begin_layout Plain Layout
1892 \begin_inset Quotes cld
1895 nom \SpecialChar LaTeX
1897 \begin_inset Quotes crd
1903 \begin_layout Standard
1904 Ce dernier doit être le nom du fichier tel qu'il serait spécifié dans la
1905 commande \SpecialChar LaTeX
1915 Il n'est pertinent que pour l'exportation des fichiers appropriés à une
1919 \begin_layout Standard
1920 Les copieurs peuvent être utilisés pour à peu près n'importe quelle opération
1922 Par exemple, supposons que vous vouliez que les fichiers pdf soient copiés
1923 dans un répertoire particulier,
1926 \begin_inset Flex Code
1929 \begin_layout Plain Layout
1940 Alors vous pouvez écrire un script comme celui-ci:
1943 \begin_layout Standard
1946 \begin_inset listings
1950 \begin_layout Plain Layout
1955 \begin_layout Plain Layout
1960 \begin_layout Plain Layout
1962 TOFILE=`basename $2`
1965 \begin_layout Plain Layout
1967 cp $FROMFILE /home/you/pdf/$TOFILE
1975 \begin_layout Standard
1976 Enregistrez-le dans votre répertoire \SpecialChar LyX
1980 \begin_inset Flex Code
1983 \begin_layout Plain Layout
1986 /home/you/.lyx/scripts/pdfcopier.sh
1993 ― et rendez le exécutable, si c'est nécessaire sur votre plate-forme.
1995 \begin_inset Flex Noun
1998 \begin_layout Plain Layout
1999 Outils\SpecialChar menuseparator
2006 \begin_inset Flex Noun
2009 \begin_layout Plain Layout
2010 Gestion des fichiers\SpecialChar menuseparator
2017 \begin_inset Flex Noun
2020 \begin_layout Plain Layout
2026 ― ou l'un des autres formats PDF ― et saisissez
2029 \begin_inset Flex Code
2032 \begin_layout Plain Layout
2035 pdfcopier.sh $$i $$o
2043 \begin_inset Flex Noun
2046 \begin_layout Plain Layout
2055 \begin_layout Standard
2056 Les copieurs sont utilisés par \SpecialChar LyX
2057 dans plusieurs de ses convertisseurs internes.
2058 Par exemple, si les programmes appropriés sont trouvés lors de la configuration
2060 installera automatiquement des copieurs pour les formats
2061 \begin_inset Flex Noun
2064 \begin_layout Plain Layout
2071 \begin_inset Flex Noun
2074 \begin_layout Plain Layout
2076 \begin_inset space ~
2085 Quand le documente est exporté vers ces formats, le copieur considère que
2086 non seulement le fichier HTML, mais aussi les fichiers auxiliaires (fichiers
2087 de style, images, etc.) sont également copiés.
2088 Tous ces fichiers sont recopiés dans un sous-répertoire du répertoire dans
2089 lequel se trouvait le document \SpecialChar LyX
2093 \begin_layout Section
2095 \begin_inset CommandInset label
2097 name "sec:Convertisseurs"
2104 \begin_layout Standard
2105 Vous pouvez définir vos propres Convertisseurs pour activer les conversions
2106 entre différents formats.
2107 Ceci est défini dans
2108 \begin_inset Flex Noun
2111 \begin_layout Plain Layout
2112 Outils\SpecialChar menuseparator
2113 Préférences\SpecialChar menuseparator
2114 Gestion des fichiers\SpecialChar menuseparator
2123 \begin_layout Standard
2124 Pour définir un nouveau convertisseur, sélectionner les formats appropriés
2125 dans les menus déroulants
2126 \begin_inset Flex Noun
2129 \begin_layout Plain Layout
2136 \begin_inset Flex Noun
2139 \begin_layout Plain Layout
2145 , saisir le nom de la commande nécessaire à la conversion et appuyer sur
2147 \begin_inset Flex Noun
2150 \begin_layout Plain Layout
2157 Plusieurs variables peuvent être utilisées pour préciser les arguments
2158 des commandes de conversion:
2161 \begin_layout Labeling
2162 \labelwidthstring 00.00.0000
2163 \begin_inset Flex Code
2166 \begin_layout Plain Layout
2172 le répertoire système de \SpecialChar LyX
2176 \begin_layout Labeling
2177 \labelwidthstring 00.00.0000
2178 \begin_inset Flex Code
2181 \begin_layout Plain Layout
2187 le fichier en entrée
2190 \begin_layout Labeling
2191 \labelwidthstring 00.00.0000
2192 \begin_inset Flex Code
2195 \begin_layout Plain Layout
2201 le fichier en sortie
2204 \begin_layout Labeling
2205 \labelwidthstring 00.00.0000
2206 \begin_inset Flex Code
2209 \begin_layout Plain Layout
2215 le nom de base du fichier en entrée (c'est-à-dire sans suffixe)
2218 \begin_layout Labeling
2219 \labelwidthstring 00.00.0000
2220 \begin_inset Flex Code
2223 \begin_layout Plain Layout
2229 le chemin du fichier d'entrée
2232 \begin_layout Labeling
2233 \labelwidthstring 00.00.0000
2234 \begin_inset Flex Code
2237 \begin_layout Plain Layout
2243 le chemin du fichier d'entrée original (ceci peut différer de
2244 \begin_inset Flex Noun
2247 \begin_layout Plain Layout
2253 lors de l'appel d'une séquence de convertisseurs)
2256 \begin_layout Labeling
2257 \labelwidthstring 00.00.0000
2258 \begin_inset Flex Code
2261 \begin_layout Plain Layout
2268 \begin_inset Flex Code
2271 \begin_layout Plain Layout
2277 désignant l'encodage du document
2280 \begin_layout Standard
2282 \begin_inset Flex Noun
2285 \begin_layout Plain Layout
2287 \begin_inset space ~
2295 , vous pouvez saisir les mots-clés suivants, séparés par des virgules:
2298 \begin_layout Labeling
2299 \labelwidthstring 00.00.0000
2300 \begin_inset Flex Code
2303 \begin_layout Plain Layout
2309 ce convertisseur exécute \SpecialChar LaTeX
2310 ou une variante de \SpecialChar LaTeX
2311 , le fichier journal sera
2315 \begin_layout Labeling
2316 \labelwidthstring 00.00.0000
2317 \begin_inset Flex Code
2320 \begin_layout Plain Layout
2326 la conversion utilise le fichier
2327 \begin_inset Flex Noun
2330 \begin_layout Plain Layout
2339 \begin_layout Labeling
2340 \labelwidthstring 00.00.0000
2341 \begin_inset Flex Code
2344 \begin_layout Plain Layout
2350 demande une fichier \SpecialChar LyX
2352 \begin_inset Quotes cld
2356 \begin_inset Quotes crd
2359 (facile), ce qui en pratique désigne un fichier similaire au résultat d'une
2360 exportation \SpecialChar LaTeX
2364 \begin_inset Flex Code
2367 \begin_layout Plain Layout
2380 \begin_layout Labeling
2381 \labelwidthstring 00.00.0000
2382 \begin_inset Flex Code
2385 \begin_layout Plain Layout
2391 la sortie est au format XML
2394 \begin_layout Standard
2395 Les trois mots-clés suivants ne sont pas vraiment des mots-clés, ils prennent
2396 un argument de la forme
2397 \begin_inset Flex Noun
2400 \begin_layout Plain Layout
2409 \begin_layout Labeling
2410 \labelwidthstring 00.00.0000
2411 \begin_inset Flex Code
2414 \begin_layout Plain Layout
2420 s'il est utilisé, les messages d'erreur standard du convertisseur seront
2421 redirigés vers un fichier
2422 \begin_inset Flex Code
2425 \begin_layout Plain Layout
2433 , et le script passé en valeur sera exécuté comme:
2434 \begin_inset Flex Code
2437 \begin_layout Plain Layout
2440 script < infile.out > infile.log
2446 L'argument peut contenir
2447 \begin_inset Flex Code
2450 \begin_layout Plain Layout
2459 \begin_layout Labeling
2460 \labelwidthstring 00.00.0000
2461 \begin_inset Flex Code
2464 \begin_layout Plain Layout
2470 précise le nom du répertoire dans lequel le convertisseur placera les fichiers
2471 engendrés par la conversion.
2473 ne créera pas ce répertoire, et ne copiera rien dedans, bien qu'il le
2474 copie dans la cible.
2475 La valeur peut utiliser
2476 \begin_inset Flex Code
2479 \begin_layout Plain Layout
2485 , qui sera remplacé par le nom sans suffixe des fichiers d'entrée et de
2486 sortie, respectivement, lors de la copie du répertoire.
2487 \begin_inset Newline newline
2490 Noter que l'utilisation simultanée de
2491 \begin_inset Flex Noun
2494 \begin_layout Plain Layout
2501 \begin_inset Flex Noun
2504 \begin_layout Plain Layout
2511 Ce dernier sera ignoré si le premier est employé;
2514 \begin_layout Labeling
2515 \labelwidthstring 00.00.0000
2516 \begin_inset Flex Code
2519 \begin_layout Plain Layout
2525 détermine le nom du fichier résultat et peut contenir
2526 \begin_inset Flex Code
2529 \begin_layout Plain Layout
2537 \begin_inset Flex Noun
2540 \begin_layout Plain Layout
2546 et est optionnel même dans ce cas; la valeur
2547 \begin_inset Quotes cld
2551 \begin_inset Quotes crd
2554 est implicite s'il n'est pas activé.
2557 \begin_layout Standard
2558 Aucun de ces trois derniers mots-clés n'est utilisé dans les convertisseurs
2559 installés par \SpecialChar LyX
2563 \begin_layout Standard
2564 Il n'est pas nécessaire de définir des convertisseurs pour tous les formats
2565 entre lesquels vous désirez effectuer des conversions.
2566 Par exemple, vous remarquerez qu'il n'y a pas de convertisseur
2567 \begin_inset Quotes cld
2572 \begin_inset Quotes crd
2575 , mais \SpecialChar LyX
2576 exportera bien vers PostScript.
2577 Ceci se fait parce que \SpecialChar LyX
2578 crée d'abord un fichier \SpecialChar LaTeX
2579 (pas besoin de convertisseur
2580 pour cela) qui est ensuite converti vers DVI en utilisant le convertisseur
2582 \begin_inset Quotes cld
2587 \begin_inset Quotes crd
2590 , pour terminer par la conversion
2591 \begin_inset Quotes cld
2595 \begin_inset Quotes crd
2600 trouve ainsi les séquences de convertisseurs automatiquement, et trouvera
2601 toujours le séquence la plus courte.
2602 Vous pouvez cependant définir plusieurs méthodes de conversion entre formats
2604 Par exemple, la configuration \SpecialChar LyX
2605 standard propose cinq façons différentes
2606 de convertir \SpecialChar LaTeX
2610 \begin_layout Enumerate
2612 \begin_inset Flex Noun
2615 \begin_layout Plain Layout
2624 \begin_layout Enumerate
2625 via (DVI et) PostScript, en utilisant
2626 \begin_inset Flex Noun
2629 \begin_layout Plain Layout
2638 \begin_layout Enumerate
2639 via DVI, en utilisant
2640 \begin_inset Flex Noun
2643 \begin_layout Plain Layout
2652 \begin_layout Enumerate
2654 \begin_inset Flex Noun
2657 \begin_layout Plain Layout
2667 \begin_layout Enumerate
2669 \begin_inset Flex Noun
2672 \begin_layout Plain Layout
2682 \begin_layout Standard
2683 Pour définir de tels choix de séquences, vous devez définir plusieurs
2684 \begin_inset Quotes cld
2688 \begin_inset Quotes crd
2691 cible, comme décrit dans la
2692 \begin_inset CommandInset ref
2694 reference "sec:Formats"
2699 Par exemple, avec la configuration standard, les formats dénommés
2700 \begin_inset Flex Noun
2703 \begin_layout Plain Layout
2710 \begin_inset Flex Noun
2713 \begin_layout Plain Layout
2720 \begin_inset Flex Noun
2723 \begin_layout Plain Layout
2730 \begin_inset Flex Noun
2733 \begin_layout Plain Layout
2740 \begin_inset Flex Noun
2743 \begin_layout Plain Layout
2750 \begin_inset Flex Noun
2753 \begin_layout Plain Layout
2760 \begin_inset Flex Noun
2763 \begin_layout Plain Layout
2770 \begin_inset Flex Noun
2773 \begin_layout Plain Layout
2781 \begin_inset Flex Noun
2784 \begin_layout Plain Layout
2790 (pour Lua\SpecialChar TeX
2791 ) sont définis, qui correspondent tous au suffixe
2792 \begin_inset Flex Noun
2795 \begin_layout Plain Layout
2801 et auxquels sont associées les trois méthodes décrites ci-dessus.
2804 \begin_layout Chapter
2805 Internationaliser \SpecialChar LyX
2807 \begin_inset CommandInset label
2816 \begin_layout Standard
2817 Il est possible de traduire l'interface utilisateur de \SpecialChar LyX
2819 La dernière fois que nous avons vérifié, \SpecialChar LyX
2820 était disponible en 30 langues.
2821 La langue que vous avez choisie est appelée votre
2825 (pour plus de renseignements sur les réglages de localisation, voyez la
2826 documentation de votre système d'exploitation sur les locales.
2827 Pour Linux, la page de man de
2828 \begin_inset Flex Noun
2831 \begin_layout Plain Layout
2837 est un bon point de départ).
2840 \begin_layout Standard
2841 Notez que ces traductions fonctionnent, mais présentent quelques failles.
2842 En particulier, toutes les fenêtres ont été tracées en fonction du texte
2843 anglais, et quelques-unes des traductions sont trop grandes pour rentrer
2844 dans l'espace alloué.
2845 Ce n'est qu'un problème d'affichage sans conséquence.
2846 Vous verrez aussi que certaines traductions n'ont pas de raccourcis définis
2848 Parfois, c'est qu'il n'y a pas assez de lettres disponibles.
2849 Parfois c'est que le traducteur n'a tout simplement pas encore eu le temps
2851 Nos équipes de traduction, que vous pouvez souhaiter rejoindre
2855 \begin_layout Plain Layout
2856 Si vous parlez couramment une autre langue que l'anglais, rejoindre ces
2857 équipes est un des grands moyens de rendre service à la communauté des
2858 développeurs et utilisateurs de \SpecialChar LyX
2864 , essaieront de faire disparaître ces inconvénients dans les versions futures
2869 \begin_layout Section
2870 Traduire \SpecialChar LyX
2874 \begin_layout Subsection
2875 Traduire l'interface graphique (messages textuels)
2878 \begin_layout Standard
2880 utilise la bibliothèque GNU
2881 \begin_inset Flex Noun
2884 \begin_layout Plain Layout
2890 pour gérer l'internationalisation de l'interface.
2891 Pour que \SpecialChar LyX
2892 parle votre langue favorite dans tous les menus et fenêtres,
2893 vous avez besoin d'un fichier
2894 \begin_inset Flex Noun
2897 \begin_layout Plain Layout
2904 Quand celui-ci est disponible, vous devez générer à partir de là un fichier
2906 \begin_inset Flex Noun
2909 \begin_layout Plain Layout
2915 et installer ce dernier.
2916 Tout ce processus est expliqué dans la documentation de GNU
2917 \begin_inset Flex Noun
2920 \begin_layout Plain Layout
2927 Vous pouvez effectuer cette traduction pour votre propre besoin, mais si
2928 vous avez l'intention de la faire, vous pouvez aussi bien partager le résultat
2929 de votre travail avec la communauté \SpecialChar LyX
2931 Envoyez un message à la liste de messagerie des développeurs \SpecialChar LyX
2933 d'information sur la procédure.
2936 \begin_layout Standard
2937 En bref, voici un résumé de ce qu'il faut faire (
2943 est le code de la langue):
2946 \begin_layout Itemize
2947 télécharger le code source de \SpecialChar LyX
2949 \begin_inset CommandInset href
2951 name "page d'information sur le Web"
2952 target "http://www.lyx.org/HowToUseGIT"
2960 \begin_layout Itemize
2962 \begin_inset Flex Noun
2965 \begin_layout Plain Layout
2972 \begin_inset Flex Noun
2975 \begin_layout Plain Layout
2981 , le répertoire des fichiers
2982 \begin_inset Flex Noun
2985 \begin_layout Plain Layout
2996 \begin_inset Flex Noun
2999 \begin_layout Plain Layout
3014 \begin_inset Flex Noun
3017 \begin_layout Plain Layout
3023 n'existe pas, il peut être recréé avec la commande
3024 \begin_inset Flex Noun
3027 \begin_layout Plain Layout
3033 dans ce répertoire, ou bien vous pouvez utiliser le fichier
3034 \begin_inset Flex Noun
3037 \begin_layout Plain Layout
3043 d'une autre langue comme modèle).
3046 \begin_layout Itemize
3060 \begin_layout Plain Layout
3061 C'est un fichier texte: il peut donc être modifié par n'importe quel éditeur
3063 Mais il existe des programmes spécifiques pour gérer les modifications,
3065 \begin_inset Flex Noun
3068 \begin_layout Plain Layout
3074 (toutes plate-formes) ou
3075 \begin_inset Flex Noun
3078 \begin_layout Plain Layout
3085 Emacs est également doté d'un
3086 \begin_inset Quotes cld
3090 \begin_inset Quotes crd
3093 pour modifier les fichier
3094 \begin_inset Flex Noun
3097 \begin_layout Plain Layout
3103 , mais attention, les fichiers sont encodés en Unicode, voir
3104 \begin_inset Flex URL
3107 \begin_layout Plain Layout
3109 https://www.gnu.org/software/gettext/manual/html_node/PO-Mode.html
3123 Pour certains menus, il y a aussi des touches de raccourci qui doivent
3125 Ces touches viennent après un
3128 \begin_inset Quotes cld
3132 \begin_inset Quotes crd
3137 , et doivent être adaptées au texte traduit.
3138 Vous devez aussi remplir les champs au début du nouveau fichier
3139 \begin_inset Flex Noun
3142 \begin_layout Plain Layout
3148 avec votre adresse e-mail, etc., pour que les gens sachent comment vous
3149 joindre pour proposer des suggestions, ou pour démolir votre travail.
3152 \begin_layout Standard
3153 Si vous voulez juste traduire pour vous-même, alors:
3156 \begin_layout Itemize
3165 \begin_inset Newline newline
3169 \begin_inset Flex Noun
3172 \begin_layout Plain Layout
3173 msgfmt -o xx.mo < xx.po
3181 \begin_layout Itemize
3183 \begin_inset Flex Noun
3186 \begin_layout Plain Layout
3192 dans votre répertoire de locales, dans le répertoire correspondant aux
3193 messages pour la langue
3200 \begin_inset Flex Noun
3203 \begin_layout Plain Layout
3210 \begin_inset Newline newline
3214 \begin_inset Flex Noun
3217 \begin_layout Plain Layout
3218 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3226 \begin_layout Standard
3227 Pour ajouter un nouveau fichier
3236 (ce qui serait mieux pour que d'autres puisent en profiter), il faut
3237 effectuer quelques changements dans \SpecialChar LyX
3238 : envoyez donc une courrier à la liste
3239 de messagerie des développeurs pour ce faire.
3242 \begin_layout Subsubsection
3246 \begin_layout Standard
3247 Il arrive quelquefois qu'un message anglophone doive être traduit de différentes
3248 façons dans le langage cible.
3249 Un exemple est le message
3250 \begin_inset Flex Code
3253 \begin_layout Plain Layout
3261 qui se traduit en français par
3262 \begin_inset Flex Noun
3265 \begin_layout Plain Layout
3274 \begin_inset Flex Noun
3277 \begin_layout Plain Layout
3283 , suivant le genre et l'initiale du mot suivant.
3285 \begin_inset Flex Code
3288 \begin_layout Plain Layout
3296 ne sait pas gérer de telles traductions ambiguës, et vous devez donc ajouter
3297 une information contextuelle au message: au lieu de
3298 \begin_inset Flex Code
3301 \begin_layout Plain Layout
3310 \begin_inset Flex Code
3313 \begin_layout Plain Layout
3322 \begin_inset Flex Code
3325 \begin_layout Plain Layout
3333 De ce fait, les deux occurrences de
3334 \begin_inset Flex Code
3337 \begin_layout Plain Layout
3345 sont différentes pour
3346 \begin_inset Flex Code
3349 \begin_layout Plain Layout
3357 et peuvent être traduites correctement pour
3358 \begin_inset Flex Noun
3361 \begin_layout Plain Layout
3366 \begin_inset space ~
3375 \begin_inset Flex Noun
3378 \begin_layout Plain Layout
3383 \begin_inset space ~
3394 \begin_layout Standard
3395 Bien entendu l'information contextuelle doit être supprimée de l'affichage
3396 lorsqu'aucune traduction n'est utilisée, c'est pourquoi il faut la mettre
3397 entre double crochets à la fin du message comme ci-dessus.
3398 Le mécanisme de traduction de \SpecialChar LyX
3399 assure que tout ce qui est entre double
3400 crochets à la fin des messages est supprimé à l'affichage du message.
3403 \begin_layout Subsection
3404 Traduire la documentation
3407 \begin_layout Standard
3408 La documentation en ligne (dans le menu
3412 ) peut (et doit !) être traduite.
3413 S'il existe une traduction de la documentation
3417 \begin_layout Plain Layout
3418 En mars 2008, au moins quelques documents avaient été traduit en14 langues,
3419 le manuel d'apprentissage étant disponible en quelques autres.
3424 , et si la locale est correctement réglée, \SpecialChar LyX
3425 affichera tout seul la version
3428 cherche les versions traduites sous le nom
3429 \begin_inset Flex Noun
3432 \begin_layout Plain Layout
3449 est le code pour la langue en cours d'utilisation.
3450 S'il n'y a pas de traduction disponible, c'est la version anglaise qui
3452 Notez que les versions traduites doivent avoir le même nom de fichier (ici
3454 \begin_inset Flex Noun
3457 \begin_layout Plain Layout
3464 Si vous vous sentez de traduire la documentation (ce qui est d'ailleurs
3465 un excellent moyen de corriger la documentation d'origine!), il y a un
3466 certain nombre de choses que vous devez faire tout de suite:
3469 \begin_layout Itemize
3470 faire un tour sur la page web de la
3471 \begin_inset CommandInset href
3473 name "traduction des documentations"
3474 target "http://www.lyx.org/WebFr.Translation"
3479 sur le site de \SpecialChar LyX
3481 De cette façon, vous pourrez voir quels documents ont déjà été traduits
3482 dans votre langue, s'il y en a.
3483 Vous y trouverez aussi qui s'occupe d'organiser l'effort de traduction
3485 Si personne ne s'en occupe, faites-nous connaître votre intérêt.
3488 \begin_layout Standard
3489 Une fois que vous vous y mettez pour de bon, voilà quelques conseils qui
3490 pourront vous éviter des ennuis:
3493 \begin_layout Itemize
3494 joignez-vous à l'équipe de documentation!
3500 Aide\SpecialChar menuseparator
3503 ) explique comment faire.
3504 C'est d'ailleurs le premier document à traduire;
3507 \begin_layout Itemize
3508 étudiez les conventions typographiques de la langue dans laquelle vous traduisez.
3509 La typographie est un art ancien et au cours des siècles, une grande variété
3510 de conventions ont vu le jour dans les différentes parties du globe.
3511 Apprenez aussi le vocabulaire spécifique des professionnels de la typographie
3513 Si vous inventez votre propre terminologie, vous allez induire les lecteurs
3517 Attention ! La typographie peut devenir une passion !
3522 \begin_layout Itemize
3523 faites une copie du document (dans les cas simples, sinon voyez la note
3525 \begin_inset space ~
3529 \begin_inset CommandInset ref
3531 reference "fn:NdT-:-Je"
3536 Ce sera votre fichier de travail.
3537 Vous pouvez l'utiliser comme fichier d'aide personnel en le mettant dans
3541 \begin_inset Flex Code
3544 \begin_layout Plain Layout
3555 \begin_inset Newline newline
3561 \begin_inset Note Greyedout
3564 \begin_layout Plain Layout
3569 pour un document complexe doté d'éléments externes (images, etc.), si vous
3570 voulez faire une copie dans un répertoire temporaire par exemple, faites
3571 attention aux liens vers les éléments externes qui peuvent être brisés
3572 quand le document est déplacé d'un endroit à un autre.
3573 La meilleure méthode est de télécharger l'arborescence \SpecialChar LyX
3576 \begin_inset Flex URL
3579 \begin_layout Plain Layout
3581 http://www.lyx.org/WebFr.HowToUseGIT
3586 ) et de modifier le ficher de documentation en place.
3594 \begin_layout Itemize
3595 de temps à autre le document original (de l'équipe \SpecialChar LyX
3598 \begin_inset CommandInset href
3600 name "l'interface d'affichage des source"
3601 target "http://www.lyx.org/trac/browser"
3606 pour voir ce qui a changé.
3607 De cette façon vous pouvez voir facilement les parties de votre document
3608 qui ont besoin d'être mises à jour
3612 \begin_layout Plain Layout
3613 NdT : Je conseille très vivement de partir des fichiers disponibles sur
3614 Trac, et de ne pas perdre de temps à traduire la version contenue dans
3615 votre distribution pour s'apercevoir trop tard que tout est périmé.
3616 J’ajoute que la meilleure solution est de récupérer l'image courante des
3617 sources de \SpecialChar LyX
3620 \begin_inset CommandInset href
3623 target "http://www.lyx.org/WebFr.HowToUseGIT"
3628 ) et de modifier directement le fichier concerné dans l'arborescence importée:
3629 de cette façon, les liens vers les images ne seront pas modifiés lors de
3630 la sauvegarde du fichier, et la version modifiée pourra être soumise sans
3631 modifications aux développeurs.
3632 \begin_inset CommandInset label
3646 \begin_layout Standard
3647 Si vous avez trouvé une erreur dans le document original, corrigez-la et
3648 dites-le au reste de l'équipe de documentation (que vous n'avez pas manqué
3649 de rejoindre, n'est-ce pas ?)
3652 \begin_layout Standard
3653 \begin_inset Branch Obsolete
3657 \begin_layout Section
3658 Support de Clavier International
3661 \begin_layout Standard
3664 [Note de l'Éditeur : La section qui suit a été écrite par
3669 Il faut la corriger pour qu'elle soit conforme à la nouvelle feuille de
3670 style de la Documentation et pour utiliser les nouvelles fonctions de la
3672 Le tout doit aussi être fusionné avec la section d'après.
3676 \begin_layout Subsection
3677 Définir ses propres réaffectations clavier : Format de fichier
3682 \begin_layout Standard
3683 Regardons d'un peu plus près un fichier de définition de clavier.
3684 C'est un fichier ASCII qui définit :
3687 \begin_layout Itemize
3688 des correspondances touche à touche ou touche à chaîne
3691 \begin_layout Itemize
3695 \begin_layout Itemize
3696 des exceptions des touches mortes
3699 \begin_layout Standard
3700 Pour définir une traduction touche à touche ou touche à chaîne, utilisez
3704 \begin_layout Quotation
3716 \begin_layout Standard
3721 est la touche à traduire et
3725 est la chaîne à insérer dans le document.
3726 Pour définir des touches mortes, faites :
3729 \begin_layout Quotation
3734 kmod touche touche_morte
3737 \begin_layout Standard
3742 est la touche du clavier et
3746 est le nom de la touche morte.
3747 Les touches mortes suivantes sont supportées (nom du raccourci entre parenthèse
3751 \begin_layout Quotation
3755 \begin_inset space \hfill{}
3761 \begin_layout Quotation
3763 \begin_inset space \hfill{}
3769 \begin_layout Quotation
3771 \begin_inset space \hfill{}
3777 \begin_layout Quotation
3779 \begin_inset space \hfill{}
3785 \begin_layout Quotation
3787 \begin_inset space \hfill{}
3793 \begin_layout Quotation
3795 \begin_inset space \hfill{}
3802 \begin_layout Plain Layout
3814 \begin_layout Quotation
3816 \begin_inset space \hfill{}
3822 \begin_layout Quotation
3824 \begin_inset space \hfill{}
3831 \begin_layout Plain Layout
3843 \begin_layout Quotation
3845 \begin_inset space \hfill{}
3851 \begin_layout Quotation
3853 \begin_inset space \hfill{}
3859 \begin_layout Quotation
3861 \begin_inset space \hfill{}
3868 \begin_layout Plain Layout
3880 \begin_layout Quotation
3882 \begin_inset space \hfill{}
3889 \begin_layout Plain Layout
3901 \begin_layout Quotation
3903 \begin_inset space \hfill{}
3909 \begin_layout Quotation
3910 hungarian umlaut (hug)
3911 \begin_inset space \hfill{}
3917 \begin_layout Quotation
3919 \begin_inset space \hfill{}
3925 \begin_layout Quotation
3927 \begin_inset space \hfill{}
3934 \begin_layout Plain Layout
3946 \begin_layout Standard
3947 Dans beaucoup de claviers internationaux il y a des exceptions dans les
3948 règles d'emploi des touches mortes, vous pouvez les définir ainsi :
3951 \begin_layout Quotation
3956 kxmod touche_morte touche chaîne_sortie
3959 \begin_layout Standard
3960 Par exemple, sur un clavier slovaque, si vous tapez caron-o, ça génère circonfle
3961 xe-o, il faut donc mettre :
3964 \begin_layout Quotation
3978 \begin_layout Standard
3979 pour le faire marcher correctement.
3980 Vous devez aussi définir comme des exceptions les touches mortes avec i
3981 et j, pour enlever le point avant d'insérer une marque d'accentuation.
3982 Je changerai ceci le moment venu, mais je n'en ai pas encore eu le temps.
3985 \begin_layout Standard
3986 Au fait, à propos des caractères : l'antislash est un caractère d'échappement,
3987 pour l'entrer, il faut taper un double antislash.
3992 ont aussi un sens différent.
3997 indique les commentaires, les guillemets entourent les commandes style
4000 Pour entrer un guillemet, il faut taper
4019 \begin_layout Standard
4020 Si vous faites un fichier de réaffectation clavier qui marche pour votre
4021 langue, merci de me l'envoyer, pour que je puisse l'inclure dans la prochaine
4022 distribution de réaffectations clavier.
4025 \begin_layout Standard
4026 Il y aura plus de mots-clés supportés à l'avenir dans les fichiers de réaffectat
4027 ion clavier, comme :
4030 \begin_layout Itemize
4035 kinclude nom_fichier
4038 \begin_inset space \hfill{}
4041 inclut un autre fichier (
4048 \begin_layout Itemize
4056 \begin_inset space \hfill{}
4059 définit un programme externe de traduction (
4066 \begin_layout Standard
4067 Il devrait aussi chercher dans
4071 les valeurs par défaut (par exemple, une option
4077 pour inclure le clavier par défaut).
4085 \begin_layout Section
4086 Les Claviers Internationaux
4087 \begin_inset CommandInset label
4096 \begin_layout Standard
4097 \begin_inset Note Note
4100 \begin_layout Plain Layout
4101 En révisant ce document en mars 2008, le relecteur anglophone n'a pas vérifié
4102 cette section par manque de compréhension de son contenu.
4103 Ce serait bien que quelqu'un s'en charge.
4104 Le traducteur francophone (SMGC) l'avait traduit tel quel, le relecteur
4105 francophone (JPC) l'a relu tel quel.
4113 \begin_layout Standard
4114 Les deux sections suivantes décrivent en détail la syntaxe des fichiers
4116 \begin_inset Flex Code
4119 \begin_layout Plain Layout
4126 \begin_inset Flex Code
4129 \begin_layout Plain Layout
4136 Ces sections devraient vous aider à concevoir votre propre réaffectation
4137 clavier si celles fournies ne vous donnent pas satisfaction.
4140 \begin_layout Subsection
4146 \begin_layout Standard
4148 \begin_inset Flex Noun
4151 \begin_layout Plain Layout
4157 fait correspondre des appuis clavier à des caractères ou à des chaînes
4159 Il définit une réaffectation clavier
4163 \begin_layout Plain Layout
4164 NdT : Keyboard MAPping.
4170 Cette section décrit les mots clés
4171 \begin_inset Flex Code
4174 \begin_layout Plain Layout
4181 \begin_inset Flex Code
4184 \begin_layout Plain Layout
4191 \begin_inset Flex Code
4194 \begin_layout Plain Layout
4201 \begin_inset Flex Code
4204 \begin_layout Plain Layout
4211 \begin_inset Flex Code
4214 \begin_layout Plain Layout
4223 \begin_layout Labeling
4224 \labelwidthstring 00.00.0000
4225 \begin_inset Flex Code
4228 \begin_layout Plain Layout
4234 fait correspondre un caractère à une chaîne
4237 \begin_layout LyX-Code
4246 \begin_layout Standard
4247 Ceci fait correspondre
4260 , le guillemet double (
4270 ) doivent être protégés par un antislash (
4279 \begin_layout Standard
4280 Voici un exemple de commande
4281 \begin_inset Flex Noun
4284 \begin_layout Plain Layout
4290 qui fait s'afficher le symbole
4291 \begin_inset Flex Noun
4294 \begin_layout Plain Layout
4300 quand on tape la touche
4301 \begin_inset Flex Noun
4304 \begin_layout Plain Layout
4313 \begin_layout LyX-Code
4321 \begin_layout Labeling
4322 \labelwidthstring 00.00.0000
4323 \begin_inset Flex Code
4326 \begin_layout Plain Layout
4332 définit un caractère accentué
4335 \begin_layout LyX-Code
4341 caractère accent autorisés
4344 \begin_layout Standard
4358 C'est le principe de la touche morte
4362 \begin_layout Plain Layout
4367 désigne une touche qui seule ne produit pas de caractère, mais qui produit
4368 le caractère accentué voulu quand elle est suivie par une autre touche
4370 Par exemple, pour écrire un
4373 \begin_inset Quotes cld
4377 \begin_inset Quotes crd
4382 sur un clavier français, il faut d'abord taper sur
4385 \begin_inset Quotes cld
4389 \begin_inset Quotes crd
4397 \begin_inset Quotes cld
4401 \begin_inset Quotes crd
4414 \begin_layout Standard
4419 puis une autre touche qui ne fait pas partie des caractères
4423 , vous obtiendrez un
4427 suivi par l'autre touche non autorisée.
4429 \begin_inset Flex Noun
4432 \begin_layout Plain Layout
4438 efface une touche morte, si vous tapez
4443 \begin_inset Flex Noun
4446 \begin_layout Plain Layout
4452 , le curseur ne recule pas mais annule l'effet que
4456 aurait pu avoir sur la touche suivante.
4459 \begin_layout Standard
4460 Dans l'exemple suivant, il est spécifié que le caractère ' doit être un
4461 accent aigu, autorisé sur les caractères a, e, i, o, u, A, E, I, O et U
4465 \begin_layout LyX-Code
4468 kmod ' acute aeiouAEIOU
4471 \begin_layout Labeling
4472 \labelwidthstring 00.00.0000
4473 \begin_inset Flex Code
4476 \begin_layout Plain Layout
4482 définit une exception au caractère accentué
4485 \begin_layout LyX-Code
4491 accent caractère résultat
4494 \begin_layout Standard
4495 Ceci définit une exception pour l'
4508 doit avoir été assigné auparavant par une déclaration
4509 \begin_inset Flex Code
4512 \begin_layout Plain Layout
4524 ne doit pas faire partie des caractères
4533 Quand vous tapez la séquence
4546 Si une telle déclaration n'existe pas dans le fichier
4547 \begin_inset Flex Code
4550 \begin_layout Plain Layout
4562 touche_accent caractère
4568 est le premier paramètre de la déclaration
4569 \begin_inset Flex Code
4572 \begin_layout Plain Layout
4583 \begin_layout Standard
4584 Avec la commande suivante, vous obtenez äi quand vous tapez acute-i ('i)
4588 \begin_layout LyX-Code
4602 \begin_layout Labeling
4603 \labelwidthstring 00.00.0000
4604 \begin_inset Flex Code
4607 \begin_layout Plain Layout
4613 Combine deux caractères accentués
4616 \begin_layout LyX-Code
4622 accent1 accent2 autorisés
4625 \begin_layout Standard
4626 Celui-ci est assez ésotérique.
4627 Il vous permet de combiner les effets de l'
4635 (dans cet ordre !) sur les caractères
4648 doivent avoir été définies par une commande
4661 \begin_layout Standard
4662 Voyez cet exemple extrait du fichier
4669 \begin_layout LyX-Code
4672 kmod ; acute aeioyvhAEIOYVH
4675 \begin_layout LyX-Code
4681 \begin_layout LyX-Code
4684 kcomb acute umlaut iyIY
4687 \begin_layout Standard
4688 Ça vous permet de taper
4692 et d'avoir l'effet de
4702 \begin_inset Flex Noun
4705 \begin_layout Plain Layout
4711 annule la dernière touche morte, donc si vous tapez
4712 \begin_inset Flex Code
4715 \begin_layout Plain Layout
4730 \begin_layout Subsection
4736 \begin_layout Standard
4737 Après que la réaffectation
4738 \begin_inset Flex Noun
4741 \begin_layout Plain Layout
4747 a été effectuée, un fichier
4748 \begin_inset Flex Code
4751 \begin_layout Plain Layout
4757 convertit les chaînes de symboles obtenues dans la police de caractères.
4758 Actuellement, la distribution de \SpecialChar LyX
4759 comprend au moins les fichiers
4760 \begin_inset Flex Code
4763 \begin_layout Plain Layout
4770 \begin_inset Flex Code
4773 \begin_layout Plain Layout
4782 \begin_layout Standard
4783 En général le fichier
4784 \begin_inset Flex Code
4787 \begin_layout Plain Layout
4793 est une suite de déclarations de la forme :
4796 \begin_layout LyX-Code
4800 numéro_du_caractère chaîne
4803 \begin_layout Standard
4804 Par exemple, pour affecter
4810 au caractère correspondant dans le jeu iso-8859-1 (233), il y a la déclaration
4814 \begin_layout LyX-Code
4822 \begin_layout Standard
4824 \begin_inset Flex Code
4827 \begin_layout Plain Layout
4836 \begin_inset Flex Code
4839 \begin_layout Plain Layout
4850 Notez que le même caractère peut servir pour plus d'une chaîne.
4852 \begin_inset Flex Code
4855 \begin_layout Plain Layout
4864 \begin_layout LyX-Code
4876 \begin_inset Newline newline
4892 \begin_layout Standard
4894 ne trouve pas de correspondance pour la chaîne produite par une touche
4895 ou une séquence avec des touches mortes, il va vérifier si elle ressemble
4896 à un caractère accentué et va essayer à l'écran de tracer un accent par
4897 dessus le caractère.
4900 \begin_layout Subsection
4904 \begin_layout Standard
4905 Il y a une autre façon d'ajouter le support pour des caractères internationaux
4906 par l'intermédiaire des touches mortes.
4907 Une touche morte marche en combinaison avec une lettre pour produire un
4909 Ici, nous allons expliquer comment créer une touche morte vraiment simple
4910 pour montrer comment elles marchent.
4913 \begin_layout Standard
4914 Supposez que vous ayez besoin du caractère circonflexe,
4918 \begin_layout Plain Layout
4919 NdT : déjà présent en français, mais nous allons conserver cet exemple.
4927 \begin_inset Quotes cld
4931 \begin_inset Quotes crd
4937 Vous devez faire correspondre la touche circonflexe à la commande \SpecialChar LyX
4939 \begin_inset Flex Code
4942 \begin_layout Plain Layout
4949 \begin_inset Flex Code
4952 \begin_layout Plain Layout
4959 Maintenant, à chaque fois que vous taperez la touche circonflexe suivie
4960 par une lettre, il y aura un accent circonflexe dessus.
4961 Par exemple, la séquence
4964 \begin_inset Quotes cld
4970 \begin_inset Flex Code
4973 \begin_layout Plain Layout
4982 \begin_inset Quotes crd
4990 \begin_inset Quotes cld
4996 \begin_inset Flex Code
4999 \begin_layout Plain Layout
5008 \begin_inset Quotes crd
5014 Cependant, si vous essayez de taper
5017 \begin_inset Quotes cld
5023 \begin_inset Flex Code
5026 \begin_layout Plain Layout
5035 \begin_inset Quotes crd
5041 va se plaindre avec un bip, car un
5044 \begin_inset Quotes cld
5050 \begin_inset Flex Code
5053 \begin_layout Plain Layout
5062 \begin_inset Quotes crd
5067 ne prend jamais d'accent circonflexe.
5069 \begin_inset Flex Noun
5072 \begin_layout Plain Layout
5078 après une touche morte fait s'afficher l'accent seul.
5079 Notez bien ce dernier point ! Si vous faites correspondre une touche à
5080 une touche morte, vous devez faire correspondre le caractère sur cette
5081 touche à une touche différente.
5082 Faire correspondre la virgule à une cédille est une mauvaise idée, car
5083 vous n'aurez plus que des cédilles à la place des virgules.
5086 \begin_layout Standard
5087 Une façon courante de créer des touches mortes est d'utiliser
5088 \begin_inset Flex Noun
5091 \begin_layout Plain Layout
5098 \begin_inset Flex Noun
5101 \begin_layout Plain Layout
5108 \begin_inset Flex Noun
5111 \begin_layout Plain Layout
5117 en combinaison avec un accent, comme
5120 \begin_inset Quotes cld
5124 \begin_inset Quotes crd
5132 \begin_inset Quotes cld
5136 \begin_inset Quotes crd
5142 Une autre méthode met en jeu
5143 \begin_inset Flex Code
5146 \begin_layout Plain Layout
5153 \begin_inset Flex Code
5156 \begin_layout Plain Layout
5165 \begin_inset space ~
5169 \begin_inset space ~
5174 ) pour configurer la touche spéciale
5175 \begin_inset Flex Code
5178 \begin_layout Plain Layout
5185 Elle agit un peu comme
5186 \begin_inset Flex Noun
5189 \begin_layout Plain Layout
5195 et permet de faire correspondre des touches à des caractères accentués.
5196 Vous pouvez aussi transformer des touches en touches mortes en les affectant
5197 à quelque chose comme
5198 \begin_inset Flex Code
5201 \begin_layout Plain Layout
5207 puis en affectant cette touche symbolique à la commande \SpecialChar LyX
5212 \begin_layout Plain Layout
5217 : C'est exactement ce que je fais dans mes fichiers
5229 \begin_inset space ~
5237 \begin_inset space ~
5242 ) est configurée comme
5246 et j'ai affecté des choses comme
5249 \begin_inset space ~
5257 \begin_inset space ~
5262 à un tas de touches symboliques
5265 \begin_inset Quotes cld
5269 \begin_inset Quotes crd
5275 C'est comme ça que j'obtiens tous mes caractères accentués.
5280 Vous pouvez transformer à peu près n'importe quelle touche en touche
5281 \begin_inset Flex Code
5284 \begin_layout Plain Layout
5291 \begin_inset Flex Code
5294 \begin_layout Plain Layout
5300 , une touche de fonction inutilisée, etc.
5301 Quant aux commandes \SpecialChar LyX
5302 qui produisent des accents, voyez à l'entrée
5303 \begin_inset Flex Code
5306 \begin_layout Plain Layout
5315 \begin_inset space ~
5319 \begin_inset space ~
5325 Là-bas il y a la liste complète.
5328 \begin_layout Subsection
5329 Enregistrer votre configuration linguistique
5332 \begin_layout Standard
5333 Vous pouvez éditer vos préférences dans la fenêtre
5335 Outils\SpecialChar menuseparator
5338 pour que \SpecialChar LyX
5339 démarre avec l'environnement linguistique que vous souhaitez,
5340 automatiquement configuré.
5343 \begin_layout LyX-Code
5347 \begin_layout Chapter
5348 Installer de nouvelles classes de document, formats et modèles
5349 \begin_inset CommandInset label
5351 name "chap:classe-texte"
5356 \begin_inset Argument 1
5359 \begin_layout Plain Layout
5360 Installer de nouvelles classes
5368 \begin_layout Standard
5369 Dans ce chapitre, nous décrivons comment créer et installer de nouveaux
5370 fichiers de format \SpecialChar LyX
5371 ou de modèle, et nous vous offrons une révision des
5372 procédures correctes d'installation de nouvelles classes de document \SpecialChar LaTeX
5376 \begin_layout Standard
5377 D'abord, quelques mots pour décrire une bonne approche de la relation entre
5379 et \SpecialChar LaTeX
5381 Ce qu'il faut bien comprendre, c'est qu'en certain sens, \SpecialChar LyX
5383 de \SpecialChar LaTeX
5385 De fait, du point de vue de \SpecialChar LyX
5386 , \SpecialChar LaTeX
5388 \begin_inset Quotes cld
5392 \begin_inset Quotes crd
5395 particulier parmi d'autres formats susceptibles de produire un résultat.
5396 D'autres formats sont DocBook, texte brut, et XHTML.
5398 est bien entendu un format particulièrement important, mais une très petite
5399 quantité d'information concernant \SpecialChar LaTeX
5400 est réellement contenue dans \SpecialChar LyX
5405 \begin_layout Plain Layout
5406 Certaines commandes sont suffisamment compliquées pour être codées
5407 \begin_inset Quotes cld
5411 \begin_inset Quotes crd
5414 dans les sources \SpecialChar LyX
5415 , mais les développeurs considèrent que c'est une mauvaise
5421 Cette information, même pour des classes standard comme
5422 \begin_inset Flex Code
5425 \begin_layout Plain Layout
5431 , est contenue dans les
5432 \begin_inset Quotes cld
5436 \begin_inset Quotes crd
5440 De même, \SpecialChar LyX
5441 ne connaît pas grand chose de DocBook ou XHTML, tout est décrit
5442 dans les fichiers de format.
5445 \begin_layout Standard
5446 Vous pouvez imaginer un fichier de format pour une classe de document donnée
5447 comme un traducteur entre les constructions \SpecialChar LyX
5448 — paragraphes et leur style
5449 associé, certains types d'inserts, etc.
5450 — et les constructions \SpecialChar LaTeX
5451 , DocBook ou XHTML correspondantes.
5452 Pratiquement tout ce que \SpecialChar LyX
5454 \begin_inset Flex Code
5457 \begin_layout Plain Layout
5463 , par exemple, est contenu dans le ficher
5464 \begin_inset Flex Code
5467 \begin_layout Plain Layout
5473 et dans les fichiers inclus par celui-ci.
5474 Pour cette raison, un étude approfondie de ces fichiers est une bonne idée
5475 si vous avez l'intention d'écrire un fichier de format.
5476 Un bon point de départ est le fichier
5477 \begin_inset Flex Code
5480 \begin_layout Plain Layout
5487 \begin_inset Flex Code
5490 \begin_layout Plain Layout
5497 \begin_inset Flex Code
5500 \begin_layout Plain Layout
5506 et de nombreux autres fichiers de format pour de classes de document \SpecialChar LaTeX
5508 C'est dans ce fichier que sont définies les sections et les constructions
5510 \begin_inset Flex Code
5513 \begin_layout Plain Layout
5519 décrit pour \SpecialChar LyX
5520 comment les paragraphes marqués en style Section, SousSection,
5522 peuvent être traduits en commandes ou balises \SpecialChar LaTeX
5524 Le fichier article.layout ne contient essentiellement que des inclusions
5526 \begin_inset Flex Code
5529 \begin_layout Plain Layout
5538 \begin_layout Standard
5539 Définir la correspondance \SpecialChar LyX
5541 n'est cependant pas la seule fonction des fichiers
5543 Leur autre but est de préciser comment les constructions \SpecialChar LyX
5546 Le fait que ces fichiers assurent ces deux fonctions est souvent source
5547 de confusion, parce qu'elles sont tout à fait séparées: expliquer à \SpecialChar LyX
5549 traduire un style de paragraphe en \SpecialChar LaTeX
5550 ne lui dit pas comment l'afficher;
5551 inversement, expliquer à \SpecialChar LyX
5552 comment afficher un paragraphe ne lui dit pas
5553 comment le traduire en \SpecialChar LaTeX
5554 (sans parler de lui dire comment \SpecialChar LaTeX
5556 Par conséquent, en général, quand vous devez définir une nouvelle construction
5558 , vous devez toujours effectuer deux tâches distinctes: (a) écrire comment
5559 la traduire en \SpecialChar LaTeX
5560 et (b) écrire comment l'afficher.
5563 \begin_layout Standard
5564 La même distinction est vraie pour les autre formats de sortie, bien que
5565 XHTML soit différent sous divers aspects, du fait que dans ce cas \SpecialChar LyX
5567 capable d'utiliser au moins partiellement l'information concernant l'affichage
5568 à l'écran pour créer l'information (sous forme de CSS) nécessaire à l'affichage
5570 Même dans ce cas, cependant, la distinction entre les mécanismes internes
5572 et la façon dont les objets sont restitués à l'extérieur reste valide,
5573 et le contrôle séparé des deux facettes reste possible.
5575 \begin_inset CommandInset ref
5577 reference "sec:Tags-for-XHTML"
5584 \begin_layout Section
5585 Installer de nouveaux fichiers \SpecialChar LaTeX
5589 \begin_layout Standard
5590 Certaines installations peuvent ne pas contenir le paquetage \SpecialChar LaTeX
5592 justement utiliser avec \SpecialChar LyX
5594 Par exemple, vous pouvez avoir besoin de Foil\SpecialChar TeX
5595 , un paquetage pour préparer
5596 des transparents pour rétroprojecteurs.
5597 Les distributions \SpecialChar LaTeX
5598 récentes comme \SpecialChar TeX
5599 Live (depuis 2008) ou MiK\SpecialChar TeX
5601 interface utilisateur pour installer de tels paquetages.
5602 Par exemple avec MiK\SpecialChar TeX
5603 , vous démarrez le programme
5604 \begin_inset Quotes cld
5608 \begin_inset space ~
5612 \begin_inset Quotes crd
5615 pour afficher une liste des paquetages disponibles.
5616 Pour installer l'un d'entre eux, il suffit d'effectuer un clic droit sur
5617 son nom ou sur le bouton correspondant de la barre d'outil.
5620 \begin_layout Standard
5621 Si votre distribution \SpecialChar LaTeX
5622 n'inclut pas un tel gestionnaire de paquetage, ou
5623 si le paquetage n'est pas disponible pour votre distribution, alors faites
5624 comme suit pour l'installer manuellement:
5627 \begin_layout Enumerate
5628 Récupérer le paquetage depuis
5629 \begin_inset CommandInset href
5632 target "http://www.ctan.org/"
5640 \begin_layout Enumerate
5641 Si le paquetage contient un fichier doté d'un suffixe
5642 \begin_inset Quotes cld
5646 \begin_inset Flex Code
5649 \begin_layout Plain Layout
5658 \begin_inset Quotes crd
5661 (c'est le cas pour Foil\SpecialChar TeX
5663 \begin_inset Quotes cld
5667 \begin_inset Quotes crd
5670 alors ouvrir une console, aller dans le répertoire de ce fichier et exécuter
5672 \begin_inset Flex Code
5675 \begin_layout Plain Layout
5685 \begin_inset Quotes cld
5689 \begin_inset Quotes crd
5692 le paquetage et vous disposez des fichiers nécessaires à l'installation.
5693 De nombreux paquetages ne sont pas reliés et vous pouvez sauter cette étape;
5696 \begin_layout Enumerate
5697 Vous devez alors décider si ce paquetage doit être disponible pour tous
5698 les utilisateurs ou seulement pour vous-même.
5702 \begin_layout Enumerate
5703 Avec les systèmes *nix (Linux, OSX, etc.), si vous souhaitez que le paquetage
5704 soit disponible pour tous les utilisateurs, installez-le dans l'arborescence
5707 \begin_inset Quotes cld
5711 \begin_inset Quotes crd
5714 , sinon installez-le dans votre arborescence \SpecialChar TeX
5716 \begin_inset Quotes cld
5720 \begin_inset Quotes crd
5724 La nécessité de créer ces arborescences, si elles n'existent pas déjà,
5725 dépend de votre système.
5726 Pour le savoir, examinez le fichier
5727 \begin_inset Flex Code
5730 \begin_layout Plain Layout
5742 \begin_layout Plain Layout
5743 Ce fichier est habituellement dans le répertoire
5747 , bien que vous puissiez exécuter la commande
5748 \begin_inset Flex Code
5751 \begin_layout Plain Layout
5764 L'emplacement de l'arborescence
5765 \begin_inset Quotes cld
5769 \begin_inset Quotes crd
5772 est définie par la variable
5773 \begin_inset Flex Code
5776 \begin_layout Plain Layout
5784 ; elle a usuellement pour valeur
5786 /usr/local/share/texmf/
5788 (installation système),
5790 /usr/local/share/texmf/
5792 (installation utilisateur) ou
5794 /usr/local/texlive/texmf-local
5796 (installation TexLive).
5797 L'emplacement de l'arborescence
5798 \begin_inset Quotes cld
5802 \begin_inset Quotes crd
5806 \begin_inset Flex Code
5809 \begin_layout Plain Layout
5825 où XXXX est l'année de la distribution \SpecialChar TeX
5826 Live (si ces variables ne sont pas
5827 prédéfinies, vous devrez le faire vous-même).
5828 Vous aurez besoin d'avoir les droits d'administration système pour créer
5829 ou modifier l'arborescence
5830 \begin_inset Quotes cld
5834 \begin_inset Quotes crd
5837 , mais votre arborescence
5838 \begin_inset Quotes cld
5842 \begin_inset Quotes crd
5845 ne devrait pas nécessiter de tels droits.
5846 \begin_inset Newline newline
5849 D'une manière générale, il est recommandable d'installer dans le répertoire
5850 utilisateur parce que cette arborescence ne sera pas modifiée lors d'une
5851 mise à jour de votre système.
5852 Elle sera également sauvegardée avec tout le reste lors de le sauvegarde
5853 de votre répertoire utilisateur
5854 \begin_inset Quotes cld
5858 \begin_inset Quotes crd
5861 (que vous effectuez régulièrement, bien entendu).
5864 \begin_layout Enumerate
5865 Avec Windows, si vous souhaitez que le nouveau paquetage soit disponible
5866 pour tous les utilisateurs de votre système, allez dans le répertoire où
5868 est installé, puis dans le sous-répertoire
5876 (pour MiK\SpecialChar TeX
5877 , celui-ci sera implicitement
5894 \begin_layout Plain Layout
5895 Notez que ce chemin sera celui des installations anglophones.
5896 Pour une installation germanophone, ce serait
5897 \begin_inset Flex Code
5900 \begin_layout Plain Layout
5917 , de même pour d'autres langages.
5922 Créer dans ce répertoire un nouveau répertoire dénommé
5923 \begin_inset Flex Code
5926 \begin_layout Plain Layout
5934 et copiez tous les fichiers du paquetage dedans.
5935 Si le paquetage ne doit être accessible que par vous ou si vous n'avez
5936 pas les droits d'administration, faites de même, mais dans le répertoire
5939 avec MiK\SpecialChar TeX
5940 2.8 sur WinXP le répertoire
5941 \begin_inset Newline newline
5947 \begin_inset Flex Code
5950 \begin_layout Plain Layout
5955 Documents and Settings
5967 \begin_inset Newline newline
5971 \begin_inset Phantom HPhantom
5974 \begin_layout Plain Layout
5986 \begin_inset Flex Code
5989 \begin_layout Plain Layout
6010 \begin_inset Newline newline
6013 Avec Vista ce sera le répertoire
6014 \begin_inset Newline newline
6020 \begin_inset Flex Code
6023 \begin_layout Plain Layout
6052 \begin_layout Enumerate
6053 Vous devez alors informer \SpecialChar LaTeX
6054 de la présence de nouveaux fichiers.
6055 Ceci dépend de nouveau de la distribution \SpecialChar LaTeX
6060 \begin_layout Enumerate
6061 Avec \SpecialChar TeX
6062 Live, exécuter la commande
6063 \begin_inset Flex Code
6066 \begin_layout Plain Layout
6075 Si vous avez installé le paquetage pour tous les utilisateurs, vous aurez
6076 besoin des droits d'administration pour ce faire;
6079 \begin_layout Enumerate
6080 Avec MiK\SpecialChar TeX
6081 , si vous avez installé le paquetage pour tous les utilisateurs,
6082 démarrez le programme
6085 \begin_inset Quotes cld
6089 \begin_inset space ~
6095 \begin_inset Quotes crd
6098 et appuyez sur le bouton
6099 \begin_inset Quotes cld
6107 \begin_inset Quotes crd
6111 Sinon démarrez le programme
6112 \begin_inset Quotes cld
6120 \begin_inset Quotes crd
6127 \begin_layout Enumerate
6128 Enfin, vous devez informer \SpecialChar LyX
6129 de l'existence de nouveaux paquetages: dans
6133 Outils\SpecialChar menuseparator
6136 , puis redémarrez \SpecialChar LyX
6140 \begin_layout Standard
6141 Le paquetage est maintenant installé.
6142 Dans notre exemple, la classe de document
6143 \begin_inset Flex Code
6146 \begin_layout Plain Layout
6150 \begin_inset space ~
6158 est maintenant disponible dans
6160 Document\SpecialChar menuseparator
6161 Paramètres\SpecialChar menuseparator
6168 \begin_layout Standard
6169 Si vous souhaitez utiliser une classe de document qui ne figure pas dans
6172 Document\SpecialChar menuseparator
6173 Paramètres\SpecialChar menuseparator
6176 , vous devez créer une fichier de
6177 \begin_inset Quotes cld
6181 \begin_inset Quotes crd
6185 \begin_inset Quotes cld
6189 \begin_inset Quotes crd
6193 Ceci est le sujet du paragraphe suivant.
6196 \begin_layout Section
6197 Types de fichiers de formats
6200 \begin_layout Standard
6201 Cette section décrit les différentes variétés de fichiers contenant les
6202 informations de format: instructions pour l'affichage par \SpecialChar LyX
6203 et pour la traductio
6204 n en \SpecialChar LaTeX
6205 , DocBook ou XHTML, ou autre format de sortie désiré, des styles de
6206 paragraphe et de caractère variés.
6209 \begin_layout Standard
6210 Nous essayons ici de donner une description complète de la procédure à suivre;
6211 il y a cependant une telle variété de classes \SpecialChar LaTeX
6212 supportant des types de
6213 document très différents que nous ne pouvons pas espérer couvrir tous les
6214 cas possibles ni tous les problèmes que vous pourrez rencontrer.
6215 La liste de messagerie des utilisateurs \SpecialChar LyX
6216 est fréquentée par des personnes
6217 expérimentées dans l'écriture des formats, qui voudront partager ce qu'elles
6218 ont appris, n'hésitez pas à poser des questions sur cette liste.
6221 \begin_layout Standard
6222 Quand vous prévoyez d'écrire un nouveau format, il est extrêmement utile
6223 de regarder les formats distribués avec \SpecialChar LyX
6225 Si vous écrivez un fichier de format pour une classe de document \SpecialChar LaTeX
6227 intéresser d'autres personnes, ou si vous écrivez un module utile, vous
6228 pouvez envisager de l'insérer dans les
6229 \begin_inset CommandInset href
6231 name "pages dans le wiki LyX"
6232 target "http://wiki.lyx.org/Layouts/Layouts"
6237 , voire de le soumettre à la liste des développeurs, pour qu'il figure dans
6238 la distribution de \SpecialChar LyX
6243 \begin_layout Plain Layout
6244 Notez bien que du fait que \SpecialChar LyX
6245 est diffusé sous licence GPL (General Public
6246 License), toute contribution doit être également sous licence GPL.
6254 \begin_layout Subsection
6256 \begin_inset CommandInset label
6258 name "subsec:Modules_de_format"
6265 \begin_layout Standard
6266 Nous avons mentionné jusqu'ici les
6267 \begin_inset Quotes cld
6271 \begin_inset Quotes crd
6275 mais il existe différentes sortes de fichiers qui contiennent des informations
6277 Les fichiers de format au sens strict ont pour suffixe
6278 \begin_inset Flex Code
6281 \begin_layout Plain Layout
6287 et contiennent l'information nécessaire à \SpecialChar LyX
6288 pour les classes de document.
6289 Depuis \SpecialChar LyX
6290 1.6, cependant, les informations de format peuvent être incluses
6295 de format, qui ont pour suffixe
6296 \begin_inset Flex Code
6299 \begin_layout Plain Layout
6306 Les modules sont aux paquetages \SpecialChar LaTeX
6307 à peu près ce que sont les fichiers de
6308 format aux classes de document, et certains modules — tels que le module
6310 \begin_inset Quotes cld
6314 \begin_inset Quotes crd
6317 — offrent la fonctionnalité d'un seul paquetage.
6318 En un sens, le modules de format sont aussi similaires aux fichiers d'inclusion
6322 \begin_layout Plain Layout
6323 Ceux-ci peuvent avoir un suffixe quelconque, mais par convention il leur
6324 a été attribué le suffixe
6325 \begin_inset Flex Code
6328 \begin_layout Plain Layout
6339 — des fichiers comme
6340 \begin_inset Flex Code
6343 \begin_layout Plain Layout
6351 — dans le fait que les modules ne sont pas spécifiques du format d'un document
6352 donné, mais peuvent être utilisés avec de nombreux formats différents.
6353 Cependant l'utilisation d'un fichier d'inclusion (dans
6354 \begin_inset Flex Code
6357 \begin_layout Plain Layout
6363 par exemple) nécessite la modification du fichier de format
6364 \begin_inset Flex Code
6367 \begin_layout Plain Layout
6373 ; au lieu de cette modification, les modules sont sélectionnés dans la page
6375 \begin_inset Flex Noun
6378 \begin_layout Plain Layout
6381 Document\SpecialChar menuseparator
6390 \begin_layout Standard
6391 Rédiger des modules est la façon la plus simple de se familiariser avec
6392 l'écriture des formats, puisque ce peut être aussi simple que l'ajout d'un
6393 seul nouveau paragraphe ou insert.
6394 Mais en principe, les modules peuvent inclure tout ce que peuvent inclure
6398 \begin_layout Standard
6399 Après la création d'un nouveau module, vous devrez reconfigurer et redémarrer
6401 pour que le module apparaisse dans le menu.
6402 Cependant, les modifications que vous faites dans le module seront immédiatemen
6403 t actives, si vous ouvrez
6404 \begin_inset Flex Noun
6407 \begin_layout Plain Layout
6410 Document\SpecialChar menuseparator
6411 Paramètres\SpecialChar menuseparator
6417 , sélectionnez un module et appuyez sur
6418 \begin_inset Quotes cld
6422 \begin_inset Quotes crd
6428 Il vous est fortement recommandé de sauvegarder votre travail avant de procéder
6434 il vous est fortement recommandé de ne pas essayer de modifier des modules
6435 durant une travail productif sur un document
6438 Bien évidemment, les développeurs s'efforcent de conserver une bonne stabilité
6440 dans de telles situations, mais les erreurs de syntaxe et autres dans
6441 votre module pourraient déclencher des comportements bizarres.
6444 \begin_layout Subsubsection
6448 \begin_layout Standard
6449 Les modules sont à \SpecialChar LyX
6450 ce que les paquetages sont à \SpecialChar LaTeX
6452 Cependant, il arrive que vous souhaitiez disposer d'un insert ou d'un style
6453 de caractère pour un seul document, et écrire un module qui sera universel
6455 Vous avez alors besoin du
6456 \begin_inset Quotes cld
6460 \begin_inset Quotes crd
6467 \begin_layout Standard
6468 Vous le trouverez via
6470 Document\SpecialChar menuseparator
6471 Paramètres\SpecialChar menuseparator
6475 La grande zone textuelle vous permet de saisir ce que vous mettriez dans
6476 un fichier de format ou de module.
6477 Vous pouvez voir le format local comme un module qui n'appartient qu'au
6478 document en cours de saisie.
6479 De ce fait, vous devez saisir une balise
6480 \begin_inset Flex Code
6483 \begin_layout Plain Layout
6490 N'importe quel format est admissible, mais on utilise d'habitude le format
6491 de la version de \SpecialChar LyX
6492 utilisée (pour \SpecialChar LyX
6493 2.2, le format porte le numéro 60).
6496 \begin_layout Standard
6497 Lorsque vous avez saisi quelque chose dans la fenêtre de
6498 \begin_inset Flex Code
6501 \begin_layout Plain Layout
6509 \begin_inset Quotes cld
6517 \begin_inset Quotes crd
6520 qui se trouve en bas.
6521 Cliquer sur ce bouton entraînera une vérification de la validité du code
6522 que vous aurez saisi.
6524 vous donne cette information sans hélas l'accompagner d'un diagnostic
6525 d'erreurs explicite.
6526 Ces erreurs seront cependant affichées dans la fenêtre d'appel si vous
6527 avez activé \SpecialChar LyX
6529 Vous ne pourrez pas appliquer ou enregistrer votre format tant qu'il n'est
6533 \begin_layout Standard
6534 Les précautions indiquées à la fin de la section précédente s'appliquent
6536 Ne jouez pas avec un format local pendant un vrai travail, surtout si vous
6537 n'avez pas enregistré votre document.
6538 Ceci dit, utiliser un format local avec un document de test peut être très
6539 pratique pour essayer de nouvelles choses, voire pour aborder l’écriture
6543 \begin_layout Subsection
6544 Format pour un fichier
6545 \begin_inset Flex Code
6548 \begin_layout Plain Layout
6557 \begin_layout Standard
6558 Les deux situations que vous êtes probablement susceptibles de rencontrer
6559 quand vous voulez gérer une nouvelle classe de document \SpecialChar LaTeX
6561 \SpecialChar LaTeX2e
6563 \begin_inset Flex Code
6566 \begin_layout Plain Layout
6573 \begin_inset Flex Code
6576 \begin_layout Plain Layout
6583 Interfacer une nouveau fichier de style est assez facile, Interfacer une
6584 nouvelle classe est plus compliqué: nous allons décrire la première opération
6585 ici, et la seconde dans le paragraphe suivant.
6586 Des considérations analogues s'appliquent bien entendu si vous voulez interface
6587 r une nouvelle DTD DocBook.
6590 \begin_layout Standard
6591 La situation la plus simple se présente si votre nouvelle classe de document
6592 est fournie sous la forme d'un fichier de style à utiliser en combinaison
6593 avec une classe de document existante, déjà interfacée.
6594 Dans notre exemple, le fichier de style sera appelé
6595 \begin_inset Flex Code
6598 \begin_layout Plain Layout
6604 et il doit être utilisé avec la classe standard
6605 \begin_inset Flex Code
6608 \begin_layout Plain Layout
6617 \begin_layout Standard
6618 Commencez par copier le fichier de format de la classe de document en question
6619 dans votre répertoire local.
6622 \begin_layout LyX-Code
6623 cp report.layout ~/.lyx/layouts/ma_classe.layout
6626 \begin_layout Standard
6631 et changez la ligne :
6634 \begin_layout LyX-Code
6637 DeclareLaTeXClass{report}
6640 \begin_layout Standard
6644 \begin_layout LyX-Code
6647 DeclareLaTeXClass[report, ma_classe.sty]{report (ma_classe)}
6650 \begin_layout Standard
6654 \begin_layout LyX-Code
6656 \begin_inset Newline newline
6661 usepackage{ma_classe}
6662 \begin_inset Newline newline
6668 \begin_layout Standard
6669 près du début du fichier.
6672 \begin_layout Standard
6673 Démarrez \SpecialChar LyX
6675 \begin_inset Flex Noun
6678 \begin_layout Plain Layout
6679 Outils\SpecialChar menuseparator
6686 Redémarrez \SpecialChar LyX
6687 et essayez de créer un nouveau document.
6689 \begin_inset Quotes cld
6693 \begin_inset Flex Noun
6696 \begin_layout Plain Layout
6698 \begin_inset space ~
6707 \begin_inset Quotes crd
6710 parmi les classes de document dans la fenêtre
6711 \begin_inset Flex Noun
6714 \begin_layout Plain Layout
6715 Document\SpecialChar menuseparator
6716 Paramètres\SpecialChar menuseparator
6723 Il est probable que certaines des commandes de section devront être différentes
6724 de celles de la classe de base
6728 \begin_layout Plain Layout
6736 , vous pouvez donc jouer avec les réglages des différentes sections si vous
6738 Les informations de format pour le sectionnement se trouvent dans
6739 \begin_inset Flex Code
6742 \begin_layout Plain Layout
6748 , mais il n'est pas nécessaire de recopier ce fichier pour le modifier.
6749 Il vous suffit en effet d'ajouter vos modifications au fichier de format,
6751 \begin_inset Flex Code
6754 \begin_layout Plain Layout
6756 \begin_inset Flex Code
6759 \begin_layout Plain Layout
6770 , qui implique l'inclusion de
6771 \begin_inset Flex Code
6774 \begin_layout Plain Layout
6781 Par exemple, vous pourriez ajouter ces lignes:
6784 \begin_layout LyX-Code
6790 \begin_layout LyX-Code
6796 \begin_layout LyX-Code
6802 \begin_layout LyX-Code
6808 \begin_layout LyX-Code
6814 \begin_layout Standard
6815 pour modifier la police des titres de chapitre en police sens empattements.
6816 Ceci écrasera (ou bien, en l'occurrence, ajoutera) la déclaration existante
6817 pour le style Chapitre.
6820 \begin_layout Standard
6821 Votre nouveau paquetage peut également fournir des commandes ou des environnemen
6822 ts qui n'existent pas dans la classe de base.
6823 dans ce cas, il vous faudra ajouter ceux-ci au fichier de format.
6825 \begin_inset space ~
6829 \begin_inset CommandInset ref
6831 reference "sec:Syntaxe-des"
6835 pour savoir comment faire.
6838 \begin_layout Standard
6840 \begin_inset Flex Code
6843 \begin_layout Plain Layout
6849 peut être utilisé avec plusieurs classes de document différentes, vous
6850 trouverez sans doute plus approprié d'écrire un module que vous pourrez
6851 charger avec la classe de base.
6852 Le module le plus simple qu'il est possible d'écrire dans ce contexte est
6856 \begin_layout LyX-Code
6861 DeclareLyXModule{mon paquetage}
6864 \begin_layout LyX-Code
6870 \begin_layout LyX-Code
6873 #Support for mypkg.sty.
6876 \begin_layout LyX-Code
6880 \begin_inset Newline newline
6886 \begin_layout LyX-Code
6890 \begin_inset Newline newline
6896 \begin_layout LyX-Code
6900 \begin_inset Newline newline
6906 \begin_inset Newline newline
6912 \begin_layout Standard
6913 Un module plus compliqué pourrait modifier le comportement de constructions
6914 existantes ou d'en définir de nouvelles.
6916 \begin_inset space ~
6920 \begin_inset CommandInset ref
6922 reference "sec:Syntaxe-des"
6929 \begin_layout Subsection
6930 Format pour un fichier
6931 \begin_inset Flex Code
6934 \begin_layout Plain Layout
6943 \begin_layout Standard
6944 Deux possibilités se présentent.
6948 \begin_layout Standard
6949 Soit le fichier de classe est fondé sur une classe de document existante.
6950 Par exemple, de nombreuses classes pour une thèse sont des variantes de
6952 \begin_inset Flex Code
6955 \begin_layout Plain Layout
6962 Pour vérifier que c'est le cas pour la vôtre, cherchez une ligne comme
6965 \begin_layout LyX-Code
6973 \begin_layout Standard
6974 dans le fichier de classe.
6975 Si c'est la cas, vous pouvez essentiellement procéder comme dans la section
6976 précédente, bien que la ligne
6977 \begin_inset Flex Code
6980 \begin_layout Plain Layout
6981 Declare\SpecialChar LaTeX
6988 Si votre nouvelle classe est une thèse, et est fondée sur
6989 \begin_inset Flex Code
6992 \begin_layout Plain Layout
6998 , cette ligne doit être
7004 \begin_layout Plain Layout
7005 Et enregistrer le fichier comme
7006 \begin_inset Flex Code
7009 \begin_layout Plain Layout
7017 facilitera les choses: \SpecialChar LyX
7018 suppose que la classe de document a le même nom
7019 que le fichier de format.
7029 \begin_layout LyX-Code
7034 DeclareLaTeXClass[thesis,book]{thesis}
7037 \begin_layout Standard
7038 Soit le fichier de classe est original.
7039 Dans ce cas, vous devrez probablement créer votre propre format.
7040 Nous vous suggérons fortement de copier un fichier de format existant qui
7041 utilise une classe \SpecialChar LaTeX
7042 similaire et de le modifier si c'est possible.
7043 Utilisez au moins un fichier existant comme point de départ pour savoir
7044 quels sont les éléments dont vous devez vous occuper.
7045 Encore une fois, les spécificités sont décrites ci-après.
7048 \begin_layout Subsection
7050 \begin_inset CommandInset label
7059 \begin_layout Standard
7060 Une fois qu'un fichier de format a été crée pour une classe de document,
7061 vous désirerez peut-être créer un
7066 Un modèle est une sorte de mode d'emploi pour votre format, montrant comment
7067 il peut être utilisé, mais avec un contenu fictif.
7068 Vous pouvez jeter un œil aux divers modèles distribués avec \SpecialChar LyX
7072 \begin_layout Standard
7073 Les modèles sont créés comme les documents normaux.
7074 La seule différence est que les documents normaux contiennent tous les
7075 réglages possibles, y compris les polices et la taille du papier.
7076 Or on ne veut en général pas qu'un modèle modifie ces réglages implicites.
7077 Pour cette raison, l'auteur d'un modèle doit enlever les commandes correspondan
7079 \begin_inset Flex Code
7082 \begin_layout Plain Layout
7091 \begin_inset Flex Code
7094 \begin_layout Plain Layout
7102 du fichier modèle \SpecialChar LyX
7104 C'est faisable avec un simple éditeur de texte, comme
7105 \begin_inset Flex Code
7108 \begin_layout Plain Layout
7115 \begin_inset Flex Code
7118 \begin_layout Plain Layout
7127 \begin_layout Standard
7128 Mettez les fichiers modèles que vous avez créés et édités dans
7129 \begin_inset Flex Code
7132 \begin_layout Plain Layout
7138 , copiez ceux que vous utilisez du répertoire global de modèles
7139 \begin_inset Flex Code
7142 \begin_layout Plain Layout
7149 vers le même endroit, et redéfinissez le répertoire de modèles dans la
7151 \begin_inset Flex Noun
7154 \begin_layout Plain Layout
7155 Outils\SpecialChar menuseparator
7156 Préférences\SpecialChar menuseparator
7165 \begin_layout Standard
7167 \begin_inset Flex Code
7170 \begin_layout Plain Layout
7176 a un statut particulier.
7177 Il est chargé à chaque fois que vous créez un nouveau document avec
7178 \begin_inset Flex Noun
7181 \begin_layout Plain Layout
7182 Fichier\SpecialChar menuseparator
7188 afin d'avoir les réglages implicites.
7189 Pour créer ce modèle depuis \SpecialChar LyX
7190 , vous n'avez qu'à ouvrir un document ayant
7191 déjà les réglages voulus, et appuyer sur le bouton
7192 \begin_inset Flex Noun
7195 \begin_layout Plain Layout
7196 Enregistrer comme valeurs implicites
7204 \begin_layout Subsection
7205 Mise à jour des anciens fichiers de format
7208 \begin_layout Standard
7209 La syntaxe des fichiers de format change à chaque publication d'une nouvelle
7210 version de \SpecialChar LyX
7211 , et les anciens fichiers de format doivent donc être convertis
7212 dans la nouvelle syntaxe.
7214 lit un fichier de format écrit avec une syntaxe ancienne, il appelle
7216 \begin_inset Flex Code
7219 \begin_layout Plain Layout
7225 pour le convertir dans un fichier temporaire doté de la nouvelle syntaxe.
7226 Le fichier original reste intact.
7227 Si vous utilisez le fichier de format souvent, vous voudrez sans doute
7228 rendre les modifications permanentes, pour éviter des conversions répétitives
7229 de la part de \SpecialChar LyX
7231 Pour ce faire, vous pouvez appeler le convertisseur manuellement:
7234 \begin_layout Enumerate
7238 \begin_inset Flex Code
7241 \begin_layout Plain Layout
7254 \begin_inset Flex Code
7257 \begin_layout Plain Layout
7268 \begin_layout Enumerate
7269 exécutez la commande
7270 \begin_inset Flex Code
7273 \begin_layout Plain Layout
7274 python \SpecialChar LyX
7275 Dir/scripts/layout2layout.py myclass.old myclass.layout
7281 \begin_inset Newline newline
7285 \begin_inset Flex Code
7288 \begin_layout Plain Layout
7295 est le nom de votre répertoire \SpecialChar LyX
7299 \begin_layout Standard
7300 Le convertisseur ne gère que les changements de syntaxe.
7301 Il ne peut pas gérer les modifications du contenu des fichiers inclus,
7302 ceux-ci doivent être convertis séparément.
7305 \begin_layout Subsection
7308 \begin_inset CommandInset label
7310 name "subsec:Cite-Engine-Files"
7317 \begin_layout Standard
7320 A specific form of layout files are the so-called
7321 \begin_inset Flex Code
7324 \begin_layout Plain Layout
7332 files that are located in the
7333 \begin_inset Flex Code
7336 \begin_layout Plain Layout
7345 Their purpose is to define the specifics of \SpecialChar LaTeX
7346 packages aimed at bibliography
7359 , but also the way how normal Bib\SpecialChar TeX
7360 citations (without additional packages)
7361 are handled in \SpecialChar LyX
7362 is defined in such a file.
7366 \begin_layout Standard
7369 More specifically, it is defined which packages \SpecialChar LyX
7370 needs to load, which citation
7371 commands are available, how these are to be displayed in \SpecialChar LyX
7373 the dialogs, the context menus) as well as in the XHTML and plain text
7375 Furthermore, the files specify available style variants (author-year, numerical
7376 , etc.) and their specifics.
7377 The cite engine files are also used to generate the options that are available
7380 Document\SpecialChar menuseparator
7381 Settings\SpecialChar ldots
7382 \SpecialChar menuseparator
7383 Bibliography\SpecialChar menuseparator
7389 \begin_layout Standard
7392 Even though a cite engine file is essentially a normal layout file that
7393 could theoretically include any layout information, it usually primarily
7394 includes some specific parameters such as
7395 \begin_inset Flex Code
7398 \begin_layout Plain Layout
7407 \begin_inset Flex Code
7410 \begin_layout Plain Layout
7419 \begin_inset Flex Code
7422 \begin_layout Plain Layout
7431 \begin_inset Flex Code
7434 \begin_layout Plain Layout
7443 The syntax of the latter two is described in
7444 \begin_inset CommandInset ref
7446 reference "subsec:Citation-engine-description"
7454 \begin_inset CommandInset ref
7456 reference "subsec:Citation-format-description"
7460 , as well as in the files themselves.
7463 \begin_layout Section
7464 Syntaxe des fichiers de format
7465 \begin_inset CommandInset label
7467 name "sec:Syntaxe-des"
7474 \begin_layout Standard
7475 Les sections suivantes vous expliquent à quoi vous vous attaquez quand vous
7476 décidez de mettre les mains dans le cambouis, et de créer ou d'éditer votre
7477 propre fichier de format.
7478 Notre conseil est d'aller doucement et d'enregistrer souvent pour faire
7480 Ce n'est pas si dur que ça, mais il y a une multitude d'options et vous
7481 pouvez vous laisser submerger si vous essayez d'en faire trop d'un coup.
7482 Il est plus facile d'utiliser des formats existants comme référence ou
7483 modèle ou de modifier un fichier de format existant pour vos besoins.
7486 \begin_layout Standard
7487 Toutes les balises décrites dans ce chapitre sont insensibles à la casse:
7489 \begin_inset Flex Code
7492 \begin_layout Plain Layout
7499 \begin_inset Flex Code
7502 \begin_layout Plain Layout
7509 \begin_inset Flex Code
7512 \begin_layout Plain Layout
7518 sont une seule et même balise.
7519 Les valeurs possibles sont inscrites entre crochets après le nom de la
7521 La valeur implicite d'une fonction quand elle n'est pas définie dans le
7522 fichier décrivant la classe de texte est
7525 \begin_inset Flex Code
7528 \begin_layout Plain Layout
7539 Si le paramètre est d'un type particulier la valeur implicite est indiquée
7541 \begin_inset Flex Code
7544 \begin_layout Plain Layout
7555 \begin_layout Subsection
7556 Déclaration et classification d'une classe de document
7559 \begin_layout Standard
7560 Les lignes qui commencent par un
7564 dans un fichier de format sont les commentaires.
7565 Il y a une exception à cette règle : tous les
7566 \begin_inset Flex Code
7569 \begin_layout Plain Layout
7575 doivent commencer par ceci :
7578 \begin_layout LyX-Code
7581 #% Do not delete the line below; configure depends on this
7585 \begin_layout Plain Layout
7586 Ne pas effacer la ligne ci-dessous ; configure compte dessus.
7594 \begin_layout LyX-Code
7599 DeclareLaTeXClass{Article (Standard Class)}
7602 \begin_layout LyX-Code
7607 DeclareCategory{Articles}
7610 \begin_layout Standard
7611 Les deuxième et troisième lignes servent lors de la (re)configuration de
7614 Le fichier de format est lu par le script \SpecialChar LaTeX
7616 \begin_inset Flex Code
7619 \begin_layout Plain Layout
7625 , dans un mode spécial où
7626 \begin_inset Flex Code
7629 \begin_layout Plain Layout
7636 La première ligne est juste un commentaire \SpecialChar LaTeX
7637 , la deuxième contient la déclaratio
7638 n obligatoire de la classe de texte et la troisième contient la classification
7639 facultative de la classe.
7640 Si ces lignes apparaissent dans un fichier appelé
7641 \begin_inset Flex Code
7644 \begin_layout Plain Layout
7650 , elles définissent alors une classe de texte appelée
7651 \begin_inset Flex Code
7654 \begin_layout Plain Layout
7660 (le nom du fichier de format) qui utilise la classe de document \SpecialChar LaTeX
7662 \begin_inset Flex Code
7665 \begin_layout Plain Layout
7671 (implicitement, le même nom que le format).
7673 \begin_inset Quotes cld
7676 Article (Standard Class)
7677 \begin_inset Quotes crd
7680 qui apparaît ci-dessus sert de description de la classe de texte dans la
7682 \begin_inset Flex Noun
7685 \begin_layout Plain Layout
7686 Document\SpecialChar menuseparator
7687 Paramètres\SpecialChar ldots
7688 \SpecialChar menuseparator
7696 \begin_inset Quotes cld
7700 \begin_inset Quotes crd
7703 dans l'exemple) est également utilisés dans la fenêtre
7706 \begin_inset Flex Noun
7709 \begin_layout Plain Layout
7710 Document\SpecialChar menuseparator
7711 Paramètres\SpecialChar ldots
7712 \SpecialChar menuseparator
7720 : les classes sont regroupées par catégories (qui sont aussi des genres
7721 de documents, les catégories typiques sont
7722 \begin_inset Quotes cld
7726 \begin_inset Quotes crd
7730 \begin_inset Quotes cld
7734 \begin_inset Quotes crd
7738 \begin_inset Quotes cld
7742 \begin_inset Quotes crd
7746 \begin_inset Quotes cld
7750 \begin_inset Quotes crd
7754 \begin_inset Quotes cld
7758 \begin_inset Quotes crd
7762 \begin_inset Quotes cld
7766 \begin_inset Quotes crd
7770 Si la troisième lignes est vide, la classe apparaîtra comme
7771 \begin_inset Quotes cld
7775 \begin_inset Quotes crd
7781 \begin_layout Standard
7782 Supposons que vous ayez écrit votre propre classe de texte qui utilise la
7784 \begin_inset Flex Code
7787 \begin_layout Plain Layout
7793 , mais dans laquelle vous avez changé l'apparence des en-têtes de sections.
7794 Si vous la mettez dans un fichier
7795 \begin_inset Flex Code
7798 \begin_layout Plain Layout
7804 , l'en-tête de ce fichier doit être :
7807 \begin_layout LyX-Code
7810 #% Do not delete the line below; configure depends on this
7813 \begin_layout LyX-Code
7818 DeclareLaTeXClass[article]{Article (avec Mes En-têtes)}
7821 \begin_layout LyX-Code
7826 DeclareCategory{Articles}
7829 \begin_layout Standard
7830 Ceci déclare une classe de texte
7831 \begin_inset Flex Code
7834 \begin_layout Plain Layout
7840 , associée avec la classe de document \SpecialChar LaTeX
7842 \begin_inset Flex Code
7845 \begin_layout Plain Layout
7852 \begin_inset Quotes cld
7855 Article (avec Mes En-têtes)
7856 \begin_inset Quotes crd
7860 Si votre classe de texte repose sur plusieurs paquetages, vous pouvez la
7864 \begin_layout LyX-Code
7867 #% Do not delete the line below; configure depends on this
7870 \begin_layout LyX-Code
7875 DeclareLaTeXClass[article,machin.sty]{Article (avec Mes En-têtes)}
7878 \begin_layout LyX-Code
7883 DeclareCategory{Articles}
7886 \begin_layout Standard
7887 Ceci indique que votre classe de texte utilise le paquetage
7888 \begin_inset Flex Code
7891 \begin_layout Plain Layout
7898 Enfin, il est aussi possible de déclarer des classes pour du code DocBook.
7899 Les déclarations ressemblent en général à :
7902 \begin_layout LyX-Code
7905 #% Do not delete the line below; configure depends on this
7908 \begin_layout LyX-Code
7913 DeclareDocBookClass[article]{SGML (DocBook Article)}
7916 \begin_layout LyX-Code
7921 DeclareCategory{Articles}
7924 \begin_layout Standard
7925 Notez que ces déclarations peuvent aussi recevoir un paramètre optionnel
7926 déclarant le nom de la classe de document (mais pas une liste).
7929 \begin_layout Standard
7930 Donc, de la manière la plus explicite, la forme d'une déclaration de format
7934 \begin_layout LyX-Code
7939 DeclareLaTeXClass[class,package.sty]{description du format}
7942 \begin_layout LyX-Code
7947 DeclareCategory{catégorie}
7950 \begin_layout Standard
7951 Il n'est nécessaire de déclarer la classe que si le nom de la classe \SpecialChar LaTeX
7953 le nom du fichier de format diffèrent, ou si des paquetages sont à spécifier.
7954 Si le nom de la classe n'est pas spécifiée, \SpecialChar LyX
7955 suppose qu'elle est identique
7956 à celle du fichier de format.
7959 \begin_layout Standard
7960 Une fois que la classe de texte a été modifiée à votre goût, tout ce que
7961 vous avez à faire est de la copier soit dans
7962 \begin_inset Flex Code
7965 \begin_layout Plain Layout
7973 \begin_inset Flex Code
7976 \begin_layout Plain Layout
7983 \begin_inset Flex Noun
7986 \begin_layout Plain Layout
7987 Outils\SpecialChar menuseparator
7988 Recon\SpecialChar softhyphen
7995 Quittez \SpecialChar LyX
7996 et redémarrez-le; votre nouvelle classe de texte devrait alors
7997 être disponible avec les autres.
8000 \begin_layout Standard
8001 Une fois le fichier de format installé, vous pouvez le modifier et vérifier
8002 l'effet de ces modifications sans reconfigurer ou redémarrer \SpecialChar LyX
8007 \begin_layout Plain Layout
8008 Avec les versions de \SpecialChar LyX
8009 antérieures à 1.6, il vous fallait redémarrer \SpecialChar LyX
8011 valider les modifications effectuées dans les fichiers de format.
8012 De ce fait, les modifications pouvaient prendre beaucoup de temps.
8017 Vous pouvez imposer un rechargement du format en service en utilisant la
8019 \begin_inset Flex Noun
8022 \begin_layout Plain Layout
8031 Cette fonction n'est implicitement liée à aucun raccourci — vous pouvez
8032 bien sûr la lier à une touche vous-même.
8033 Si vous voulez utiliser cette fonction, il vous suffit de la saisir dans
8038 \begin_layout Standard
8044 \begin_inset Flex Noun
8047 \begin_layout Plain Layout
8055 est une fonctionnalité
8056 \begin_inset Quotes cld
8060 \begin_inset Quotes crd
8072 recommandé de sauvegarder votre travail avant de procéder ainsi
8077 En fait, il vous est
8081 recommandé de ne pas essayer de modifier des formats durant une travail
8082 productif sur un document.
8083 Utilisez un document de test, les erreurs de syntaxe et autres dans votre
8084 module pourraient déclencher des comportements bizarres.
8085 En particulier, de telles erreurs pourraient inciter \SpecialChar LyX
8087 formats en service comme incorrects et à essayer de basculer sur un autre
8092 \begin_layout Plain Layout
8093 Les erreurs de syntaxe vraiment graves peuvent même stopper \SpecialChar LyX
8095 Ceci provient du fait que certaines erreurs rendent \SpecialChar LyX
8097 la moindre information de format.
8098 Faites attention\SpecialChar ldots
8104 Les développeurs s'efforcent de conserver une bonne stabilité à \SpecialChar LyX
8106 telles situations, mais il vaut mieux être sûr que regretter
8110 \begin_layout Plain Layout
8111 Puisque nous en sommes au conseils: faites des sauvegardes régulières.
8112 Et soyez gentil avec votre maman.
8120 \begin_layout Subsection
8121 Déclaration d'un module
8124 \begin_layout Standard
8125 La première ligne d'un module doit être rédigée comme suit:
8128 \begin_layout LyX-Code
8131 DeclareLyXModule[endnotes.sty]{Endnotes}
8134 \begin_layout Standard
8135 L'argument obligatoire, entre accolades, est le nom du module, tel qu'il
8137 \begin_inset Flex Noun
8140 \begin_layout Plain Layout
8141 Document\SpecialChar menuseparator
8142 Paramètres\SpecialChar menuseparator
8149 L'argument entre crochets est facultatif: il déclare n'importe quel paquetage
8151 dont dépend le module.
8152 Il est également possible d'utiliser la clé
8153 \begin_inset Flex Noun
8156 \begin_layout Plain Layout
8162 en argument optionnel: elle déclare que le module ne peut être employé
8163 que s'il existe un chemin de conversion entre les formats
8164 \begin_inset Flex Code
8167 \begin_layout Plain Layout
8174 \begin_inset Flex Code
8177 \begin_layout Plain Layout
8186 \begin_layout Standard
8187 La déclaration du module devra être suivi par des lignes descriptives comme
8192 \begin_layout Plain Layout
8193 En anglais de préférence si le module doit être diffusé par \SpecialChar LyX
8195 Cette description apparaîtra dans la liste des messages à traduire et sera
8196 donc traduite lors de la mise à jour de l'interface.
8204 \begin_layout LyX-Code
8210 \begin_layout LyX-Code
8213 #Adds an endnote command, in addition to footnotes.
8217 \begin_layout LyX-Code
8220 #You will need to add
8222 theendnotes in \SpecialChar TeX
8226 \begin_layout LyX-Code
8229 #want the endnotes to appear.
8233 \begin_layout LyX-Code
8239 \begin_layout LyX-Code
8242 #Requires: somemodule | othermodule
8245 \begin_layout LyX-Code
8248 #Excludes: badmodule
8251 \begin_layout Standard
8252 Cette description est utilisée dans
8253 \begin_inset Flex Noun
8256 \begin_layout Plain Layout
8257 Document\SpecialChar menuseparator
8258 Paramètres\SpecialChar ldots
8259 \SpecialChar menuseparator
8265 pour informer l'utilisateur de la fonction du module.
8267 \begin_inset Flex Code
8270 \begin_layout Plain Layout
8278 permet d'identifier les modules qui doivent être activés avec celui-ci;
8280 \begin_inset Flex Code
8283 \begin_layout Plain Layout
8291 permet d'identifier les modules interdits avec celui-ci.
8292 Les deux lignes sont facultatives et, comme indiqué, les modules dans une
8293 liste doivent être séparés par une barre verticale: |.
8294 Noter que les modules requis sont traités sur le mode disjonctif:
8298 des modules requis doit être utilisé.
8303 des modules exclus ne doit être utilisé.
8304 Noter également que les les modules sont identifiés par leur nom de fichier,
8306 \begin_inset Flex Code
8309 \begin_layout Plain Layout
8317 \begin_inset Flex Code
8320 \begin_layout Plain Layout
8329 \begin_inset Flex Code
8332 \begin_layout Plain Layout
8343 \begin_layout Subsection
8346 The CiteEngine file declaration
8349 \begin_layout Standard
8352 A cite engine file must begin with a line like the following:
8355 \begin_layout LyX-Code
8360 DeclareLyXCiteEngineModule[biblatex.sty]{Biblatex}
8363 \begin_layout Standard
8366 The mandatory argument, in curly brackets, is the name of the module, as
8368 \begin_inset Flex Noun
8371 \begin_layout Plain Layout
8374 Document\SpecialChar menuseparator
8375 Settings\SpecialChar menuseparator
8382 The argument in square brackets is optional: It declares any \SpecialChar LaTeX
8384 on which the cite engine depends.
8387 \begin_layout Standard
8390 The cite engine declaration should then be followed by lines like the following
8394 \begin_layout Plain Layout
8397 Preferably in English if the module should be published with \SpecialChar LyX
8399 This description will appear in the list of messages to be translated and
8400 will be thus translated with the next interface update.
8408 \begin_layout LyX-Code
8414 \begin_layout LyX-Code
8417 # Biblatex supports many author-year and numerical styles.
8420 \begin_layout LyX-Code
8423 # It is mainly aimed at the Humanities.
8427 \begin_layout LyX-Code
8430 # customizable, fully localized and provides many features
8433 \begin_layout LyX-Code
8436 # that are not possible with BibTeX.
8437 The use of 'biber' as
8440 \begin_layout LyX-Code
8443 # bibliography processor is advised.
8446 \begin_layout LyX-Code
8452 \begin_layout Standard
8455 The description is used in
8456 \begin_inset Flex Noun
8459 \begin_layout Plain Layout
8462 Document\SpecialChar menuseparator
8463 Settings\SpecialChar menuseparator
8469 to provide the user with information about the cite engine.
8472 \begin_layout Subsection
8473 Numéro d'identification syntaxique
8476 \begin_layout Standard
8477 La première ligne non commentée doit contenir le numéro d'identification
8478 syntaxique du contenu du fichier de format:
8481 \begin_layout Description
8482 \begin_inset Flex Code
8485 \begin_layout Plain Layout
8494 \begin_inset Flex Code
8497 \begin_layout Plain Layout
8505 ] identification syntaxique du fichier de format
8508 \begin_layout Standard
8509 Ce balisage a été introduit dans \SpecialChar LyX
8511 \begin_inset space ~
8514 1.4.0 Les fichiers de format des versions antérieures n'avaient pas de numéro
8515 de format explicite et sont affectés du
8518 \begin_inset Flex Code
8521 \begin_layout Plain Layout
8525 \begin_inset space ~
8536 Le numéro de format du présent fichier est le numéro 60.
8537 mais chaque version de \SpecialChar LyX
8538 peut lire les fichiers de format d'une version
8539 plus ancienne, comme elle peut lire les documents crées avec une version
8541 Il n'y a cependant aucun moyen de revernir aux numéros d'identification
8545 \begin_layout Subsection
8546 Paramètres généraux d'une classe de texte
8547 \begin_inset CommandInset label
8549 name "subsec:Paramètres-généraux-d'une"
8556 \begin_layout Standard
8557 Voici les paramètres généraux qui décrivent l'aspect du document pour une
8558 classe complète (ceci ne veut pas dire qu'il
8562 apparaître dans le fichiers
8563 \begin_inset Flex Code
8566 \begin_layout Plain Layout
8572 plutôt que dans les modules.
8573 Un module peut contenir n'importe quelle balise de format):
8576 \begin_layout Description
8579 \begin_inset Flex Code
8582 \begin_layout Plain Layout
8595 ajoute une information qui sera incluse dans le bloc
8596 \begin_inset Flex Code
8599 \begin_layout Plain Layout
8605 quand le document est exporté en XHTML.
8606 Typiquement, ce paramètre est utilisé pour exporter de l'information en
8607 style CSS, mais il peut être utilisé pour toute information valide entre
8609 \begin_inset Flex Code
8612 \begin_layout Plain Layout
8620 \begin_inset Quotes cld
8624 \begin_inset Flex Code
8627 \begin_layout Plain Layout
8636 \begin_inset Quotes crd
8642 \begin_layout Description
8645 \begin_inset Flex Code
8648 \begin_layout Plain Layout
8661 ajoute une information au préambule du document.
8663 \begin_inset Quotes cld
8667 \begin_inset Flex Code
8670 \begin_layout Plain Layout
8679 \begin_inset Quotes crd
8685 \begin_layout Description
8688 \begin_inset Flex Code
8691 \begin_layout Plain Layout
8699 Defines the possibilities for displaying citation references.
8701 \begin_inset CommandInset ref
8703 reference "subsec:Citation-engine-description"
8712 \begin_inset Quotes eld
8716 \begin_inset Flex Code
8719 \begin_layout Plain Layout
8728 \begin_inset Quotes erd
8732 Primarily used in cite engine files (see
8733 \begin_inset CommandInset ref
8735 reference "subsec:Cite-Engine-Files"
8745 \begin_layout Description
8748 \begin_inset Flex Code
8751 \begin_layout Plain Layout
8764 définit le style à utiliser pour afficher les informations bibliographiques.
8766 \begin_inset CommandInset ref
8768 reference "subsec:Description citation"
8774 \begin_inset Quotes cld
8778 \begin_inset Flex Code
8781 \begin_layout Plain Layout
8790 \begin_inset Quotes crd
8796 Primarily used in cite engine files (see
8797 \begin_inset CommandInset ref
8799 reference "subsec:Cite-Engine-Files"
8809 \begin_layout Description
8812 \begin_inset Flex Code
8815 \begin_layout Plain Layout
8824 \begin_inset Flex Code
8827 \begin_layout Plain Layout
8837 \begin_inset Flex Code
8840 \begin_layout Plain Layout
8848 ] Determines whether
8852 or Bib\SpecialChar TeX
8853 is used to generate a Bibliography.
8854 Primarily used in cite engine files (see
8855 \begin_inset CommandInset ref
8857 reference "subsec:Cite-Engine-Files"
8867 \begin_layout Description
8870 \begin_inset Flex Code
8873 \begin_layout Plain Layout
8886 décrit diverses options globales comprises par la classe du document.
8888 \begin_inset CommandInset ref
8890 reference "subsec:Section-ClassOptions"
8896 \begin_inset Quotes cld
8900 \begin_inset Flex Code
8903 \begin_layout Plain Layout
8912 \begin_inset Quotes crd
8918 \begin_layout Description
8921 \begin_inset Flex Code
8924 \begin_layout Plain Layout
8935 \begin_inset Flex Code
8938 \begin_layout Plain Layout
8947 \begin_inset space \thinspace{}
8951 \begin_inset Flex Code
8954 \begin_layout Plain Layout
8960 ] fixe le nombre implicite de colonnes (une ou deux).
8961 Peut être changé dans la fenêtre
8962 \begin_inset Flex Noun
8965 \begin_layout Plain Layout
8966 Document\SpecialChar menuseparator
8976 \begin_layout Description
8979 \begin_inset Flex Code
8982 \begin_layout Plain Layout
8996 \begin_inset Flex Code
8999 \begin_layout Plain Layout
9005 ] définit les paramètres d'un nouveau compteur.
9006 Si le compteur n'existe pas, il est créé; s'il existe, il est modifié.
9008 \begin_inset Quotes cld
9012 \begin_inset Flex Code
9015 \begin_layout Plain Layout
9024 \begin_inset Quotes crd
9028 \begin_inset Newline newline
9032 \begin_inset CommandInset ref
9034 reference "subsec:Compteurs"
9041 \begin_layout Description
9044 \begin_inset Flex Code
9047 \begin_layout Plain Layout
9057 décrit la police implicite dans le document.
9059 \begin_inset CommandInset ref
9061 reference "subsec:polices"
9065 pour une description.
9067 \begin_inset Quotes cld
9073 \begin_inset Flex Code
9076 \begin_layout Plain Layout
9085 \begin_inset Quotes crd
9091 \begin_layout Description
9094 \begin_inset Flex Code
9097 \begin_layout Plain Layout
9108 \begin_inset Flex Code
9111 \begin_layout Plain Layout
9117 ] spécifie un module inclus implicitement avec cette classe de document,
9118 donné par son nom de fichier sans suffixe
9119 \begin_inset Flex Code
9122 \begin_layout Plain Layout
9131 L'utilisateur peut toujours le retirer, mais il sera actif à l'ouverture
9132 du document (ceci s'applique pour un nouveau document, ou quand cette classe
9133 est choisie pour un document existant).
9136 \begin_layout Description
9139 \begin_inset Flex Code
9142 \begin_layout Plain Layout
9153 \begin_inset Flex Code
9156 \begin_layout Plain Layout
9162 ] indique le style qui sera appliqué aux nouveaux paragraphes, habituellement
9164 \begin_inset Flex Noun
9167 \begin_layout Plain Layout
9176 Ce sera implicitement le premier style défini si ce paramètre n'est pas
9177 fixé, mais vous êtes vivement encouragé à utiliser cette directive.
9180 \begin_layout Description
9183 \begin_inset Flex Code
9186 \begin_layout Plain Layout
9197 \begin_inset Flex Code
9200 \begin_layout Plain Layout
9206 ] indique que le module spécifié (donné par son nom de fichier sans le suffixe
9208 \begin_inset Flex Code
9211 \begin_layout Plain Layout
9219 ) ne peut pas être utilisé avec cette classe de document.
9220 Ceci peut être utilisé par exemple dans un format pour une revue pour éviter
9222 l'utilisation du module
9223 \begin_inset Flex Code
9226 \begin_layout Plain Layout
9234 (numérotation des théorèmes par sections).
9243 être utilisé dans un module: les modules ont leur propre méthode d'exclusion
9245 \begin_inset CommandInset ref
9247 reference "subsec:Modules_de_format"
9254 \begin_layout Description
9257 \begin_inset Flex Code
9260 \begin_layout Plain Layout
9270 définit un nouveau flottant.
9272 \begin_inset CommandInset ref
9274 reference "subsec:Flottants"
9280 \begin_inset Quotes cld
9284 \begin_inset Flex Code
9287 \begin_layout Plain Layout
9296 \begin_inset Quotes crd
9302 \begin_layout Description
9305 \begin_inset Flex Code
9308 \begin_layout Plain Layout
9318 définit l'information qui sera incluse dans le bloc
9319 \begin_inset Flex Code
9322 \begin_layout Plain Layout
9328 quand le document est exporté en XHTML.
9329 Notez bien que ceci écrasera toute déclaration
9332 \begin_inset Flex Code
9335 \begin_layout Plain Layout
9348 \begin_inset Flex Code
9351 \begin_layout Plain Layout
9361 antérieure (utiliser
9362 \begin_inset Newline newline
9368 \begin_inset Flex Code
9371 \begin_layout Plain Layout
9381 si vous désirez simplement ajouter du contenu).
9383 \begin_inset Quotes cld
9387 \begin_inset Flex Code
9390 \begin_layout Plain Layout
9399 \begin_inset Quotes crd
9405 \begin_layout Description
9408 \begin_inset Flex Code
9411 \begin_layout Plain Layout
9422 \begin_inset Flex Code
9425 \begin_layout Plain Layout
9431 ] définit le style utilisé pour la table des matières, la bibliographie,
9432 et similaires, lorsque le document est exporté en HTML.
9433 Pour les articles, ceci devrait normalement valoir
9436 \begin_inset Flex Code
9439 \begin_layout Plain Layout
9452 \begin_inset Flex Code
9455 \begin_layout Plain Layout
9466 Sans précisions, \SpecialChar LyX
9467 essaiera de deviner quel style utiliser.
9470 \begin_layout Description
9473 \begin_inset Flex Code
9476 \begin_layout Plain Layout
9487 \begin_inset Flex Code
9490 \begin_layout Plain Layout
9496 ] modifie les propriétés d'un compteur donné.
9497 Si le compteur n'existe pas, la directive est ignorée.
9499 \begin_inset Quotes cld
9503 \begin_inset Flex Code
9506 \begin_layout Plain Layout
9515 \begin_inset Quotes crd
9519 \begin_inset Newline newline
9523 \begin_inset CommandInset ref
9525 reference "subsec:Compteurs"
9529 pour les détails au sujet des compteurs.
9532 \begin_layout Description
9533 \begin_inset Flex Code
9536 \begin_layout Plain Layout
9545 \begin_inset Flex Code
9548 \begin_layout Plain Layout
9554 ] permet d'inclure un autre fichier de définition de format pour éviter
9555 de réécrire des commandes.
9556 C'est souvent le cas des fichiers de format standard, comme
9557 \begin_inset Flex Code
9560 \begin_layout Plain Layout
9566 , qui contient la plupart des réglages de base.
9569 \begin_layout Description
9572 \begin_inset Flex Code
9575 \begin_layout Plain Layout
9589 \begin_inset Flex Code
9592 \begin_layout Plain Layout
9598 ] cette section (re)définit le format d'un insert.
9599 Elle peut être appliquée à un insert existant pour obtenir un nouvel insert
9600 défini par l'utilisateur, e.g.
9601 un nouveau style de caractères.
9603 \begin_inset Quotes cld
9607 \begin_inset Flex Code
9610 \begin_layout Plain Layout
9619 \begin_inset Quotes crd
9623 \begin_inset Newline newline
9627 \begin_inset CommandInset ref
9629 reference "subsec:Flex-insets-and"
9636 \begin_layout Description
9639 \begin_inset Flex Code
9642 \begin_layout Plain Layout
9656 \begin_inset Flex Code
9659 \begin_layout Plain Layout
9665 ] indique la largeur de la marge gauche à l'écran, par exemple
9666 \begin_inset Quotes cld
9670 \begin_inset Flex Code
9673 \begin_layout Plain Layout
9680 \begin_inset Quotes crd
9683 (noter que ce n'est pas une
9684 \begin_inset Quotes cld
9688 \begin_inset Quotes crd
9692 \begin_inset Quotes cld
9696 \begin_inset Quotes crd
9702 \begin_layout Description
9705 \begin_inset Flex Code
9708 \begin_layout Plain Layout
9717 \begin_inset Flex Code
9720 \begin_layout Plain Layout
9728 ] An integer that determines the maximal number of names displayed in an
9729 author-year citation before the citation switches to
9730 \begin_inset Quotes eld
9734 \begin_inset Quotes erd
9738 Primarily used in cite engine files (see
9739 \begin_inset CommandInset ref
9741 reference "subsec:Cite-Engine-Files"
9751 \begin_layout Description
9754 \begin_inset Flex Code
9757 \begin_layout Plain Layout
9768 \begin_inset Flex Code
9771 \begin_layout Plain Layout
9777 ] modifies les propriétés de style d'un paragraphe donné.
9778 Si le style n'existe pas, le directive est ignorée.
9780 \begin_inset Quotes cld
9784 \begin_inset Flex Code
9787 \begin_layout Plain Layout
9796 \begin_inset Quotes crd
9802 \begin_layout Description
9805 \begin_inset Flex Code
9808 \begin_layout Plain Layout
9819 \begin_inset Flex Code
9822 \begin_layout Plain Layout
9828 ] efface un compteur existant, habituellement défini dans un fichier inclus.
9831 \begin_layout Description
9834 \begin_inset Flex Code
9837 \begin_layout Plain Layout
9848 \begin_inset Flex Code
9851 \begin_layout Plain Layout
9857 ] efface un flottant existant.
9858 C'est très utile quand vous voulez supprimer un flottant qui a été défini
9859 dans un fichier inclus.
9862 \begin_layout Description
9865 \begin_inset Flex Code
9868 \begin_layout Plain Layout
9879 \begin_inset Flex Code
9882 \begin_layout Plain Layout
9888 ] efface un style existant.
9891 \begin_layout Description
9894 \begin_inset Flex Code
9897 \begin_layout Plain Layout
9911 \begin_inset Flex Code
9914 \begin_layout Plain Layout
9920 ] indique quelle sorte de format de fichier (tel que défini dans les préférences
9922 ) est produit par cette classe.
9923 Elle est surtout utile quand
9924 \begin_inset Flex Code
9927 \begin_layout Plain Layout
9938 \begin_inset Flex Code
9941 \begin_layout Plain Layout
9951 et que l'on veut définir un nouvelle sorte de document en programmation
9953 La chaîne est redéfinie comme
9954 \begin_inset Quotes cld
9960 \begin_inset Flex Code
9963 \begin_layout Plain Layout
9974 \begin_inset Quotes crd
9978 \begin_inset Quotes cld
9984 \begin_inset Flex Code
9987 \begin_layout Plain Layout
9998 \begin_inset Quotes crd
10001 quand la directive correspondante
10002 \begin_inset Flex Code
10005 \begin_layout Plain Layout
10016 \begin_layout Description
10019 \begin_inset Flex Code
10022 \begin_layout Plain Layout
10037 \begin_inset Flex Code
10040 \begin_layout Plain Layout
10052 \begin_inset Flex Code
10055 \begin_layout Plain Layout
10064 \begin_inset Flex Code
10067 \begin_layout Plain Layout
10077 ] indique quelle sorte de document résultant sera obtenu par cette classe.
10080 \begin_layout Description
10083 \begin_inset Flex Code
10086 \begin_layout Plain Layout
10097 \begin_inset Flex Code
10100 \begin_layout Plain Layout
10107 \begin_inset Flex Code
10110 \begin_layout Plain Layout
10116 ] précise les options, données par le seconde chaîne de caractères, pour
10117 le paquetage nommé par le première chaîne.
10119 \begin_inset Quotes cld
10123 \begin_inset Flex Code
10126 \begin_layout Plain Layout
10127 PackageOptions natbib square
10133 \begin_inset Quotes crd
10136 déclenchera le chargement de
10137 \begin_inset Flex Code
10140 \begin_layout Plain Layout
10147 \begin_inset Flex Code
10150 \begin_layout Plain Layout
10156 (pour les \SpecialChar TeX
10157 perts, ceci force \SpecialChar LyX
10159 \begin_inset Flex Code
10162 \begin_layout Plain Layout
10165 PassOptionsToPackage{natbib}{square}
10170 avant le chargement de
10171 \begin_inset Flex Code
10174 \begin_layout Plain Layout
10183 \begin_layout Description
10186 \begin_inset Flex Code
10189 \begin_layout Plain Layout
10200 \begin_inset Flex Code
10203 \begin_layout Plain Layout
10215 \begin_inset Flex Code
10218 \begin_layout Plain Layout
10227 \begin_inset Flex Code
10230 \begin_layout Plain Layout
10240 fixe la mise en page implicite.
10241 Peut être changée dans la fenêtre
10242 \begin_inset Flex Noun
10245 \begin_layout Plain Layout
10246 Document\SpecialChar menuseparator
10247 Paramètres\SpecialChar ldots
10256 \begin_layout Description
10259 \begin_inset Flex Code
10262 \begin_layout Plain Layout
10272 fixe le préambule du document \SpecialChar LaTeX
10274 Notez bien que ceci remplacera complètement toute autre directive
10277 \begin_inset Flex Code
10280 \begin_layout Plain Layout
10289 \begin_inset Flex Code
10292 \begin_layout Plain Layout
10302 (utiliser cette dernière directive si vous voulez seulement ajouter des
10303 éléments au contenu).
10304 Doit être fermé par
10305 \begin_inset Quotes cld
10309 \begin_inset Flex Code
10312 \begin_layout Plain Layout
10321 \begin_inset Quotes crd
10327 \begin_layout Description
10330 \begin_inset Flex Code
10333 \begin_layout Plain Layout
10344 \begin_inset Flex Code
10347 \begin_layout Plain Layout
10354 \begin_inset Flex Code
10357 \begin_layout Plain Layout
10366 \begin_inset space \thinspace{}
10370 \begin_inset Flex Code
10373 \begin_layout Plain Layout
10379 ] décrit si la classe fournit la fonctionnalité
10380 \begin_inset Flex Code
10383 \begin_layout Plain Layout
10392 Une fonctionnalité est en général le nom d'un paquetage (
10393 \begin_inset Flex Code
10396 \begin_layout Plain Layout
10405 \begin_inset Flex Code
10408 \begin_layout Plain Layout
10416 , \SpecialChar ldots
10417 ) ou d'une commande \SpecialChar LaTeX
10419 \begin_inset Flex Code
10422 \begin_layout Plain Layout
10431 \begin_inset Flex Code
10434 \begin_layout Plain Layout
10442 ,\SpecialChar ldots
10445 \begin_inset space ~
10449 \begin_inset CommandInset ref
10451 reference "chap:List-of-functions"
10455 pour une liste des fonctionnalités.
10458 \begin_layout Description
10461 \begin_inset Flex Code
10464 \begin_layout Plain Layout
10475 \begin_inset Flex Code
10478 \begin_layout Plain Layout
10484 ] indique que ce format fournit la fonctionnalité du module indiqué, qui
10485 doit être spécifié par le nom du fichier dans le suffixe
10486 \begin_inset Flex Code
10489 \begin_layout Plain Layout
10498 Ceci sera utilisé typiquement si le format inclut directement le module,
10499 plutôt que via le paramètre
10500 \begin_inset Flex Code
10503 \begin_layout Plain Layout
10511 pour indiquer qu'il doit être utilisé.
10512 Il pourrait être également utilisé dans un module fournissant une implantation
10513 équivalente de la même fonctionnalité.
10516 \begin_layout Description
10519 \begin_inset Flex Code
10522 \begin_layout Plain Layout
10533 \begin_inset Flex Code
10536 \begin_layout Plain Layout
10542 ] crée une nouveau style de paragraphe s'il n'existe pas déjà.
10543 S'il existe, l'entrée est ignorée.
10544 Doit être fermé par
10545 \begin_inset Quotes cld
10549 \begin_inset Flex Code
10552 \begin_layout Plain Layout
10561 \begin_inset Quotes crd
10567 \begin_layout Description
10570 \begin_inset Flex Code
10573 \begin_layout Plain Layout
10584 \begin_inset Flex Code
10587 \begin_layout Plain Layout
10593 ] indique que la classe nécessite la fonctionnalité
10594 \begin_inset Flex Code
10597 \begin_layout Plain Layout
10606 Plusieurs fonctionnalités doivent être séparées par des virgules.
10607 Noter que l'on ne peut requérir que des fonctionnalités reconnues (voir
10609 \begin_inset CommandInset ref
10611 reference "chap:List-of-functions"
10615 pour accéder à la liste des fonctionnalités).
10616 Si vous demandez un paquetage doté d'options spécifiques, vous pouvez utiliser
10618 \begin_inset Flex Code
10621 \begin_layout Plain Layout
10630 \begin_layout Description
10633 \begin_inset Flex Code
10636 \begin_layout Plain Layout
10647 \begin_inset Flex Code
10650 \begin_layout Plain Layout
10656 ] indique la largeur de la marge droite à l'écran, par exemple
10657 \begin_inset Quotes cld
10661 \begin_inset Flex Code
10664 \begin_layout Plain Layout
10671 \begin_inset Quotes crd
10677 \begin_layout Description
10680 \begin_inset Flex Code
10683 \begin_layout Plain Layout
10697 \begin_inset Flex Code
10700 \begin_layout Plain Layout
10706 ] fixe quels sectionnements doivent être numérotés.
10707 Correspond au compteur
10708 \begin_inset Flex Code
10711 \begin_layout Plain Layout
10719 en \SpecialChar LaTeX
10723 \begin_layout Description
10726 \begin_inset Flex Code
10729 \begin_layout Plain Layout
10742 \begin_inset Flex Code
10745 \begin_layout Plain Layout
10754 \begin_inset space \thinspace{}
10758 \begin_inset Flex Code
10761 \begin_layout Plain Layout
10767 ] fixe l'option implicite d'impression recto seul ou en recto verso.
10768 Peut être changé dans la fenêtre
10769 \begin_inset Flex Noun
10772 \begin_layout Plain Layout
10773 Document\SpecialChar menuseparator
10782 \begin_layout Description
10785 \begin_inset Flex Code
10788 \begin_layout Plain Layout
10799 \begin_inset Flex Code
10802 \begin_layout Plain Layout
10808 ] définit un nouveau style de paragraphe.
10809 Si le style n'existe pas, il est créé; s'il existe déjà, ses paramètres
10811 Doit être fermé par
10812 \begin_inset Quotes cld
10816 \begin_inset Flex Code
10819 \begin_layout Plain Layout
10828 \begin_inset Quotes crd
10832 \begin_inset Newline newline
10836 \begin_inset CommandInset ref
10838 reference "subsec:Styles-de-paragraphe"
10845 \begin_layout Description
10848 \begin_inset Flex Code
10851 \begin_layout Plain Layout
10867 \begin_inset Flex Code
10870 \begin_layout Plain Layout
10880 ] définit nom de la commande ou de l'envi\SpecialChar softhyphen
10881 ronnement mentionné ci-dessous.
10884 \begin_layout Description
10887 \begin_inset Flex Code
10890 \begin_layout Plain Layout
10905 \begin_inset Flex Code
10908 \begin_layout Plain Layout
10918 \begin_inset Flex Code
10921 \begin_layout Plain Layout
10931 ] indique le genre de balisage utilisé pour définir le titre d'un document.
10933 \begin_inset Flex Code
10936 \begin_layout Plain Layout
10942 signifie que la commande définie par
10943 \begin_inset Flex Code
10946 \begin_layout Plain Layout
10952 sera insérée après le dernier format avec
10955 \begin_inset Quotes cld
10961 \begin_inset Flex Code
10964 \begin_layout Plain Layout
10966 \begin_inset space ~
10977 \begin_inset Quotes crd
10984 \begin_inset Flex Code
10987 \begin_layout Plain Layout
10994 \begin_inset Flex Code
10997 \begin_layout Plain Layout
11003 est un environnement, dans lequel doit être inclus tous les formats avec
11007 \begin_inset Quotes cld
11013 \begin_inset Flex Code
11016 \begin_layout Plain Layout
11018 \begin_inset space ~
11029 \begin_inset Quotes crd
11037 \begin_layout Description
11040 \begin_inset Flex Code
11043 \begin_layout Plain Layout
11054 \begin_inset Flex Code
11057 \begin_layout Plain Layout
11063 ] fixe quels sectionnements sont inclus dans la table des matières.
11064 Correspond au compteur
11065 \begin_inset Flex Code
11068 \begin_layout Plain Layout
11076 en \SpecialChar LaTeX
11080 \begin_layout Subsection
11084 \begin_inset CommandInset label
11086 name "subsec:Section-ClassOptions"
11093 \begin_layout Standard
11095 \begin_inset Flex Code
11098 \begin_layout Plain Layout
11104 peut contenir les directives suivantes :
11107 \begin_layout Description
11110 \begin_inset Flex Code
11113 \begin_layout Plain Layout
11127 ] liste les tailles de police disponibles comme police principale du document,
11131 \begin_inset Quotes cld
11137 \begin_inset Flex Code
11140 \begin_layout Plain Layout
11149 \begin_inset Quotes crd
11157 \begin_layout Description
11160 \begin_inset Flex Code
11163 \begin_layout Plain Layout
11173 fixe le contenu de la ligne écrivant la DTD pour les classes produisant
11178 \begin_inset Quotes eld
11181 -//OASIS//DTD DocBook V4.2//EN
11182 \begin_inset Quotes erd
11188 \begin_layout Description
11191 \begin_inset Flex Code
11194 \begin_layout Plain Layout
11208 ] introduit certaines options de la classe de document, séparées par une
11209 virgule, qui seront ajoutées à la partie optionnelle de la commande
11210 \begin_inset Flex Code
11213 \begin_layout Plain Layout
11224 \begin_layout Description
11227 \begin_inset Flex Code
11230 \begin_layout Plain Layout
11242 chaîne="empty|plain|headings|fancy"
11244 ] liste les mises en page disponibles, séparées par un
11247 \begin_inset Quotes cld
11251 \begin_inset Quotes crd
11259 \begin_layout Standard
11261 \begin_inset Flex Code
11264 \begin_layout Plain Layout
11270 doit être fermée par
11271 \begin_inset Quotes cld
11277 \begin_inset Flex Code
11280 \begin_layout Plain Layout
11289 \begin_inset Quotes crd
11295 \begin_layout Subsection
11296 Styles de paragraphe
11297 \begin_inset CommandInset label
11299 name "subsec:Styles-de-paragraphe"
11306 \begin_layout Standard
11307 La description d'un style de paragraphe ressemble à ceci
11311 \begin_layout Plain Layout
11312 qui peut servir soit à définir un nouvel format soit à en modifier un déjà
11321 \begin_layout LyX-Code
11328 \begin_layout LyX-Code
11332 \begin_layout LyX-Code
11336 \begin_layout Standard
11337 dans lequel on peut mettre les commandes suivantes :
11340 \begin_layout Description
11343 \begin_inset Flex Code
11346 \begin_layout Plain Layout
11355 \begin_inset Flex Code
11358 \begin_layout Plain Layout
11366 =""] This paragraph will appear in the table of contents of the given type.
11367 An empty string disables.
11368 See also the OutlinerName and the IsTocCaption commands.
11372 \begin_layout Description
11375 \begin_inset Flex Code
11378 \begin_layout Plain Layout
11393 , left, right, center
11395 ] alignement de paragraphe.
11398 \begin_layout Description
11401 \begin_inset Flex Code
11404 \begin_layout Plain Layout
11419 , left, right, center
11425 des alignements possibles séparés par une virgule.
11426 Certains styles \SpecialChar LaTeX
11427 interdisent certains alignements, car ils n'auraient aucun
11429 Par exemple une énumération alignée à droite ou centrée est impossible.
11432 \begin_layout Description
11435 \begin_inset Flex Code
11438 \begin_layout Plain Layout
11449 \begin_inset Flex Code
11452 \begin_layout Plain Layout
11458 ] définit l'argument numéro <int> d'une commande ou environnement associé
11460 Ceci est utile pour des entités comme les en-têtes de section, et n'a de
11461 sens qu'avec \SpecialChar LaTeX
11463 Chaque argument (obligatoire ou facultatif) d'une commande ou d'un environnemen
11464 t — sauf l'argument obligatoire correspondant au contenu du paragraphe propremen
11465 t dit — est défini séparément, et le nombre précise l'ordre des arguments.
11466 La définition doit être close par
11469 \begin_inset Flex Code
11472 \begin_layout Plain Layout
11482 .Ainsi une commande avec deux arguments sera spécifiée comme suit:
11486 \begin_layout Quote
11492 \begin_layout Quote
11498 \begin_layout Quote
11504 \begin_layout Quote
11510 \begin_layout Quote
11516 \begin_layout Quote
11522 \begin_layout Standard
11523 Dans la définition de l'
11524 \begin_inset Flex Code
11527 \begin_layout Plain Layout
11533 , les spécifications suivantes sont possibles:
11536 \begin_layout Itemize
11539 \begin_inset Flex Code
11542 \begin_layout Plain Layout
11553 \begin_inset Flex Code
11556 \begin_layout Plain Layout
11562 définit la chaîne de caractères qui apparaîtra à la fois dans le menu (pour
11563 insérer cet argument) et dans le bouton d'insertion d'argument (sauf si
11564 vous spécifiez également un
11567 \begin_inset Flex Code
11570 \begin_layout Plain Layout
11581 Pour le menu, vous pouvez définir un accélérateur en ajoutant le caractère
11582 désiré à la chaîne, séparé par
11583 \begin_inset Quotes cld
11587 \begin_inset Quotes crd
11591 \begin_inset space \thinspace{}
11595 \begin_inset space \space{}
11599 \begin_inset Quotes cld
11603 \begin_inset Flex Code
11606 \begin_layout Plain Layout
11607 Éléments personnalisables|é
11613 \begin_inset Quotes crd
11619 \begin_layout Itemize
11622 \begin_inset Flex Code
11625 \begin_layout Plain Layout
11636 \begin_inset Flex Code
11639 \begin_layout Plain Layout
11645 définit une chaîne particulière pour le menu.
11646 Vous pouvez définir un accélérateur en ajoutant le caractère désiré à la
11648 \begin_inset Quotes cld
11652 \begin_inset Quotes crd
11656 \begin_inset space \thinspace{}
11660 \begin_inset space \space{}
11664 \begin_inset Quotes cld
11668 \begin_inset Flex Code
11671 \begin_layout Plain Layout
11672 Éléments personnalisables|é
11678 \begin_inset Quotes crd
11682 Cette spécification est facultative, si elle n'existe pas, la
11683 \begin_inset Flex Code
11686 \begin_layout Plain Layout
11692 sera utilisée pour le menu;
11695 \begin_layout Itemize
11698 \begin_inset Flex Code
11701 \begin_layout Plain Layout
11712 \begin_inset Flex Code
11715 \begin_layout Plain Layout
11721 définit un texte explicatif qui apparaît dans la bulle d'aide quand le
11722 curseur passe sur l'insertion d'argument;
11725 \begin_layout Itemize
11728 \begin_inset Flex Code
11731 \begin_layout Plain Layout
11742 \begin_inset Flex Code
11745 \begin_layout Plain Layout
11754 \begin_inset space \thinspace{}
11758 \begin_inset Flex Code
11761 \begin_layout Plain Layout
11767 ] précise si l’argument est obligatoire (1) ou optionnel (0).
11768 Les arguments obligatoires ont émis comme une chaîne vide s'ils ne sont
11769 pas précisés, alors que les arguments optionnels ne sont pas émis du tout.
11770 Implicitement, les arguments obligatoires sont insérés entre
11771 \begin_inset Flex Code
11774 \begin_layout Plain Layout
11780 , alors que les arguments optionnels sont insérés entre
11781 \begin_inset Flex Code
11784 \begin_layout Plain Layout
11793 \begin_layout Itemize
11796 \begin_inset Flex Code
11799 \begin_layout Plain Layout
11810 \begin_inset Flex Code
11813 \begin_layout Plain Layout
11819 définit une autre argument (par son numéro d'ordre) dont cet argument demande
11820 l’émission s'il est lui-même émis.
11821 Par exemple en \SpecialChar LaTeX
11822 , les arguments optionnels demandent l'émission d'autres
11823 arguments optionnels situés avant eux dans la liste (au moins vides), comme
11827 \begin_inset Flex Code
11830 \begin_layout Plain Layout
11835 command[][argument]{text}
11842 ou ceci peut être précisé par la directive
11845 \begin_inset Flex Code
11848 \begin_layout Plain Layout
11859 \begin_inset Flex Code
11862 \begin_layout Plain Layout
11871 \begin_layout Itemize
11874 \begin_inset Flex Code
11877 \begin_layout Plain Layout
11888 \begin_inset Flex Code
11891 \begin_layout Plain Layout
11897 définit un délimiteur gauche personnalisé (au lieu de
11898 \begin_inset Flex Code
11901 \begin_layout Plain Layout
11908 \begin_inset Flex Code
11911 \begin_layout Plain Layout
11918 Une rupture de ligne dans la sortie peut être indiqué par
11919 \begin_inset Flex Code
11922 \begin_layout Plain Layout
11931 \begin_layout Itemize
11934 \begin_inset Flex Code
11937 \begin_layout Plain Layout
11948 \begin_inset Flex Code
11951 \begin_layout Plain Layout
11957 définit un délimiteur droit personnalisé (au lieu de
11958 \begin_inset Flex Code
11961 \begin_layout Plain Layout
11968 \begin_inset Flex Code
11971 \begin_layout Plain Layout
11978 Une rupture de ligne dans la sortie peut être indiqué par
11979 \begin_inset Flex Code
11982 \begin_layout Plain Layout
11991 \begin_layout Itemize
11994 \begin_inset Flex Code
11997 \begin_layout Plain Layout
12008 \begin_inset Flex Code
12011 \begin_layout Plain Layout
12017 définit un argument qui sera inséré si et seulement si aucun argument n'est
12018 saisi par l'utilisateur, c'est-à-dire si aucun insert d'argument n'a été
12019 spécifié (notez qu'un insert d'argument vide masque le
12022 \begin_inset Flex Code
12025 \begin_layout Plain Layout
12036 Les arguments multiples doivent être séparés par des virgules;
12039 \begin_layout Itemize
12042 \begin_inset Flex Code
12045 \begin_layout Plain Layout
12056 \begin_inset Flex Code
12059 \begin_layout Plain Layout
12065 définit un argument inséré dans tous les cas (seul ou en plus des chaîne
12066 saisies par l’utilisateur).
12067 Les arguments multiples doivent être séparés par des virgules;
12070 \begin_layout Itemize
12073 \begin_inset Flex Code
12076 \begin_layout Plain Layout
12086 définit la police de caractères utilisée pour le contenu de l'argument,
12088 \begin_inset CommandInset ref
12090 reference "subsec:polices"
12097 \begin_layout Itemize
12100 \begin_inset Flex Code
12103 \begin_layout Plain Layout
12113 définit la police de caractères utilisée pour l'étiquette, voir
12114 \begin_inset CommandInset ref
12116 reference "subsec:polices"
12123 \begin_layout Itemize
12126 \begin_inset Flex Code
12129 \begin_layout Plain Layout
12138 \begin_inset Flex Code
12141 \begin_layout Plain Layout
12147 , Minimalistic, Conglomerate
12154 précise le style de rendu utilisé pour les cadres d'insertion et les boutons;
12157 \begin_layout Itemize
12160 \begin_inset Flex Code
12163 \begin_layout Plain Layout
12174 \begin_inset Flex Code
12177 \begin_layout Plain Layout
12183 force l'insertion de l’argument lorsque le style concerné est sélectionné
12184 (si sa valeur est 1).
12185 Actuellement, un seul argument par style ou format peut être inséré automatique
12189 \begin_layout Itemize
12192 \begin_inset Flex Code
12195 \begin_layout Plain Layout
12204 \begin_inset Flex Code
12207 \begin_layout Plain Layout
12218 \begin_inset Flex Code
12221 \begin_layout Plain Layout
12227 , insère l'argument avec une copie du co-texte, (soit du texte sélectionné,
12228 soit tout le paragraphe) comme contenu.
12231 \begin_layout Itemize
12234 \begin_inset Flex Code
12237 \begin_layout Plain Layout
12246 \begin_inset Flex Code
12249 \begin_layout Plain Layout
12260 ] Whether the contents of this argument should be output in raw form, meaning
12261 without special translations that \SpecialChar LaTeX
12264 \begin_inset Flex Code
12267 \begin_layout Plain Layout
12275 status is inherited by the inset or paragraph layout the argument belongs
12276 to, true and false change the status for the given argument only.
12279 \begin_layout Itemize
12282 \begin_inset Flex Code
12285 \begin_layout Plain Layout
12294 \begin_inset Flex Code
12297 \begin_layout Plain Layout
12300 string of characters
12310 définit des caractères qui doivent être transmis tel quels à la sortie,
12311 c'est-à-dire sans modifications particulières que \SpecialChar LaTeX
12313 Notez bien que, contrairement à
12317 , ceci nécessite une définition explicite pour les arguments, ceux-ci n’héritant
12322 de leur insert ou format parent.
12325 \begin_layout Itemize
12328 \begin_inset Flex Code
12331 \begin_layout Plain Layout
12340 \begin_inset Flex Code
12343 \begin_layout Plain Layout
12353 \begin_inset space \thinspace{}
12357 \begin_inset Flex Code
12360 \begin_layout Plain Layout
12368 ] If this is set to 1, the argument will output its content in the corresponding
12369 item in the table of contents.
12373 \begin_layout Standard
12374 Implicitement, le texte saisi dans la fenêtre de travail de \SpecialChar LyX
12376 considéré est le dernier argument de la commande si le
12379 \begin_inset Flex Code
12382 \begin_layout Plain Layout
12395 \begin_inset Flex Code
12398 \begin_layout Plain Layout
12409 Cependant, les arguments préfixés par
12412 \begin_inset Flex Code
12415 \begin_layout Plain Layout
12425 sont émis après cet argument de la fenêtre de travail.
12426 Notez que la numérotation des post-arguments repart de 1, de sorte que
12427 le premier argument suivant l’argument de la fenêtre de travail est
12430 \begin_inset Flex Code
12433 \begin_layout Plain Layout
12444 Les post-arguments sont ignorés dans tout autre
12447 \begin_inset Flex Code
12450 \begin_layout Plain Layout
12461 \begin_inset Flex Code
12464 \begin_layout Plain Layout
12473 \begin_layout Standard
12474 Les arguments de liste
12475 \begin_inset Flex Code
12478 \begin_layout Plain Layout
12487 \begin_inset Flex Code
12490 \begin_layout Plain Layout
12498 ) sont préfixés par
12499 \begin_inset Flex Code
12502 \begin_layout Plain Layout
12508 suivi par leur numéro (e.
12509 \begin_inset space \thinspace{}
12513 \begin_inset space \space{}
12517 \begin_inset Flex Code
12520 \begin_layout Plain Layout
12530 \begin_layout Description
12533 \begin_inset Flex Code
12536 \begin_layout Plain Layout
12546 noter que cette directive écrasera complètement toute déclaration
12547 \begin_inset Flex Code
12550 \begin_layout Plain Layout
12556 antérieure pour ce style.
12557 Doit être fermée par
12558 \begin_inset Flex Code
12561 \begin_layout Plain Layout
12569 \begin_inset CommandInset ref
12571 reference "subsec:I18n"
12575 pour les détails d'utilisation.
12578 \begin_layout Description
12581 \begin_inset Flex Code
12584 \begin_layout Plain Layout
12602 \begin_layout Plain Layout
12604 \begin_inset Quotes cld
12608 \begin_inset Quotes crd
12611 ici désigne un nombre réel, e.g.
12617 l'espacement vertical qui sépare du paragraphe suivant le dernier paragraphe
12618 d'une série doté de cette directive.
12619 Si le paragraphe suivant est doté d'un autre style, les séparations ne
12620 sont pas simplement additionnées, mais le maximum est pris en considération.La
12622 \begin_inset Flex Code
12625 \begin_layout Plain Layout
12631 pour le dernier paragraphe.
12634 \begin_layout Description
12637 \begin_inset Flex Code
12640 \begin_layout Plain Layout
12651 \begin_inset Flex Code
12654 \begin_layout Plain Layout
12660 fixe la catégorie pour ce style.
12661 Ceci est utilise pour regrouper les styles apparentés dans le menu déroulant
12662 des styles de la barre d'outils.
12663 N'importe quelle chaîne de caractères peut être utilisée, mais vous voudrez
12664 peut-être utiliser des catégories existantes pour vos propres styles.
12667 \begin_layout Description
12670 \begin_inset Flex Code
12673 \begin_layout Plain Layout
12683 fixe la profondeur d'une commande XML.
12684 Utilisable uniquement avec les formats XML.
12687 \begin_layout Description
12690 \begin_inset Flex Code
12693 \begin_layout Plain Layout
12704 \begin_inset Flex Code
12707 \begin_layout Plain Layout
12713 sert à copier toutes les caractéristiques d'un style déjà existant dans
12717 \begin_layout Description
12720 \begin_inset Flex Code
12723 \begin_layout Plain Layout
12734 \begin_inset Flex Code
12737 \begin_layout Plain Layout
12743 ] nomme un style dont le préambule devra être placé
12748 Ceci permet d'assurer une relation d'ordre entre les morceaux de préambule
12749 quand les définitions de macros dépendent les unes des autres.
12755 \begin_layout Plain Layout
12756 Noter que, à part cette fonctionnalité, il n'y a aucun moyen de garantir
12757 un ordonnancement des préambules.
12758 L'ordre que vous constatez avec une version de \SpecialChar LyX
12759 peut changer sans préavis
12760 dans les versions ultérieures.
12768 \begin_layout Description
12771 \begin_inset Flex Code
12774 \begin_layout Plain Layout
12802 ] fixe le type de marqueur qui se trouve à la fin du paragraphe (ou de la
12803 suite de paragraphes si
12804 \begin_inset Flex Code
12807 \begin_layout Plain Layout
12814 \begin_inset Flex Code
12817 \begin_layout Plain Layout
12824 \begin_inset Flex Code
12827 \begin_layout Plain Layout
12834 \begin_inset Flex Code
12837 \begin_layout Plain Layout
12845 \begin_inset Flex Code
12848 \begin_layout Plain Layout
12855 \begin_inset Quotes cld
12859 \begin_inset Quotes crd
12863 \begin_inset Flex Code
12866 \begin_layout Plain Layout
12873 \begin_inset Flex Code
12876 \begin_layout Plain Layout
12882 ) est un carré blanc (respectivement noir) en général placé à la fin des
12885 \begin_inset Flex Code
12888 \begin_layout Plain Layout
12894 est une chaîne de caractères explicitement donnée.
12897 \begin_layout Description
12900 \begin_inset Flex Code
12903 \begin_layout Plain Layout
12914 \begin_inset Flex Code
12917 \begin_layout Plain Layout
12923 fixe la chaîne utilisée pour le marqueur quand
12924 \begin_inset Newline newline
12928 \begin_inset Flex Code
12931 \begin_layout Plain Layout
12938 \begin_inset Flex Code
12941 \begin_layout Plain Layout
12950 \begin_layout Description
12953 \begin_inset Flex Code
12956 \begin_layout Plain Layout
12966 fixe la police utilisée à la fois pour le corps du texte
12972 \begin_inset CommandInset ref
12974 reference "subsec:polices"
12979 Noter qu'en définissant cette police on définit aussi automatiquement
12982 \begin_inset Flex Code
12985 \begin_layout Plain Layout
12995 avec la même valeur.
12996 Il faut donc définir celle-ci d'abord pour fixer
12999 \begin_inset Flex Code
13002 \begin_layout Plain Layout
13015 \begin_layout Description
13018 \begin_inset Flex Code
13021 \begin_layout Plain Layout
13032 \begin_inset Flex Code
13035 \begin_layout Plain Layout
13041 ] est utile pour forcer la portabilité de nouveaux styles vers des versions
13042 stables de \SpecialChar LyX
13044 La première version stable qui interprète cette directive est \SpecialChar LyX
13046 L'argument est un nombre qui peut être 0, -1 ou n'importe quel entier positif.
13048 \begin_inset Flex Code
13051 \begin_layout Plain Layout
13057 est positif, il sera toujours émis vers le préambule du document.
13058 Lors de la lecture d'un fichier
13062 , les définitions de style du préambule du document sont ajoutées à la classe
13064 De ce fait même les versions de \SpecialChar LyX
13065 plus anciennes peuvent gérer ce style.
13069 \begin_inset Flex Code
13072 \begin_layout Plain Layout
13082 est un numéro de version : si le style est lu, et si le numéro de version
13083 est inférieur au numéro de version du style existant dans la classe de
13084 document, le nouveau style est ignoré.
13085 Si le numéro de version est supérieur, le nouveau style remplace l'ancien.
13086 La valeur -1 signifie un numéro de version infini, c'est-à-dire que le
13087 style est toujours utilisé.
13090 \begin_layout Description
13093 \begin_inset Flex Code
13096 \begin_layout Plain Layout
13107 \begin_inset Flex Code
13110 \begin_layout Plain Layout
13119 \begin_inset space \thinspace{}
13123 \begin_inset Flex Code
13126 \begin_layout Plain Layout
13133 ne permet pas d'habitude d'insérer plus d'une espace entre deux mots,
13134 car une espace est considérée comme un séparateur de mots, non comme un
13135 caractère ou un symbole en tant que tel.
13136 C'est très bien mais c'est parfois ennuyeux, par exemple pour taper un
13137 code source de programme ou du code \SpecialChar LaTeX
13139 C'est pourquoi on peut activer
13140 \begin_inset Flex Code
13143 \begin_layout Plain Layout
13150 Noter que \SpecialChar LyX
13151 créera les espaces insécables correspondants aux espaces additionnel
13152 les pour tous les modes autres que le mode \SpecialChar LaTeX
13156 \begin_layout Description
13159 \begin_inset Flex Code
13162 \begin_layout Plain Layout
13170 sont utilisées avec l'exportation XHTML.
13172 \begin_inset CommandInset ref
13174 reference "subsec:Styles-de-paragraphe-XHTML"
13181 \begin_layout Description
13184 \begin_inset Flex Code
13187 \begin_layout Plain Layout
13197 (Utilisable uniquement avec les formats XML).
13200 \begin_layout Description
13203 \begin_inset Flex Code
13206 \begin_layout Plain Layout
13220 \begin_inset Flex Code
13223 \begin_layout Plain Layout
13232 \begin_inset space \thinspace{}
13236 \begin_inset Flex Code
13239 \begin_layout Plain Layout
13246 \begin_inset Flex Code
13249 \begin_layout Plain Layout
13255 que que le style doit être inclus dans le préambule plutôt que dans le
13257 Ceci est utile pour les classes de document qui désirent que les informations
13258 telles que le titre et l'auteur figurent dans le préambule.
13259 Notez bien que ceci ne fonctionne que pour les styles pour lesquels
13260 \begin_inset Flex Code
13263 \begin_layout Plain Layout
13272 \begin_inset Flex Code
13275 \begin_layout Plain Layout
13286 \begin_inset Flex Code
13289 \begin_layout Plain Layout
13300 \begin_layout Description
13303 \begin_inset Flex Code
13306 \begin_layout Plain Layout
13320 \begin_inset Flex Code
13323 \begin_layout Plain Layout
13332 \begin_inset space \thinspace{}
13336 \begin_inset Flex Code
13339 \begin_layout Plain Layout
13346 \begin_inset Flex Code
13349 \begin_layout Plain Layout
13355 que le style fait partie d'un bloc de titre (voir aussi
13356 \begin_inset Flex Code
13359 \begin_layout Plain Layout
13368 \begin_inset Flex Code
13371 \begin_layout Plain Layout
13379 dans les paramètres généraux).
13382 \begin_layout Description
13385 \begin_inset Flex Code
13388 \begin_layout Plain Layout
13397 \begin_inset Flex Code
13400 \begin_layout Plain Layout
13410 \begin_inset space \thinspace{}
13414 \begin_inset Flex Code
13417 \begin_layout Plain Layout
13425 ] If this is set to 1 and AddToToc is enabled, the paragraph adds a summary
13426 of its contents in its item in the table of contents.
13427 Otherwise, only the label, if it exists, appears.
13430 \begin_layout Description
13433 \begin_inset Flex Code
13436 \begin_layout Plain Layout
13447 \begin_inset Flex Code
13450 \begin_layout Plain Layout
13456 ] est la commande \SpecialChar LaTeX
13457 permettant de déclarer un élément d'une liste.
13458 La commande doit être définie sans la barre oblique inverse qui la précède
13459 habituellement (implicitement
13460 \begin_inset Quotes cld
13464 \begin_inset Quotes crd
13467 , qui est émis comme
13468 \begin_inset Flex Code
13471 \begin_layout Plain Layout
13479 en \SpecialChar LaTeX
13483 \begin_layout Description
13486 \begin_inset Flex Code
13489 \begin_layout Plain Layout
13500 \begin_inset Flex Code
13503 \begin_layout Plain Layout
13509 ] crée un espacement supplémentaire entre les paragraphes du même style
13510 dans un environnement.
13511 Si vous emboîtez des paragraphes d'autres formats dans un environnement,
13512 ils seront espacés de
13513 \begin_inset Flex Code
13516 \begin_layout Plain Layout
13523 Mais les éléments de l'environnement seront en plus espacés de
13524 \begin_inset Flex Code
13527 \begin_layout Plain Layout
13541 \begin_layout Description
13544 \begin_inset Flex Code
13547 \begin_layout Plain Layout
13557 (Utilisable uniquement avec les formats XML).
13560 \begin_layout Description
13563 \begin_inset Flex Code
13566 \begin_layout Plain Layout
13577 \begin_inset Flex Code
13580 \begin_layout Plain Layout
13589 \begin_inset space \thinspace{}
13593 \begin_inset Flex Code
13596 \begin_layout Plain Layout
13602 ] permet de laisser un paragraphe vide, ce que \SpecialChar LyX
13603 ne permet pas d'habitude
13604 car il ne générerait rien en \SpecialChar LaTeX
13606 Il y a quelques cas où c'est pourtant utile: dans un modèle pour une lettre,
13607 les champs requis peuvent être laissés vides, pour que les gens ne les
13608 oublient pas; dans certains cas particuliers, un style peut aussi servir
13609 de séparateur, et ne pas contenir de texte.
13612 \begin_layout Description
13615 \begin_inset Flex Code
13618 \begin_layout Plain Layout
13632 \begin_inset Flex Code
13635 \begin_layout Plain Layout
13641 ] fixe l'espacement vertical entre le marqueur et le corps du texte.
13642 Sert seulement pour les marqueurs qui sont au dessus du corps du texte
13644 \begin_inset Flex Code
13647 \begin_layout Plain Layout
13654 \begin_inset Flex Code
13657 \begin_layout Plain Layout
13658 Centered_Top_Environment
13666 \begin_layout Description
13669 \begin_inset Flex Code
13672 \begin_layout Plain Layout
13683 \begin_inset Flex Code
13686 \begin_layout Plain Layout
13692 dénomme le compteur pour la numérotation automatique.
13693 Pour que le compteur soit associé à votre étiquette, il vous faut le référencer
13697 \begin_inset Flex Code
13700 \begin_layout Plain Layout
13712 Ceci fonctionnera avec les
13715 \begin_inset Flex Code
13718 \begin_layout Plain Layout
13727 \begin_inset Flex Code
13730 \begin_layout Plain Layout
13739 \begin_inset Flex Code
13742 \begin_layout Plain Layout
13751 \begin_inset Flex Code
13754 \begin_layout Plain Layout
13765 \begin_inset Newline newline
13773 \begin_inset Flex Code
13776 \begin_layout Plain Layout
13785 \begin_inset Flex Code
13788 \begin_layout Plain Layout
13796 , bien que ce cas soit un peu compliqué.
13797 Supposez que vous déclariez
13798 \begin_inset Flex Code
13801 \begin_layout Plain Layout
13802 \begin_inset Quotes cld
13805 LabelCounter monEnum
13811 \begin_inset Quotes crd
13815 Les compteurs effectivement utilisés sont alors
13816 \begin_inset Flex Code
13819 \begin_layout Plain Layout
13826 \begin_inset Flex Code
13829 \begin_layout Plain Layout
13836 \begin_inset Flex Code
13839 \begin_layout Plain Layout
13846 \begin_inset Flex Code
13849 \begin_layout Plain Layout
13855 , tout à fait comme en \SpecialChar LaTeX
13857 Ces compteurs doivent être tous déclarés séparément.
13858 \begin_inset Newline newline
13862 \begin_inset CommandInset ref
13864 reference "subsec:Compteurs"
13868 pour les détails sur les compteurs.
13871 \begin_layout Description
13874 \begin_inset Flex Code
13877 \begin_layout Plain Layout
13887 fixe la police utilisée pour le marqueur.
13889 \begin_inset CommandInset ref
13891 reference "subsec:polices"
13898 \begin_layout Description
13901 \begin_inset Flex Code
13904 \begin_layout Plain Layout
13915 \begin_inset Flex Code
13918 \begin_layout Plain Layout
13924 fixe le texte indiquent l'importance de l'indentation d'un marqueur.
13927 \begin_layout Description
13930 \begin_inset Flex Code
13933 \begin_layout Plain Layout
13944 \begin_inset Flex Code
13947 \begin_layout Plain Layout
13953 fixe le texte indiquent l'espacement horizontal entre le marqueur et le
13955 Sert seulement pour les marqueurs qui ne sont pas au dessus du corps du
13959 \begin_layout Description
13962 \begin_inset Flex Code
13965 \begin_layout Plain Layout
13976 \begin_inset Flex Code
13979 \begin_layout Plain Layout
13985 fixe la chaîne utilisée comme marqueur avec le
13988 \begin_inset Flex Code
13991 \begin_layout Plain Layout
14000 \begin_inset Flex Code
14003 \begin_layout Plain Layout
14017 \begin_inset Flex Code
14020 \begin_layout Plain Layout
14030 est indiqué, cette chaîne peut contenir les instructions de formatage particuli
14031 ères décrites dans la
14032 \begin_inset CommandInset ref
14034 reference "subsec:Compteurs"
14041 \begin_layout Description
14044 \begin_inset Flex Code
14047 \begin_layout Plain Layout
14050 LabelStringAppendix
14058 \begin_inset Flex Code
14061 \begin_layout Plain Layout
14067 est utilisée dans une annexe à la place de
14068 \begin_inset Flex Code
14071 \begin_layout Plain Layout
14080 Noter que toute directive
14081 \begin_inset Flex Code
14084 \begin_layout Plain Layout
14093 \begin_inset Newline newline
14097 \begin_inset Flex Code
14100 \begin_layout Plain Layout
14103 LabelStringAppendix
14111 \begin_layout Description
14114 \begin_inset Flex Code
14117 \begin_layout Plain Layout
14127 (Utilisable uniquement avec les formats XML).
14130 \begin_layout Description
14133 \begin_inset Flex Code
14136 \begin_layout Plain Layout
14147 \begin_inset Flex Code
14150 \begin_layout Plain Layout
14161 \begin_inset Newline newline
14168 Sensitive, Enumerate,
14169 \begin_inset Newline newline
14172 Itemize, Bibliography
14183 \begin_layout Description
14184 \begin_inset Flex Code
14187 \begin_layout Plain Layout
14195 veut dire que le marqueur est le premier mot (avant la première vraie espace).
14196 Utilisez des espaces insécables si vous voulez mettre plus d'un mot dans
14200 \begin_layout Description
14201 \begin_inset Flex Code
14204 \begin_layout Plain Layout
14212 veut dire qu'il est défini dans le style (voir
14213 \begin_inset Flex Code
14216 \begin_layout Plain Layout
14226 \begin_inset Quotes cld
14230 \begin_inset Quotes crd
14233 , au début du paragraphe.Si le
14236 \begin_inset Flex Code
14239 \begin_layout Plain Layout
14252 \begin_inset Flex Code
14255 \begin_layout Plain Layout
14265 , alors il ne sera affiché que dans le premier paragraphe de toutes séquence
14266 de paragraphes du même
14269 \begin_inset Flex Code
14272 \begin_layout Plain Layout
14285 \begin_layout Description
14288 \begin_inset Flex Code
14291 \begin_layout Plain Layout
14302 \begin_inset space ~
14306 \begin_inset space ~
14312 \begin_inset Flex Code
14315 \begin_layout Plain Layout
14325 sont des cas particuliers de
14326 \begin_inset Flex Code
14329 \begin_layout Plain Layout
14338 Le marqueur sera imprimé au dessus du paragraphe, soit au début de la lignes,
14342 \begin_layout Description
14343 \begin_inset Flex Code
14346 \begin_layout Plain Layout
14354 est un cas particulier pour les marqueurs de légende
14355 \begin_inset Quotes cld
14359 \begin_inset Quotes crd
14363 \begin_inset Quotes cld
14367 \begin_inset Quotes crd
14372 \begin_inset Flex Code
14375 \begin_layout Plain Layout
14383 signifie que le mot affiché (défini en dur) dépend du type de flottant:
14384 il est défini dans les sources comme
14385 \begin_inset Quotes cld
14389 \begin_inset Flex Code
14392 \begin_layout Plain Layout
14401 \begin_inset Quotes crd
14405 \begin_inset Flex Code
14408 \begin_layout Plain Layout
14414 est la valeur du compteur associé au flottant.
14415 Au cas où une légende est insérée en dehors d'un flottant, le
14418 \begin_inset Flex Code
14421 \begin_layout Plain Layout
14432 \begin_inset Quotes cld
14436 \begin_inset Quotes crd
14442 \begin_layout Description
14443 \begin_inset Flex Code
14446 \begin_layout Plain Layout
14454 produit le type habituel d'étiquettes d'énumération.
14455 Pour le moment, il est défini en dur comme chiffres arabes, lettres en
14456 bas de casse, petits chiffres romains et lettres capitales pour les quatre
14457 profondeurs possibles.
14460 \begin_layout Description
14463 \begin_inset Flex Code
14466 \begin_layout Plain Layout
14476 produit des symboles pour les différents niveaux.
14477 Il est également défini en dur.
14480 \begin_layout Description
14483 \begin_inset Flex Code
14486 \begin_layout Plain Layout
14496 ne doit être utilisé qu'avec
14499 \begin_inset Flex Code
14502 \begin_layout Plain Layout
14505 LatexType BibEnvironment
14514 \begin_layout Description
14517 \begin_inset Flex Code
14520 \begin_layout Plain Layout
14530 écrasera complètement toute autre directive
14531 \begin_inset Flex Code
14534 \begin_layout Plain Layout
14541 Doit être fermée par
14542 \begin_inset Flex Code
14545 \begin_layout Plain Layout
14552 \begin_inset Newline newline
14556 \begin_inset CommandInset ref
14558 reference "subsec:I18n"
14562 pour les détails d'utilisation.
14565 \begin_layout Description
14568 \begin_inset Flex Code
14571 \begin_layout Plain Layout
14582 \begin_inset Flex Code
14585 \begin_layout Plain Layout
14591 ] fixe le nom de l'objet \SpecialChar LaTeX
14592 correspondant, soit l'environnement, soit la commande.
14595 \begin_layout Description
14598 \begin_inset Flex Code
14601 \begin_layout Plain Layout
14612 \begin_inset Flex Code
14615 \begin_layout Plain Layout
14621 ] fixe le paramètre facultatif de l'objet
14622 \begin_inset Flex Code
14625 \begin_layout Plain Layout
14632 Ce paramètre ne peut pas être changé depuis \SpecialChar LyX
14634 \begin_inset Flex Code
14637 \begin_layout Plain Layout
14643 pour les paramètres personnalisables).
14644 Ceci sera émis tel quel après tous les
14645 \begin_inset Flex Code
14648 \begin_layout Plain Layout
14654 s \SpecialChar LaTeX
14658 \begin_layout Description
14661 \begin_inset Flex Code
14664 \begin_layout Plain Layout
14675 \begin_inset Flex Code
14678 \begin_layout Plain Layout
14684 , Command, Environment, Item_Environment,
14685 \begin_inset Newline newline
14688 List_Environment, Bib_Environment
14695 ] décrit comment traduire l'environnement en \SpecialChar LaTeX
14702 \begin_layout Plain Layout
14705 \begin_inset Flex Code
14708 \begin_layout Plain Layout
14718 est peut-être trompeur, dans la mesure où ces règles s'appliquent également
14719 aux classes DocBook.
14720 Explorer les fichiers des classes DocBook (noms de fichiers
14721 \begin_inset Flex Code
14724 \begin_layout Plain Layout
14730 ) pour voir des exemples particuliers.
14739 \begin_layout Description
14740 \begin_inset Flex Code
14743 \begin_layout Plain Layout
14750 \begin_inset Quotes cld
14754 \begin_inset Quotes crd
14760 \begin_layout Description
14761 \begin_inset Flex Code
14764 \begin_layout Plain Layout
14771 \begin_inset Flex Code
14774 \begin_layout Plain Layout
14781 {\SpecialChar ldots
14790 \begin_layout Description
14791 \begin_inset Flex Code
14794 \begin_layout Plain Layout
14801 \begin_inset Flex Code
14804 \begin_layout Plain Layout
14811 }\SpecialChar ldots
14826 \begin_layout Description
14827 \begin_inset Flex Code
14830 \begin_layout Plain Layout
14836 est la même chose que
14837 \begin_inset Flex Code
14840 \begin_layout Plain Layout
14846 , sauf qu'il génère un
14847 \begin_inset Flex Code
14850 \begin_layout Plain Layout
14858 pour chaque paragraphe de l'environnement.
14861 \begin_layout Description
14862 \begin_inset Flex Code
14865 \begin_layout Plain Layout
14871 est la même chose que
14872 \begin_inset Flex Code
14875 \begin_layout Plain Layout
14882 \begin_inset Newline newline
14886 \begin_inset Flex Code
14889 \begin_layout Plain Layout
14895 est passé en paramètre de l'environnement.
14896 \begin_inset Newline newline
14900 \begin_inset Flex Code
14903 \begin_layout Plain Layout
14909 peut être défini dans la fenêtre
14910 \begin_inset Flex Noun
14913 \begin_layout Plain Layout
14914 Édition\SpecialChar menuseparator
14916 \begin_inset space ~
14920 \begin_inset space ~
14931 \begin_layout Description
14934 \begin_inset Flex Code
14937 \begin_layout Plain Layout
14950 \begin_inset Flex Code
14953 \begin_layout Plain Layout
14963 , mais ajoute l'argument obligatoire nécessaire (l'étiquette la plus longue)
14964 à la directive de début de l’environnement bibliographique:
14967 \begin_inset Newline newline
14971 \begin_inset Flex Code
14974 \begin_layout Plain Layout
14979 begin{thebibliography}{99}
14987 Cette directive n'est donc nécessaire que pour les environnements bibliographiq
14989 L’étiquette implicite
14990 \begin_inset Quotes cld
14994 \begin_inset Quotes crd
14997 peut être modifiée par l'utilisateur dans les réglages de paragraphe d'une
14998 entrée bibliographique.
15001 \begin_layout Standard
15002 En collectant ces derniers éléments, l'exportation \SpecialChar LaTeX
15006 \begin_layout LyX-Code
15011 LatexName[LatexParam]{\SpecialChar ldots
15015 \begin_layout Standard
15019 \begin_layout LyX-Code
15024 begin{LatexName}[LatexParam] \SpecialChar ldots
15030 \begin_layout Standard
15031 en fonction du type \SpecialChar LaTeX
15036 \begin_layout Description
15039 \begin_inset Flex Code
15042 \begin_layout Plain Layout
15053 \begin_inset Flex Code
15056 \begin_layout Plain Layout
15062 ] définit une chaîne de caractères insérée au début du contenu du style.
15063 Une rupture de ligne dans la sortie peut être indiquée par
15064 \begin_inset Flex Code
15067 \begin_layout Plain Layout
15076 \begin_layout Description
15079 \begin_inset Flex Code
15082 \begin_layout Plain Layout
15093 \begin_inset Flex Code
15096 \begin_layout Plain Layout
15102 fixe la marge gauche: si vous mettez des styles dans un environnement,
15106 \begin_inset Flex Code
15109 \begin_layout Plain Layout
15119 ne seront pas ajoutées directement, mais avec un facteur
15120 \begin_inset Formula $\frac{4}{\mathrm{profondeur}+4}$
15124 Notez que ce paramètre sert aussi quand
15127 \begin_inset Flex Code
15130 \begin_layout Plain Layout
15141 \begin_inset Flex Code
15144 \begin_layout Plain Layout
15153 \begin_inset Flex Code
15156 \begin_layout Plain Layout
15165 Il est alors ajouté à la marge manuelle ou dynamique.
15166 \begin_inset Newline newline
15170 \begin_inset Quotes cld
15174 \begin_inset Flex Code
15177 \begin_layout Plain Layout
15184 \begin_inset Quotes crd
15187 signifie que le paragraphe est indenté avec la largeur de
15188 \begin_inset Quotes cld
15192 \begin_inset Flex Code
15195 \begin_layout Plain Layout
15202 \begin_inset Quotes crd
15205 dans la police normale.
15206 Il est possible de créer une largeur négative avec
15207 \begin_inset Quotes cld
15211 \begin_inset Flex Code
15214 \begin_layout Plain Layout
15221 \begin_inset Quotes crd
15225 Cette solution a été choisie pour que l'apparence soit la même quelle que
15226 soit la police d'écran.
15229 \begin_layout Description
15232 \begin_inset Flex Code
15235 \begin_layout Plain Layout
15244 \begin_inset Flex Code
15247 \begin_layout Plain Layout
15253 , Manual, Dynamic, First_Dynamic, Right_Address_Box
15259 \begin_inset Newline newline
15264 fixe le type de marge à gauche du format.
15268 \begin_layout Description
15269 \begin_inset Flex Code
15272 \begin_layout Plain Layout
15280 veut dire une marge fixe.
15283 \begin_layout Description
15284 \begin_inset Flex Code
15287 \begin_layout Plain Layout
15295 veut dire que la marge de gauche dépend de ce qu'il y a dans la fenêtre
15297 \begin_inset Flex Noun
15300 \begin_layout Plain Layout
15301 Édition\SpecialChar menuseparator
15303 \begin_inset space ~
15307 \begin_inset space ~
15316 Ceci sert à obtenir des listes bien mises en page sans tabulations.
15319 \begin_layout Description
15320 \begin_inset Flex Code
15323 \begin_layout Plain Layout
15331 veut dire que la marge dépend de la taille du marqueur.
15332 Ceci sert entre autres aux en-têtes numérotés.
15333 Il est évident que l'en-tête
15334 \begin_inset Quotes cld
15337 5.4.3.2.1 Très long en-tête
15338 \begin_inset Quotes crd
15341 doit avoir une marge de gauche plus grande (autant que
15342 \begin_inset Quotes cld
15346 \begin_inset Quotes crd
15350 \begin_inset Quotes cld
15353 3.2 Très long en-tête
15354 \begin_inset Quotes crd
15357 , même si les autres traitements de texte ne savent pas le faire.
15360 \begin_layout Description
15361 \begin_inset Flex Code
15364 \begin_layout Plain Layout
15372 est similaire, mais seulement la toute première ligne du paragraphe est
15373 dynamique, les autres étant statiques; ceci est utile par exemple pour
15377 \begin_layout Description
15378 \begin_inset Flex Code
15381 \begin_layout Plain Layout
15389 signifie que la marge est choisie pour que la ligne la plus longue du paragraph
15390 e touche la marge de droite.
15391 Ceci sert à typographier une adresse sur le bord droit de la page.
15395 \begin_layout Description
15398 \begin_inset Flex Code
15401 \begin_layout Plain Layout
15412 \begin_inset Flex Code
15415 \begin_layout Plain Layout
15424 \begin_inset space \thinspace{}
15428 \begin_inset Flex Code
15431 \begin_layout Plain Layout
15437 ] indique si les commandes fragiles doivent être protégées par
15438 \begin_inset Flex Code
15441 \begin_layout Plain Layout
15449 dans ce style (Note: ceci n'indique pas si cette commande elle-même doit
15453 \begin_layout Description
15456 \begin_inset Flex Code
15459 \begin_layout Plain Layout
15470 \begin_inset Flex Code
15473 \begin_layout Plain Layout
15480 \begin_inset space \thinspace{}
15484 \begin_inset Flex Code
15487 \begin_layout Plain Layout
15495 ] indique si les nouvelles lignes sont traduites ou non en sauts de ligne
15498 \begin_inset Flex Code
15501 \begin_layout Plain Layout
15512 La traduction peut être désactivée pour permettre d'éditer plus confortablement
15513 du \SpecialChar LaTeX
15514 depuis \SpecialChar LyX
15518 \begin_layout Description
15521 \begin_inset Flex Code
15524 \begin_layout Plain Layout
15535 \begin_inset Flex Code
15538 \begin_layout Plain Layout
15547 \begin_inset space \thinspace{}
15551 \begin_inset Flex Code
15554 \begin_layout Plain Layout
15560 ] indique si \SpecialChar LyX
15561 indente ou non la première ligne du paragraphe suivant.
15563 \begin_inset Flex Code
15566 \begin_layout Plain Layout
15572 veut dire qu'il ne peut pas,
15573 \begin_inset Flex Code
15576 \begin_layout Plain Layout
15582 veut dire qu'il peut s'il le veut.
15585 \begin_layout Description
15588 \begin_inset Flex Code
15591 \begin_layout Plain Layout
15602 \begin_inset Flex Code
15605 \begin_layout Plain Layout
15611 ] dénomme un style qui a remplacé ce style en cours.
15612 Ceci est utilisé pour renommer un style en conservant la rétrocompatibilité.
15615 \begin_layout Description
15618 \begin_inset Flex Code
15621 \begin_layout Plain Layout
15630 \begin_inset Flex Code
15633 \begin_layout Plain Layout
15642 \begin_inset space \thinspace{}
15646 \begin_inset Flex Code
15649 \begin_layout Plain Layout
15659 détermine si les paragraphes consécutifs du même type sont traités ensemble.
15660 Ceci a pour effet de déclencher une seule fois pour le groupe l'impression
15662 \begin_inset Flex Code
15665 \begin_layout Plain Layout
15672 Implicitement, ceci est vrai pour les environnements
15673 \begin_inset Flex Code
15676 \begin_layout Plain Layout
15683 \begin_inset Flex Code
15686 \begin_layout Plain Layout
15693 \begin_inset Flex Code
15696 \begin_layout Plain Layout
15702 et faux pour tous les autres types.
15705 \begin_layout Description
15708 \begin_inset Flex Code
15711 \begin_layout Plain Layout
15722 \begin_inset Flex Code
15725 \begin_layout Plain Layout
15734 \begin_inset space \thinspace{}
15738 \begin_inset Flex Code
15741 \begin_layout Plain Layout
15747 ] indique que les paragraphes ne seront pas séparés par une ligne vide dans
15748 le résultat \SpecialChar LaTeX
15749 , mais par un retour à la ligne; combiné avec
15750 \begin_inset Flex Code
15753 \begin_layout Plain Layout
15759 , ceci permet d'émuler une éditeur plein texte (comme l'insert code \SpecialChar TeX
15763 \begin_layout Description
15766 \begin_inset Flex Code
15769 \begin_layout Plain Layout
15780 \begin_inset Flex Code
15783 \begin_layout Plain Layout
15789 fixe l'indentation de la toute première ligne d'un paragraphe.
15791 \begin_inset Flex Code
15794 \begin_layout Plain Layout
15800 est fixé pour un format donné, à l'exception du format
15801 \begin_inset Flex Code
15804 \begin_layout Plain Layout
15810 , car l'indentation d'un paragraphe dans l'environnement
15811 \begin_inset Flex Code
15814 \begin_layout Plain Layout
15820 peut être empêchée par
15821 \begin_inset Flex Code
15824 \begin_layout Plain Layout
15831 De plus, les paragraphes de style
15832 \begin_inset Flex Code
15835 \begin_layout Plain Layout
15841 emboîtés dans d'autres environnements utilisent le
15842 \begin_inset Flex Code
15845 \begin_layout Plain Layout
15851 de l'environne\SpecialChar softhyphen
15853 Par exemple, les paragraphes
15854 \begin_inset Flex Code
15857 \begin_layout Plain Layout
15863 dans une énumération ne sont pas indentés.
15866 \begin_layout Description
15869 \begin_inset Flex Code
15872 \begin_layout Plain Layout
15886 ] fixe l'espacement vertical entre deux paragraphes dans le style.
15889 \begin_layout Description
15892 \begin_inset Flex Code
15895 \begin_layout Plain Layout
15909 ] fixe la valeur d'interligne entre paragraphes.
15911 donne le choix entre
15912 \begin_inset Flex Code
15915 \begin_layout Plain Layout
15922 \begin_inset Flex Code
15925 \begin_layout Plain Layout
15931 pour séparer les paragraphes.
15933 \begin_inset Flex Code
15936 \begin_layout Plain Layout
15942 , cette valeur n'est pas prise en compte.
15944 \begin_inset Flex Code
15947 \begin_layout Plain Layout
15954 \begin_inset Flex Code
15957 \begin_layout Plain Layout
15963 n'est pas prise en compte et tous les paragraphes sont séparés par ce paramètre
15965 \begin_inset Flex Code
15968 \begin_layout Plain Layout
15974 , en plus de l'interligne normal.
15975 L'espacement vertical est calculé par
15976 \begin_inset Flex Code
15979 \begin_layout Plain Layout
15980 valeur*DefaultHeight()
15989 est la valeur choisie pour
15990 \begin_inset Flex Code
15993 \begin_layout Plain Layout
16000 \begin_inset Flex Code
16003 \begin_layout Plain Layout
16009 est la hauteur d'une ligne dans la police normale.
16010 De cette façon, l'aspect reste le même quelle que soit la police à l'écran.
16013 \begin_layout Description
16016 \begin_inset Flex Code
16019 \begin_layout Plain Layout
16030 \begin_inset Flex Code
16033 \begin_layout Plain Layout
16042 \begin_inset space \thinspace{}
16046 \begin_inset Flex Code
16049 \begin_layout Plain Layout
16055 ] indique si le contenu du paragraphe doit être passé sous forme brute,
16056 c'est-à-dire sans les traductions spéciales dont \SpecialChar LaTeX
16061 \begin_layout Description
16064 \begin_inset Flex Code
16067 \begin_layout Plain Layout
16078 \begin_inset Flex Code
16081 \begin_layout Plain Layout
16092 Defines individual characters that should be output in raw form, meaning
16093 without special translations that \SpecialChar LaTeX
16097 \begin_layout Description
16100 \begin_inset Flex Code
16103 \begin_layout Plain Layout
16113 fixe le contenu à inclure dans le préambule \SpecialChar LaTeX
16114 quand le style est utilisé.
16115 Utile pour définir des macros, charger des paquetages, etc.
16116 requis pour ce style particulier.
16117 Doit être fermé par
16118 \begin_inset Quotes cld
16122 \begin_inset Flex Code
16125 \begin_layout Plain Layout
16134 \begin_inset Quotes crd
16140 \begin_layout Description
16143 \begin_inset Flex Code
16146 \begin_layout Plain Layout
16157 \begin_inset Flex Code
16160 \begin_layout Plain Layout
16166 ] indique le préfixe à utiliser pour créer des étiquettes référant les paragraph
16168 Ceci permet l'utilisation de références mises en forme.
16171 \begin_layout Description
16174 \begin_inset Flex Code
16177 \begin_layout Plain Layout
16188 \begin_inset Flex Code
16191 \begin_layout Plain Layout
16197 ] indique que le style requiert la fonctionnalité chaîne (voir
16198 \begin_inset space ~
16202 \begin_inset CommandInset ref
16204 reference "chap:List-of-functions"
16208 pour la liste des fonctionnalités).
16209 Si vous demandez un paquetage doté d'options spécifiques, vous pouvez en
16211 \begin_inset Flex Code
16214 \begin_layout Plain Layout
16220 en tant que paramètre général pour la classe de texte (voir
16221 \begin_inset space ~
16225 \begin_inset CommandInset ref
16227 reference "subsec:Paramètres-généraux-d'une"
16234 \begin_layout Description
16237 \begin_inset Flex Code
16240 \begin_layout Plain Layout
16251 \begin_inset Flex Code
16254 \begin_layout Plain Layout
16263 \begin_inset Flex Code
16266 \begin_layout Plain Layout
16272 ] réinitialise les arguments \SpecialChar LaTeX
16273 de ce style ( tels que définis par la directive
16276 \begin_inset Flex Code
16279 \begin_layout Plain Layout
16290 Ceci est utile si vous avez dupliqué un style en utilisant
16293 \begin_inset Flex Code
16296 \begin_layout Plain Layout
16306 , et que vous ne voulez pas hériter de ses arguments (obligatoires et optionnels
16310 \begin_layout Description
16313 \begin_inset Flex Code
16316 \begin_layout Plain Layout
16325 \begin_inset Flex Code
16328 \begin_layout Plain Layout
16338 \begin_inset Flex Code
16341 \begin_layout Plain Layout
16349 ] Resumes a counter that is usually reset at each new sequence of layouts.
16350 This is currently only useful when
16351 \begin_inset Flex Code
16354 \begin_layout Plain Layout
16363 \begin_inset Flex Code
16366 \begin_layout Plain Layout
16377 \begin_layout Description
16380 \begin_inset Flex Code
16383 \begin_layout Plain Layout
16394 \begin_inset Flex Code
16397 \begin_layout Plain Layout
16403 ] définit une chaîne de caractères insérée à la fin du contenu du style.
16404 Une rupture de ligne dans la sortie peut être indiquée par
16405 \begin_inset Flex Code
16408 \begin_layout Plain Layout
16417 \begin_layout Description
16420 \begin_inset Flex Code
16423 \begin_layout Plain Layout
16434 \begin_inset Flex Code
16437 \begin_layout Plain Layout
16450 \begin_layout Description
16453 \begin_inset Flex Code
16456 \begin_layout Plain Layout
16469 \begin_inset Flex Code
16472 \begin_layout Plain Layout
16482 \begin_inset Flex Code
16485 \begin_layout Plain Layout
16494 \begin_inset Flex Code
16497 \begin_layout Plain Layout
16506 \begin_inset Flex Code
16509 \begin_layout Plain Layout
16515 \begin_inset space ~
16525 ] définit l'interligne par défaut dans ce style.
16527 \begin_inset Flex Code
16530 \begin_layout Plain Layout
16537 \begin_inset Flex Code
16540 \begin_layout Plain Layout
16547 \begin_inset Flex Code
16550 \begin_layout Plain Layout
16556 correspondent respectivement à un facteur multiplicatif de 1, 1,25 et 1,667.
16557 Si vous mettez le paramètre
16558 \begin_inset Flex Code
16561 \begin_layout Plain Layout
16567 , vous devez aussi mettre une valeur numérique qui servira de facteur multiplica
16569 Notez que, contrairement aux autres paramètres,
16570 \begin_inset Flex Code
16573 \begin_layout Plain Layout
16579 implique de générer du code \SpecialChar LaTeX
16580 spécifique, qui utilise le paquetage \SpecialChar LaTeX
16582 \begin_inset Flex Code
16585 \begin_layout Plain Layout
16594 \begin_layout Description
16597 \begin_inset Flex Code
16600 \begin_layout Plain Layout
16611 \begin_inset Flex Code
16614 \begin_layout Plain Layout
16621 \begin_inset space \thinspace{}
16625 \begin_inset Flex Code
16628 \begin_layout Plain Layout
16636 ] active la correction orthographique du style.
16637 Implicitement vrai.
16640 \begin_layout Description
16643 \begin_inset Flex Code
16646 \begin_layout Plain Layout
16655 \begin_inset Flex Code
16658 \begin_layout Plain Layout
16668 \begin_inset Flex Code
16671 \begin_layout Plain Layout
16679 ] Steps the master counter of a given counter at the beginning of a new
16680 sequence of layouts.
16681 This is currently only useful when
16682 \begin_inset Flex Code
16685 \begin_layout Plain Layout
16694 \begin_inset Flex Code
16697 \begin_layout Plain Layout
16708 \begin_layout Description
16711 \begin_inset Flex Code
16714 \begin_layout Plain Layout
16724 fixe la police utilisée pour le corps du texte.
16726 \begin_inset CommandInset ref
16728 reference "subsec:polices"
16735 \begin_layout Description
16738 \begin_inset Flex Code
16741 \begin_layout Plain Layout
16752 \begin_inset Flex Code
16755 \begin_layout Plain Layout
16761 ] fixe le niveau du style dans le table des matières.
16762 Ceci est utilisé pour la numérotation automatique des en-têtes.
16765 \begin_layout Description
16768 \begin_inset Flex Code
16771 \begin_layout Plain Layout
16782 \begin_inset Flex Code
16785 \begin_layout Plain Layout
16797 \begin_inset Flex Code
16800 \begin_layout Plain Layout
16809 \begin_inset Flex Code
16812 \begin_layout Plain Layout
16822 détermine si l'indentation de la première ligne de ce paragraphe peut être
16823 réglée via le menu des réglages de paragraphe.
16827 \begin_inset Flex Code
16830 \begin_layout Plain Layout
16840 est choisi, l'indentation peut être réglée si les réglages de document
16841 utilisent un style de paragraphe avec
16842 \begin_inset Quotes cld
16846 \begin_inset Quotes crd
16850 \begin_inset Flex Code
16853 \begin_layout Plain Layout
16859 , l'indentation est toujours réglable quels que soient les réglages du document;
16861 \begin_inset Flex Code
16864 \begin_layout Plain Layout
16870 , l'indentation n'est jamais réglable.
16873 \begin_layout Description
16876 \begin_inset Flex Code
16879 \begin_layout Plain Layout
16893 ] fixe L'espacement vertical qui sépare le premier paragraphe dans une série
16894 du même style, du paragraphe qui le précède.
16895 Si le paragraphe précédent est dans un autre style, les séparations ne
16896 s'ajoutent pas, mais \SpecialChar LyX
16897 prend le maximum des deux.
16900 \begin_layout Subsection
16901 \begin_inset CommandInset label
16907 Internationalisation des styles de paragraphes
16910 \begin_layout Standard
16912 effectue depuis longtemps la traduction des informations de format, mais,
16913 jusqu'à la version 2.0, ceci ne s'appliquait qu'à l'interface utilisateur
16914 et non pas par exemple au résultat PDF.
16915 Ainsi les auteurs francophones devaient avoir recours à des astuces pénibles
16916 s'ils voulaient obtenir
16917 \begin_inset Quotes cld
16921 \begin_inset Quotes crd
16925 \begin_inset Quotes cld
16929 \begin_inset Quotes crd
16937 , ce n'est plus le cas.
16940 \begin_layout Standard
16942 \begin_inset Flex Code
16945 \begin_layout Plain Layout
16951 définit un texte qui doit apparaître dans le le document typographique,
16953 \begin_inset Flex Code
16956 \begin_layout Plain Layout
16963 \begin_inset Flex Code
16966 \begin_layout Plain Layout
16972 pour traiter correctement les documents non anglophones, et même multilingues.
16973 L'extrait suivant (du fichier
16974 \begin_inset Flex Code
16977 \begin_layout Plain Layout
16983 ) illustre le fonctionnement:
16986 \begin_layout LyX-Code
16993 \begin_layout LyX-Code
16998 theoremstyle{remark}
17001 \begin_layout LyX-Code
17006 newtheorem{claim}[thm]{
17013 \begin_layout LyX-Code
17019 \begin_layout LyX-Code
17025 \begin_layout LyX-Code
17032 claimname}{_(Claim)}
17035 \begin_layout LyX-Code
17041 \begin_layout LyX-Code
17047 \begin_layout LyX-Code
17058 claimname}{_(Claim)}}
17061 \begin_layout LyX-Code
17068 \begin_layout Standard
17069 En principe, toute commande \SpecialChar LaTeX
17070 autorisée peut apparaître dans les directives
17072 \begin_inset Flex Code
17075 \begin_layout Plain Layout
17082 \begin_inset Flex Code
17085 \begin_layout Plain Layout
17091 , mais dans la pratique elles se présenteront typiquement comme ce qui est
17093 La clé de la traduction correcte du texte typographié est la définition
17094 de le commande \SpecialChar LaTeX
17096 \begin_inset Flex Code
17099 \begin_layout Plain Layout
17107 et son utilisation avec
17108 \begin_inset Flex Code
17111 \begin_layout Plain Layout
17123 \begin_layout Standard
17125 \begin_inset Flex Code
17128 \begin_layout Plain Layout
17134 fournit ce qu'il faut pour l'internationalisation fondée sur le langage
17135 global du document.
17136 Le contenu de la directive sera inclus dans le préambule, comme avec la
17138 \begin_inset Flex Code
17141 \begin_layout Plain Layout
17148 Ce qui la rend singulière est l'utilisation de la
17149 \begin_inset Quotes cld
17153 \begin_inset Quotes crd
17157 \begin_inset Flex Code
17160 \begin_layout Plain Layout
17166 , qui sera remplacée, lorsque \SpecialChar LyX
17167 produira le résultat \SpecialChar LaTeX
17168 , par la traduction
17169 de son argument dans la langue du document
17173 \begin_layout Plain Layout
17174 Pour ceux qui s'intéressent au fonctionnement sous-jacent, la fonction
17175 \begin_inset Quotes cld
17179 \begin_inset Flex Code
17182 \begin_layout Plain Layout
17189 \begin_inset Quotes crd
17193 \begin_inset Flex Code
17196 \begin_layout Plain Layout
17202 , qui constitue le cœur du mécanisme de traduction de l'interface \SpecialChar LyX
17204 est étendue ici à la traduction à la volée de code \SpecialChar LaTeX
17213 \begin_layout Standard
17215 \begin_inset Flex Code
17218 \begin_layout Plain Layout
17224 est plus compliquée, car elle fournit une fonctionnalité adaptée aux documents
17225 multilingues et propose par conséquent une interface pour le paquetage
17227 \begin_inset Flex Code
17230 \begin_layout Plain Layout
17236 Son contenu sera ajouté au préambule une fois pour chaque langue utilisée
17238 Dans ce cas, l'argument de
17239 \begin_inset Flex Code
17242 \begin_layout Plain Layout
17248 sera remplacé par sa traduction dans le langage en question: l'expression
17250 \begin_inset Flex Code
17253 \begin_layout Plain Layout
17259 est remplacée par le nom de la langue (telle qu'il est connu de
17260 \begin_inset Flex Code
17263 \begin_layout Plain Layout
17273 \begin_layout Standard
17274 Un document en allemand qui inclut aussi un paragraphe en français aura
17275 donc ceci dans le préambule:
17278 \begin_layout LyX-Code
17289 claimname}{Affirmation}}
17290 \begin_inset Newline newline
17301 claimname}{Behauptung}}
17302 \begin_inset Newline newline
17309 claimname}{Behauptung}
17312 \begin_layout Standard
17315 \begin_inset Flex Code
17318 \begin_layout Plain Layout
17324 vont alors conspirer pour créer le texte correct dans le résultat imprimable.
17327 \begin_layout Standard
17328 Un point important à noter est que les traductions sont celles qui sont
17329 fournies par \SpecialChar LyX
17330 lui-même, via le fichier
17333 \begin_inset Flex Code
17336 \begin_layout Plain Layout
17348 \begin_inset Flex Code
17351 \begin_layout Plain Layout
17358 \begin_inset Flex Code
17361 \begin_layout Plain Layout
17367 ne sont effectifs que dans les fichiers de format fournis avec \SpecialChar LyX
17369 les fichiers de format créés par l'utilisateur ne seront pas explorés par
17370 les fonctions d'internationalisation, sauf si le fichier
17373 \begin_inset Flex Code
17376 \begin_layout Plain Layout
17386 est modifié en conséquence.
17387 Ceci dit, tout fichier de format créé dans le but d'être distribué avec
17389 doit inclure ces directives s'il y a lieu.
17390 Notez bien que les traductions des styles de paragraphe ne changeront jamais
17391 avec les publications de maintenance des versions de \SpecialChar LyX
17393 de la version 2.1.x à la version 2.1.y).
17394 Il est cependant très probable qu'à l'occasion d'une publication majeure
17396 de 2.0.x à 2.1.0), de nouvelles traductions ou corrections soient introduites
17400 \begin_layout Subsection
17402 \begin_inset CommandInset label
17404 name "subsec:Flottants"
17411 \begin_layout Standard
17412 Il faut définir les flottants (
17413 \begin_inset Flex Code
17416 \begin_layout Plain Layout
17423 \begin_inset Flex Code
17426 \begin_layout Plain Layout
17433 ) dans la classe elle-même.
17434 Si vous cherchez à savoir comment mettre à jour une classe déjà existante,
17435 il suffit probablement que vous ajoutiez
17438 \begin_layout LyX-Code
17439 Input stdfloats.inc
17442 \begin_layout Standard
17443 à un endroit raisonnable dans la classe
17447 \begin_layout Plain Layout
17448 N'oubliez pas de jeter aussi un
17452 \begin_layout Plain Layout
17461 il sur les compteurs dans la section suivante.
17467 Si vous voulez implémenter une classe de texte qui propose un nouveau type
17468 de flottant (comme la classe AGU fournie avec \SpecialChar LyX
17469 ), les explications ci-dessous
17470 vont sans doute vous être utiles :
17473 \begin_layout Description
17476 \begin_inset Flex Code
17479 \begin_layout Plain Layout
17490 \begin_inset Flex Code
17493 \begin_layout Plain Layout
17499 =!htbpH] définit les options de placement pour ce type de flottant.
17500 La valeur est une chaîne de paramètres de placement, les caractères autorisés
17510 \begin_inset Quotes cld
17514 \begin_inset Quotes crd
17526 \begin_inset Quotes cld
17530 \begin_inset Quotes crd
17542 \begin_inset Quotes cld
17546 \begin_inset Quotes crd
17554 \begin_inset Quotes cld
17558 \begin_inset Quotes crd
17566 \begin_inset Quotes cld
17570 \begin_inset Quotes crd
17578 \begin_inset Quotes cld
17581 ignorer les règles \SpecialChar LaTeX
17583 L'ordre des caractères est indifférent.
17584 Si aucune option n'est autorisée, utiliser la chaîne de caractères
17591 \begin_layout Description
17594 \begin_inset Flex Code
17597 \begin_layout Plain Layout
17608 \begin_inset Flex Code
17611 \begin_layout Plain Layout
17618 \begin_inset space \thinspace{}
17624 \begin_inset Flex Code
17627 \begin_layout Plain Layout
17635 ] précise si le flottant peut subir une rotation grâce au paquetage \SpecialChar LaTeX
17642 \begin_inset Flex Code
17645 \begin_layout Plain Layout
17651 si le flottant ne peut pas bénéficier de cette fonctionnalité.
17654 \begin_layout Description
17657 \begin_inset Flex Code
17660 \begin_layout Plain Layout
17671 \begin_inset Flex Code
17674 \begin_layout Plain Layout
17681 \begin_inset space \thinspace{}
17687 \begin_inset Flex Code
17690 \begin_layout Plain Layout
17698 ] précise si le flottant possède une variante étoilée qui s'étend sur les
17699 colonnes dans un paragraphe à deux colonnes.
17701 \begin_inset Flex Code
17704 \begin_layout Plain Layout
17710 si le flottant ne peut pas bénéficier de cette fonctionnalité.
17713 \begin_layout Description
17716 \begin_inset Flex Code
17719 \begin_layout Plain Layout
17733 \begin_inset Flex Code
17736 \begin_layout Plain Layout
17742 ] définit le suffixe d'un fichier auxiliaire contenant la liste des flottants
17745 écrit les légendes dans ce fichier.
17748 \begin_layout Description
17751 \begin_inset Flex Code
17754 \begin_layout Plain Layout
17765 \begin_inset Flex Code
17768 \begin_layout Plain Layout
17774 ] définit la chaîne de caractères qui se trouvera dans les menus et également
17776 Ceci est traduit dans le langage courant si
17777 \begin_inset Flex Code
17780 \begin_layout Plain Layout
17789 \begin_layout Description
17790 \begin_inset Flex Code
17793 \begin_layout Plain Layout
17799 sont utilisées avec l'exportation XHTML.
17801 \begin_inset CommandInset ref
17803 reference "sec:Tags-for-XHTML"
17810 \begin_layout Description
17813 \begin_inset Flex Code
17816 \begin_layout Plain Layout
17827 \begin_inset Flex Code
17830 \begin_layout Plain Layout
17839 \begin_inset space \thinspace{}
17843 \begin_inset Flex Code
17846 \begin_layout Plain Layout
17852 ] indique si le flottant est déjà défini dans la classe de document ou s'il
17853 faut charger le paquetage \SpecialChar LaTeX
17855 \begin_inset Flex Code
17858 \begin_layout Plain Layout
17864 pour le définir à la volée.
17865 La valeur implicite est
17866 \begin_inset Flex Code
17869 \begin_layout Plain Layout
17875 qui signifie: utiliser
17876 \begin_inset Flex Code
17879 \begin_layout Plain Layout
17886 Elle doit être positionnée sur
17887 \begin_inset Flex Code
17890 \begin_layout Plain Layout
17896 si le flottant est déjà défini par la classe de document.
17899 \begin_layout Description
17902 \begin_inset Flex Code
17905 \begin_layout Plain Layout
17916 \begin_inset Flex Code
17919 \begin_layout Plain Layout
17925 ] détermine la commande utilisée pour engendrer une liste de flottants du
17927 \begin_inset Quotes cld
17933 \begin_inset Quotes crd
17936 initial doit être omis.
17942 \begin_inset Flex Code
17945 \begin_layout Plain Layout
17951 est faux, puisqu'il n'y a alors pas de procédure pour activer cette commande.
17952 La directive est ignorée si
17953 \begin_inset Flex Code
17956 \begin_layout Plain Layout
17962 est vrai, puisqu'il y a alors une procédure.
17965 \begin_layout Description
17968 \begin_inset Flex Code
17971 \begin_layout Plain Layout
17982 \begin_inset Flex Code
17985 \begin_layout Plain Layout
17991 ] fixe le titre utilisé pour une liste des flottants du type considéré (figures,
17993 Il est utilisé pour l'étiquette à l'écran dans \SpecialChar LyX
17994 ; il est passé à \SpecialChar LaTeX
17996 utilisé comme titre, et il est également utilisé comme titre dans l'exportation
17998 Il sera traduit dans le langage du document.
18001 \begin_layout Description
18004 \begin_inset Flex Code
18007 \begin_layout Plain Layout
18018 \begin_inset Flex Code
18021 \begin_layout Plain Layout
18027 ] (paramètre facultatif) détermine si les flottants de cette classe seront
18028 numérotés en suivant un type de section du document.
18032 \begin_inset Flex Code
18035 \begin_layout Plain Layout
18046 \begin_inset Quotes cld
18050 \begin_inset Flex Code
18053 \begin_layout Plain Layout
18062 \begin_inset Quotes crd
18065 , les flottants seront numérotés chapitre par chapitre.
18068 \begin_layout Description
18071 \begin_inset Flex Code
18074 \begin_layout Plain Layout
18085 \begin_inset Flex Code
18088 \begin_layout Plain Layout
18094 ] définit le placement implicite pour cette catégorie de flottants.
18095 C'est comme en \SpecialChar LaTeX
18097 \begin_inset Flex Code
18100 \begin_layout Plain Layout
18107 \begin_inset Flex Code
18110 \begin_layout Plain Layout
18117 \begin_inset Flex Code
18120 \begin_layout Plain Layout
18127 \begin_inset Flex Code
18130 \begin_layout Plain Layout
18136 pour haut, bas, page et ici respectivement
18140 \begin_layout Plain Layout
18141 Notez que l'ordre dans lequel vous mettez ces lettres est sans importance,
18142 comme en \SpecialChar LaTeX
18149 En plus vous avez un nouveau type,
18150 \begin_inset Flex Code
18153 \begin_layout Plain Layout
18159 , qui ne correspond pas vraiment à un flottant, car il signifie de le positionne
18161 \begin_inset Quotes cld
18165 \begin_inset Quotes crd
18168 et nulle part ailleurs.
18169 Notez cependant que le type
18170 \begin_inset Flex Code
18173 \begin_layout Plain Layout
18179 est spécial et, à cause de détails d'implantation, ne peut pas être utilisé
18180 avec des flottants non définis dans la classe de document.
18181 Si vous n'avez pas compris tout ce baratin, mettez simplement
18184 \begin_inset Quotes cld
18190 \begin_inset Flex Code
18193 \begin_layout Plain Layout
18202 \begin_inset Quotes crd
18210 \begin_layout Description
18213 \begin_inset Flex Code
18216 \begin_layout Plain Layout
18227 \begin_inset Flex Code
18230 \begin_layout Plain Layout
18236 ] détermine le préfixe à utiliser lors de la création d'étiquettes référant
18237 les flottants du type considéré.
18238 Ceci permet l'utilisation de références mises en forme.
18239 Notez que vous pouvez supprimer tout préfixe défini en copiant un style
18240 en utilisant la valeur spécifique
18241 \begin_inset Quotes cld
18245 \begin_inset Quotes crd
18248 , qui doit être en capitales.
18251 \begin_layout Description
18254 \begin_inset Flex Code
18257 \begin_layout Plain Layout
18268 \begin_inset Flex Code
18271 \begin_layout Plain Layout
18277 ] fixe le style utilisé quand on définit le flottant avec
18278 \begin_inset Flex Code
18281 \begin_layout Plain Layout
18292 \begin_layout Description
18295 \begin_inset Flex Code
18298 \begin_layout Plain Layout
18309 \begin_inset Flex Code
18312 \begin_layout Plain Layout
18319 \begin_inset Quotes cld
18323 \begin_inset Quotes crd
18326 de la nouvelle classe de flottants, comme
18327 \begin_inset Quotes cld
18331 \begin_inset Quotes crd
18335 \begin_inset Quotes cld
18339 \begin_inset Quotes crd
18343 Après l'instruction
18344 \begin_inset Flex Code
18347 \begin_layout Plain Layout
18355 appropriée, vous disposez de commandes comme
18356 \begin_inset Flex Code
18359 \begin_layout Plain Layout
18368 \begin_inset Flex Code
18371 \begin_layout Plain Layout
18380 Noter que définir un flottant de type
18381 \begin_inset Flex Code
18384 \begin_layout Plain Layout
18390 définit automatiquement les compteur correspondant, de nom
18391 \begin_inset Flex Code
18394 \begin_layout Plain Layout
18403 \begin_layout Description
18406 \begin_inset Flex Code
18409 \begin_layout Plain Layout
18420 \begin_inset Flex Code
18423 \begin_layout Plain Layout
18430 \begin_inset space \thinspace{}
18434 \begin_inset Flex Code
18437 \begin_layout Plain Layout
18445 ] indique si ce flottant est défini en utilisant le paquetage \SpecialChar LaTeX
18447 \begin_inset Flex Code
18450 \begin_layout Plain Layout
18456 , soit par la classe de document ou par un paquetage, soit à la volée par
18461 \begin_layout Standard
18462 Notez que la définition d'un flottant de type
18463 \begin_inset Flex Code
18466 \begin_layout Plain Layout
18474 implique la déclaration du compteur correspondant de nom
18475 \begin_inset Flex Code
18478 \begin_layout Plain Layout
18489 \begin_layout Subsection
18490 Inserts flexibles et InsetLayout
18491 \begin_inset CommandInset label
18493 name "subsec:Flex-insets-and"
18500 \begin_layout Standard
18501 Les inserts flexibles sont de trois sortes:
18504 \begin_layout Itemize
18505 styles de caractères (
18506 \begin_inset Flex Code
18509 \begin_layout Plain Layout
18517 ): ceux-ci définissent un balisage sémantique correspondant à des commandes
18520 \begin_inset Flex Code
18523 \begin_layout Plain Layout
18534 \begin_inset Flex Code
18537 \begin_layout Plain Layout
18550 \begin_layout Itemize
18551 définis par l'utilisateur (
18552 \begin_inset Flex Code
18555 \begin_layout Plain Layout
18563 ): ceux-ci permettent de définir des inserts repliables personnalisés, similaire
18564 s au code \SpecialChar TeX
18565 , aux notes de bas de page, etc.
18566 Un exemple évident est l'insert de note en fin de document, défini dans
18568 \begin_inset Flex Code
18571 \begin_layout Plain Layout
18582 \begin_layout Itemize
18586 \begin_inset Flex Code
18589 \begin_layout Plain Layout
18599 : à utiliser avec les classes DocBook.
18602 \begin_layout Standard
18603 Les inserts flexibles sont définis en utilisant la directive
18604 \begin_inset Flex Code
18607 \begin_layout Plain Layout
18615 , qui va être expliquée dans la suite.
18618 \begin_layout Standard
18620 \begin_inset Flex Code
18623 \begin_layout Plain Layout
18631 a une autre fonction: elle permet de personnaliser le style de différents
18634 \begin_inset Flex Code
18637 \begin_layout Plain Layout
18645 permet de personnaliser les paramètres de style pour les notes de bas de
18646 page, les notes en marge, les inserts de note, les inserts de code \SpecialChar TeX
18648 les branches, les listings, les index, les boîtes, les tables, les algorithmes,
18653 , aussi bien que de définir des inserts flexibles.
18656 \begin_layout Standard
18658 \begin_inset Flex Code
18661 \begin_layout Plain Layout
18669 doit commencer par une lignes de la forme:
18672 \begin_layout LyX-Code
18678 \begin_layout Standard
18680 \begin_inset Flex Code
18683 \begin_layout Plain Layout
18689 indique l'insert dont le style doit être défini, et il y a quatre cas.
18692 \begin_layout Enumerate
18693 Le style d'un insert préexistant doit être modifié.
18694 Dans ce cas, peuvent être
18695 \begin_inset Flex Code
18698 \begin_layout Plain Layout
18704 un quelconque des éléments suivants:
18705 \begin_inset Flex Code
18708 \begin_layout Plain Layout
18717 \begin_inset Flex Code
18720 \begin_layout Plain Layout
18729 \begin_inset Flex Code
18732 \begin_layout Plain Layout
18741 \begin_inset Flex Code
18744 \begin_layout Plain Layout
18755 \begin_inset Flex Code
18758 \begin_layout Plain Layout
18769 \begin_inset Flex Code
18772 \begin_layout Plain Layout
18781 \begin_inset Flex Code
18784 \begin_layout Plain Layout
18793 \begin_inset Flex Code
18796 \begin_layout Plain Layout
18805 \begin_inset Flex Code
18808 \begin_layout Plain Layout
18817 \begin_inset Flex Code
18820 \begin_layout Plain Layout
18829 \begin_inset Flex Code
18832 \begin_layout Plain Layout
18841 \begin_inset Flex Code
18844 \begin_layout Plain Layout
18853 \begin_inset Flex Code
18856 \begin_layout Plain Layout
18865 \begin_inset Flex Code
18868 \begin_layout Plain Layout
18877 \begin_inset Flex Code
18880 \begin_layout Plain Layout
18889 \begin_inset Flex Code
18892 \begin_layout Plain Layout
18901 \begin_inset Flex Code
18904 \begin_layout Plain Layout
18913 \begin_inset Flex Code
18916 \begin_layout Plain Layout
18925 \begin_inset Flex Code
18928 \begin_layout Plain Layout
18937 \begin_inset Flex Code
18940 \begin_layout Plain Layout
18952 \begin_layout Enumerate
18953 Le style d'un insert flexible doit être défini.
18955 \begin_inset Flex Code
18958 \begin_layout Plain Layout
18964 doit être de la forme
18965 \begin_inset Flex Code
18968 \begin_layout Plain Layout
18975 \begin_inset Flex Code
18978 \begin_layout Plain Layout
18984 peut être n'importe quel identificateur valide qui n'est pas utilisé dans
18985 un insert existant.
18986 L'identificateur peut inclure des espaces, mais alors il faut enclore l'ensembl
18987 e entre apostrophes.
18988 Noter que la définition d'un insert flexible
18992 aussi inclure une entrée
18993 \begin_inset Flex Code
18996 \begin_layout Plain Layout
19005 , précisant quel est le type d'insert qu'il définit.
19008 \begin_layout Enumerate
19009 Le style d'une branche utilisateur doit être défini.
19011 \begin_inset Flex Code
19014 \begin_layout Plain Layout
19020 doit être de la forme
19021 \begin_inset Quotes cld
19025 \begin_inset Flex Code
19028 \begin_layout Plain Layout
19035 \begin_inset Quotes crd
19039 \begin_inset Flex Code
19042 \begin_layout Plain Layout
19048 peut être un identificateur de branche valide défini dans le document utilisate
19050 L'identificateur peur contenir des espaces, mais dans ce cas la chaîne
19051 toute entière doit être enclose entre apostrophes.
19052 Le principal intérêt de cette fonctionnalité est est de permettre l’inclusion
19054 de branches spécifiques suivant les besoins de l'utilisateur.
19057 \begin_layout Enumerate
19058 Le style d'une légende utilisateur (ou de classe) doit être défini.
19060 \begin_inset Flex Code
19063 \begin_layout Plain Layout
19069 doit être de la forme
19070 \begin_inset Quotes cld
19074 \begin_inset Flex Code
19077 \begin_layout Plain Layout
19084 \begin_inset Quotes crd
19088 \begin_inset Flex Code
19091 \begin_layout Plain Layout
19097 spécifie le nom de la légende tel qu'il apparaît dans le menu.
19098 Voir la légende standard
19101 \begin_inset Flex Code
19104 \begin_layout Plain Layout
19114 , les légendes spécifiques des classes KOMA-Script
19117 \begin_inset Flex Code
19120 \begin_layout Plain Layout
19129 \begin_inset Flex Code
19132 \begin_layout Plain Layout
19144 Légendes multilingues
19149 \begin_inset Flex Code
19152 \begin_layout Plain Layout
19162 pour des applications.
19165 \begin_layout Standard
19167 \begin_inset Flex Code
19170 \begin_layout Plain Layout
19178 peut inclure les entrées suivantes:
19181 \begin_layout Description
19184 \begin_inset Flex Code
19187 \begin_layout Plain Layout
19196 \begin_inset Flex Code
19199 \begin_layout Plain Layout
19207 =""] This inset will appear in the table of contents of the given type.
19208 An empty string disables.
19209 See also the OutlinerName and the IsTocCaption commands.
19210 This is only implemented for Flex insets.
19214 \begin_layout Description
19217 \begin_inset Flex Code
19220 \begin_layout Plain Layout
19229 \begin_inset Flex Code
19232 \begin_layout Plain Layout
19242 définit un numéro d'argument d'une commande ou d'un environnement associé
19244 La définition doit être close par
19247 \begin_inset Flex Code
19250 \begin_layout Plain Layout
19262 \begin_inset CommandInset ref
19264 reference "subsec:Styles-de-paragraphe"
19271 \begin_layout Description
19274 \begin_inset Flex Code
19277 \begin_layout Plain Layout
19287 définit un préambule pour les modifications de commandes de langue; voir
19289 \begin_inset CommandInset ref
19291 reference "subsec:I18n"
19298 \begin_layout Description
19301 \begin_inset Flex Code
19304 \begin_layout Plain Layout
19315 \begin_inset Flex Code
19318 \begin_layout Plain Layout
19324 ] définit la couleur d'arrière-plan de l'insert.
19330 \begin_inset CommandInset ref
19332 reference "chap:Names-of-colors"
19336 pour une liste des noms de couleur disponibles.
19340 \begin_layout Description
19343 \begin_inset Flex Code
19346 \begin_layout Plain Layout
19357 \begin_inset Flex Code
19360 \begin_layout Plain Layout
19369 \begin_inset space \thinspace{}
19373 \begin_inset Flex Code
19376 \begin_layout Plain Layout
19382 ] indique s'il faut utiliser le contenu de l'insert comme une étiquette,
19383 quand l'insert est fermé.
19385 \begin_inset Quotes cld
19389 \begin_inset Quotes crd
19395 \begin_layout Description
19398 \begin_inset Flex Code
19401 \begin_layout Plain Layout
19412 \begin_inset Flex Code
19415 \begin_layout Plain Layout
19421 ] fonctionne comme les styles de paragraphe, voir
19422 \begin_inset CommandInset ref
19424 reference "subsec:Styles-de-paragraphe"
19429 Notez que vous devez spécifier le type complet, e.
19430 \begin_inset space \thinspace{}
19434 \begin_inset space ~
19440 \begin_inset Flex Code
19443 \begin_layout Plain Layout
19458 \begin_layout Description
19461 \begin_inset Flex Code
19464 \begin_layout Plain Layout
19475 \begin_inset Flex Code
19478 \begin_layout Plain Layout
19487 \begin_inset space \thinspace{}
19491 \begin_inset Flex Code
19494 \begin_layout Plain Layout
19500 ] indique si l'utilisateur peut utiliser le dialogue
19501 \begin_inset Flex Noun
19504 \begin_layout Plain Layout
19505 Édition\SpecialChar menuseparator
19506 Paramètres de paragraphe
19511 pour personnaliser le paragraphe.
19514 \begin_layout Description
19517 \begin_inset Flex Code
19520 \begin_layout Plain Layout
19531 \begin_inset Flex Code
19534 \begin_layout Plain Layout
19543 \begin_inset Flex Code
19546 \begin_layout Plain Layout
19555 \begin_inset Flex Code
19558 \begin_layout Plain Layout
19566 , décrivant l'appa\SpecialChar softhyphen
19567 rence du cadre et des boutons de l'insert.
19568 les notes de bas de page utilisent en général
19569 \begin_inset Flex Code
19572 \begin_layout Plain Layout
19580 , les inserts des code \SpecialChar TeX
19582 \begin_inset Flex Code
19585 \begin_layout Plain Layout
19593 , et les styles de caractères
19594 \begin_inset Flex Code
19597 \begin_layout Plain Layout
19608 \begin_layout Description
19611 \begin_inset Flex Code
19614 \begin_layout Plain Layout
19625 \begin_inset Flex Code
19628 \begin_layout Plain Layout
19635 \begin_inset space \thinspace{}
19639 \begin_inset Flex Code
19642 \begin_layout Plain Layout
19650 ] n'est utilisé que lorsque
19651 \begin_inset Flex Code
19654 \begin_layout Plain Layout
19661 \begin_inset Flex Code
19664 \begin_layout Plain Layout
19671 Indique si l'environnement se trouvera à part dans le résultat imprimable
19672 ou bien apparaîtra inclus dans le texte environnant.
19673 S'il est positionné à faux, on suppose que l'environnement \SpecialChar LaTeX
19675 espaces (avec un caractère retour ligne inclus) après les balises
19676 \begin_inset Flex Code
19679 \begin_layout Plain Layout
19692 \begin_inset Flex Code
19695 \begin_layout Plain Layout
19709 \begin_inset Quotes cld
19713 \begin_inset Quotes crd
19719 \begin_layout Description
19720 \begin_inset Flex Code
19723 \begin_layout Plain Layout
19731 est requis pour fermer la déclaration d'un
19734 \begin_inset Flex Code
19737 \begin_layout Plain Layout
19750 \begin_layout Description
19751 \begin_inset Flex Code
19754 \begin_layout Plain Layout
19762 définit la police utilisée pour le texte du corps de l'insert
19768 \begin_inset space ~
19772 \begin_inset CommandInset ref
19774 reference "subsec:polices"
19779 Noter qu'en définissant cette police on définit aussi automatiquement
19780 \begin_inset Flex Code
19783 \begin_layout Plain Layout
19791 avec la même valeur.
19792 Il faut donc définir celle-ci d'abord pour fixer
19793 \begin_inset Flex Code
19796 \begin_layout Plain Layout
19807 \begin_layout Description
19810 \begin_inset Flex Code
19813 \begin_layout Plain Layout
19816 FixedWidthPreambleEncoding
19824 \begin_inset Flex Code
19827 \begin_layout Plain Layout
19836 \begin_inset space \thinspace{}
19840 \begin_inset Flex Code
19843 \begin_layout Plain Layout
19849 ] force un encodage à taille fixe pour les éléments traduits du code des
19851 \begin_inset Flex Code
19854 \begin_layout Plain Layout
19861 \begin_inset Flex Code
19864 \begin_layout Plain Layout
19870 engendré par ce format.
19871 Ceci est nécessaire pour les paquetages \SpecialChar LaTeX
19876 qui ne fonctionnent pas avec des encodages à taille variable comme
19881 Ce réglage est ignoré lors de l'utilisation de moteurs admettant complètement
19882 Unicode comme Xe\SpecialChar TeX
19883 ou Lua\SpecialChar TeX
19887 \begin_layout Description
19890 \begin_inset Flex Code
19893 \begin_layout Plain Layout
19896 ForceLocalFontSwitch
19904 \begin_inset Flex Code
19907 \begin_layout Plain Layout
19916 \begin_inset space \thinspace{}
19920 \begin_inset Flex Code
19923 \begin_layout Plain Layout
19929 ] lors de l'utilisation de babel, force l'utilisation un commutateur de
19936 \begin_inset Flex Code
19939 \begin_layout Plain Layout
19951 , à la place d'un commutateur
19958 \begin_inset Flex Code
19961 \begin_layout Plain Layout
19976 \begin_layout Description
19979 \begin_inset Flex Code
19982 \begin_layout Plain Layout
19993 \begin_inset Flex Code
19996 \begin_layout Plain Layout
20005 \begin_inset space \thinspace{}
20009 \begin_inset Flex Code
20012 \begin_layout Plain Layout
20018 ] impose le langage
20019 \begin_inset Quotes cld
20023 \begin_inset Quotes crd
20026 , conduisant à un résultat de gauche à droite (Left-to-Right, latin), e.
20027 \begin_inset space \thinspace{}
20031 \begin_inset space \space{}
20034 en code \SpecialChar TeX
20039 \begin_layout Description
20042 \begin_inset Flex Code
20045 \begin_layout Plain Layout
20056 \begin_inset Flex Code
20059 \begin_layout Plain Layout
20068 \begin_inset space \thinspace{}
20072 \begin_inset Flex Code
20075 \begin_layout Plain Layout
20081 ] force un saut de ligne dans le résultat \SpecialChar LaTeX
20082 avant le début de l'insert et
20084 Ceci garantit que l’insert apparaît en lignes isolées, pour la lisibilité.
20087 \begin_layout Description
20090 \begin_inset Flex Code
20093 \begin_layout Plain Layout
20104 \begin_inset Flex Code
20107 \begin_layout Plain Layout
20116 \begin_inset space \thinspace{}
20120 \begin_inset Flex Code
20123 \begin_layout Plain Layout
20130 \begin_inset Flex Code
20133 \begin_layout Plain Layout
20141 doit être utilisé, ou bien si l'utilisateur peut modifier le style de paragraph
20142 e utilisé dans l'insert.
20144 \begin_inset Quotes cld
20148 \begin_inset Quotes crd
20154 \begin_layout Description
20157 \begin_inset Flex Code
20160 \begin_layout Plain Layout
20171 \begin_inset Flex Code
20174 \begin_layout Plain Layout
20183 \begin_inset space \thinspace{}
20187 \begin_inset Flex Code
20190 \begin_layout Plain Layout
20196 ] fonctionne comme les styles de paragraphe, voir
20197 \begin_inset space ~
20201 \begin_inset CommandInset ref
20203 reference "subsec:Styles-de-paragraphe"
20210 \begin_layout Description
20211 \begin_inset Flex Code
20214 \begin_layout Plain Layout
20220 sont utilisées avec l'exportation XHTML.
20222 \begin_inset CommandInset ref
20224 reference "sec:Tags-for-XHTML"
20231 \begin_layout Description
20234 \begin_inset Flex Code
20237 \begin_layout Plain Layout
20248 \begin_inset Flex Code
20251 \begin_layout Plain Layout
20260 \begin_inset space \thinspace{}
20264 \begin_inset Flex Code
20267 \begin_layout Plain Layout
20273 ] indique s'il faut inclure le contenu de cet insert dans les chaînes créées
20275 \begin_inset Quotes cld
20280 for all table of contents, regardless of the AddToToc setting
20283 \begin_inset Quotes crd
20287 L'utilisateur ne voudra pas, par exemple, que le contenu d'une note de
20288 bas de page dans un titre de section soit incluse dans la tables des matières
20289 affichée dans le plan, mais voudra habituellement voir affiché le contenu
20290 d'un style de caractère.
20292 \begin_inset Quotes cld
20296 \begin_inset Quotes crd
20302 \begin_layout Description
20305 \begin_inset Flex Code
20308 \begin_layout Plain Layout
20317 \begin_inset Flex Code
20320 \begin_layout Plain Layout
20330 \begin_inset space \thinspace{}
20334 \begin_inset Flex Code
20337 \begin_layout Plain Layout
20345 ] If this is set to 1 and AddToToc is enabled, the inset adds a summary
20346 of its contents in its item in the table of contents.
20347 Otherwise, only the label appears.
20350 \begin_layout Description
20353 \begin_inset Flex Code
20356 \begin_layout Plain Layout
20367 \begin_inset Flex Code
20370 \begin_layout Plain Layout
20379 \begin_inset space \thinspace{}
20383 \begin_inset Flex Code
20386 \begin_layout Plain Layout
20392 ] fonctionne comme les styles de paragraphe, voir
20393 \begin_inset CommandInset ref
20395 reference "subsec:Styles-de-paragraphe"
20402 \begin_layout Description
20405 \begin_inset Flex Code
20408 \begin_layout Plain Layout
20418 définit la police utilisée pour le marqueur.
20420 \begin_inset CommandInset ref
20422 reference "subsec:polices"
20427 Noter que cette directive ne peut jamais apparaître avant
20428 \begin_inset Flex Code
20431 \begin_layout Plain Layout
20439 , sinon elle sera sans effet.
20442 \begin_layout Description
20445 \begin_inset Flex Code
20448 \begin_layout Plain Layout
20459 \begin_inset Flex Code
20462 \begin_layout Plain Layout
20468 ] définit la chaîne de caractères qui apparaîtra sur le bouton ou ailleurs
20469 en tant que marquer d'insert.
20470 Quelques types d'inserts (
20471 \begin_inset Flex Code
20474 \begin_layout Plain Layout
20477 code \SpecialChar TeX
20484 \begin_inset Flex Code
20487 \begin_layout Plain Layout
20493 ) modifient ce marqueur à la volée.
20496 \begin_layout Description
20499 \begin_inset Flex Code
20502 \begin_layout Plain Layout
20512 définit un préambule dépendant de la langue, voir
20513 \begin_inset space ~
20517 \begin_inset CommandInset ref
20519 reference "subsec:I18n"
20526 \begin_layout Description
20529 \begin_inset Flex Code
20532 \begin_layout Plain Layout
20543 \begin_inset Flex Code
20546 \begin_layout Plain Layout
20552 ] définit le nom du code \SpecialChar LaTeX
20553 correspondant, soit un environnement, soit une
20557 \begin_layout Description
20560 \begin_inset Flex Code
20563 \begin_layout Plain Layout
20574 \begin_inset Flex Code
20577 \begin_layout Plain Layout
20583 ] définit le paramètre facultatif pour le
20584 \begin_inset Flex Code
20587 \begin_layout Plain Layout
20595 correspondant, y compris des paires de crochets
20596 \begin_inset Flex Code
20599 \begin_layout Plain Layout
20606 Ce paramètre ne peut pas être modifié depuis \SpecialChar LyX
20608 \begin_inset Flex Code
20611 \begin_layout Plain Layout
20617 pour les paramètres personnalisables).
20618 Il sera émis tel quel après tous les
20619 \begin_inset Flex Code
20622 \begin_layout Plain Layout
20628 s \SpecialChar LaTeX
20632 \begin_layout Description
20635 \begin_inset Flex Code
20638 \begin_layout Plain Layout
20647 \begin_inset Flex Code
20650 \begin_layout Plain Layout
20653 Command, Environment, None
20659 \begin_inset Flex Code
20662 \begin_layout Plain Layout
20672 précise comment le style doit être traduit en \SpecialChar LaTeX
20679 \begin_layout Plain Layout
20682 \begin_inset Flex Code
20685 \begin_layout Plain Layout
20695 est peut-être trompeur, puisque ces règles s'appliquent aussi aux classes
20697 Voir les fichiers de classe SGML pour des exemples spécifiques.
20706 \begin_layout Description
20709 \begin_inset Flex Code
20712 \begin_layout Plain Layout
20723 \begin_inset Quotes cld
20726 rien de particulier
20727 \begin_inset Quotes crd
20733 \begin_layout Description
20736 \begin_inset Flex Code
20739 \begin_layout Plain Layout
20752 \begin_inset Flex Code
20755 \begin_layout Plain Layout
20764 {\SpecialChar ldots
20773 \begin_layout Description
20776 \begin_inset Flex Code
20779 \begin_layout Plain Layout
20792 \begin_inset Flex Code
20795 \begin_layout Plain Layout
20804 }\SpecialChar ldots
20819 \begin_layout Standard
20820 En rassemblant ceci, la sortie \SpecialChar LaTeX
20824 \begin_layout LyX-Code
20829 LatexName[LatexParam]{\SpecialChar ldots
20833 \begin_layout Standard
20837 \begin_layout LyX-Code
20842 begin{LatexName}[LatexParam] \SpecialChar ldots
20848 \begin_layout Standard
20852 \begin_inset Flex Code
20855 \begin_layout Plain Layout
20867 \begin_layout Description
20870 \begin_inset Flex Code
20873 \begin_layout Plain Layout
20884 \begin_inset Flex Code
20887 \begin_layout Plain Layout
20893 ] définit une chaîne de caractères insérée au début du contenu du style.
20894 Une rupture de ligne dans la sortie peut être indiquée par
20895 \begin_inset Flex Code
20898 \begin_layout Plain Layout
20907 \begin_layout Description
20910 \begin_inset Flex Code
20913 \begin_layout Plain Layout
20924 \begin_inset Flex Code
20927 \begin_layout Plain Layout
20936 \begin_inset Flex Code
20939 \begin_layout Plain Layout
20948 \begin_inset Flex Code
20951 \begin_layout Plain Layout
20960 \begin_inset Flex Code
20963 \begin_layout Plain Layout
20971 (indiquant une définition vide terminant les définitions de styles de caractère
20973 Cette entrée est requise dans les inserts flexibles et n'est significative
20975 Parmi d'autres choses, elle détermine dans quel menu cet insert va apparaître.
20977 \begin_inset Flex Code
20980 \begin_layout Plain Layout
20987 \begin_inset Flex Code
20990 \begin_layout Plain Layout
20997 \begin_inset Flex Code
21000 \begin_layout Plain Layout
21007 \begin_inset Quotes cld
21011 \begin_inset Quotes crd
21015 \begin_inset Flex Code
21018 \begin_layout Plain Layout
21025 \begin_inset Quotes cld
21029 \begin_inset Quotes crd
21034 \begin_inset Flex Code
21037 \begin_layout Plain Layout
21043 peut être positionné à
21044 \begin_inset Quotes cld
21048 \begin_inset Quotes crd
21052 \begin_inset Flex Code
21055 \begin_layout Plain Layout
21062 \begin_inset Quotes cld
21066 \begin_inset Quotes crd
21070 \begin_inset Flex Code
21073 \begin_layout Plain Layout
21079 , en le positionnant
21084 \begin_inset Flex Code
21087 \begin_layout Plain Layout
21096 \begin_layout Description
21099 \begin_inset Flex Code
21102 \begin_layout Plain Layout
21113 \begin_inset Flex Code
21116 \begin_layout Plain Layout
21125 \begin_inset space \thinspace{}
21129 \begin_inset Flex Code
21132 \begin_layout Plain Layout
21138 ] indique si plusieurs paragraphes sont autorisés dans cet insert.
21139 Ceci positionnera aussi
21140 \begin_inset Flex Code
21143 \begin_layout Plain Layout
21151 à la même valeur et
21152 \begin_inset Flex Code
21155 \begin_layout Plain Layout
21163 à la valeur opposée.
21164 Ceux-ci peuvent être repositionnés s'ils sont utilisés
21169 \begin_inset Flex Code
21172 \begin_layout Plain Layout
21182 \begin_inset Quotes cld
21186 \begin_inset Quotes crd
21192 \begin_layout Description
21195 \begin_inset Flex Code
21198 \begin_layout Plain Layout
21209 \begin_inset Flex Code
21212 \begin_layout Plain Layout
21221 \begin_inset space \thinspace{}
21225 \begin_inset Flex Code
21228 \begin_layout Plain Layout
21234 ] indique si les commandes fragiles de cet insert doivent êtres protégées
21236 \begin_inset Flex Code
21239 \begin_layout Plain Layout
21253 sur le fait que la commande elle-même doive être protégée).
21255 \begin_inset Quotes cld
21259 \begin_inset Quotes crd
21265 \begin_layout Description
21268 \begin_inset Flex Code
21271 \begin_layout Plain Layout
21280 \begin_inset Flex Code
21283 \begin_layout Plain Layout
21296 \begin_inset Flex Code
21299 \begin_layout Plain Layout
21312 \begin_layout Description
21315 \begin_inset Flex Code
21318 \begin_layout Plain Layout
21327 \begin_inset Flex Code
21330 \begin_layout Plain Layout
21341 \begin_inset Flex Code
21344 \begin_layout Plain Layout
21351 \begin_inset Flex Code
21354 \begin_layout Plain Layout
21361 Ceci est utilisé pour renommer un
21362 \begin_inset Flex Code
21365 \begin_layout Plain Layout
21371 en conservant la compatibilité.
21374 \begin_layout Description
21377 \begin_inset Flex Code
21380 \begin_layout Plain Layout
21394 \begin_inset Flex Code
21397 \begin_layout Plain Layout
21407 \begin_inset space \thinspace{}
21413 \begin_inset Flex Code
21416 \begin_layout Plain Layout
21424 ] fonctionne comme avec les styles de paragraphe, voir
21425 \begin_inset space ~
21429 \begin_inset CommandInset ref
21431 reference "subsec:Styles-de-paragraphe"
21438 \begin_layout Description
21441 \begin_inset Flex Code
21444 \begin_layout Plain Layout
21458 \begin_inset Flex Code
21461 \begin_layout Plain Layout
21471 \begin_inset space \thinspace{}
21477 \begin_inset Flex Code
21480 \begin_layout Plain Layout
21488 ] fonctionne comme avec les styles de paragraphe, voir
21489 \begin_inset space ~
21493 \begin_inset CommandInset ref
21495 reference "subsec:Styles-de-paragraphe"
21502 \begin_layout Description
21505 \begin_inset Flex Code
21508 \begin_layout Plain Layout
21518 fonctionne comme avec les styles de paragraphe, voir
21519 \begin_inset space ~
21523 \begin_inset CommandInset ref
21525 reference "subsec:Styles-de-paragraphe"
21532 \begin_layout Description
21535 \begin_inset Flex Code
21538 \begin_layout Plain Layout
21549 \begin_inset Flex Code
21552 \begin_layout Plain Layout
21558 ] indique le préfixe à utiliser pour créer des étiquettes référant les paragraph
21560 Ceci permet l'utilisation de références mises en forme.
21563 \begin_layout Description
21566 \begin_inset Flex Code
21569 \begin_layout Plain Layout
21580 \begin_inset Flex Code
21583 \begin_layout Plain Layout
21591 As with paragraph styles, see
21594 \begin_inset CommandInset ref
21596 reference "subsec:Styles-de-paragraphe"
21603 \begin_layout Description
21606 \begin_inset Flex Code
21609 \begin_layout Plain Layout
21620 \begin_inset Flex Code
21623 \begin_layout Plain Layout
21632 \begin_inset space \thinspace{}
21636 \begin_inset Flex Code
21639 \begin_layout Plain Layout
21645 ] réinitialise les arguments \SpecialChar LaTeX
21646 de ce style (définis via la directive
21647 \begin_inset Flex Code
21650 \begin_layout Plain Layout
21657 Ceci est utile si vous avez dupliqué un style via
21660 \begin_inset Flex Code
21663 \begin_layout Plain Layout
21673 mais que vous ne voulez pas hériter de ses arguments (obligatoires et optionnels
21677 \begin_layout Description
21680 \begin_inset Flex Code
21683 \begin_layout Plain Layout
21694 \begin_inset Flex Code
21697 \begin_layout Plain Layout
21704 \begin_inset space \thinspace{}
21708 \begin_inset Flex Code
21711 \begin_layout Plain Layout
21719 ] indique si l'insert doit utiliser la police de caractères environnante
21720 ou bien utiliser la sienne propre.
21722 \begin_inset Quotes cld
21726 \begin_inset Quotes crd
21729 , utiliser la police de caractères environnante.
21732 \begin_layout Description
21735 \begin_inset Flex Code
21738 \begin_layout Plain Layout
21749 \begin_inset Flex Code
21752 \begin_layout Plain Layout
21758 ] définit une chaîne de caractères insérée à la fin du contenu du style.
21759 Une rupture de ligne dans la sortie peut être indiquée par
21760 \begin_inset Flex Code
21763 \begin_layout Plain Layout
21772 \begin_layout Description
21775 \begin_inset Flex Code
21778 \begin_layout Plain Layout
21789 \begin_inset Flex Code
21792 \begin_layout Plain Layout
21799 \begin_inset space \thinspace{}
21803 \begin_inset Flex Code
21806 \begin_layout Plain Layout
21814 ] active le correcteur orthographique sur le contenu de cet insert.
21816 \begin_inset Quotes cld
21820 \begin_inset Quotes crd
21826 \begin_layout Subsection
21828 \begin_inset CommandInset label
21830 name "subsec:Compteurs"
21837 \begin_layout Standard
21838 Il faut définir les compteurs (
21839 \begin_inset Flex Code
21842 \begin_layout Plain Layout
21849 \begin_inset Flex Code
21852 \begin_layout Plain Layout
21859 ) dans la classe elle-même.
21860 Les compteurs standard sont définis dans le fichier
21863 \begin_inset Flex Code
21866 \begin_layout Plain Layout
21877 Si vous cherchez à savoir comment mettre à jour une classe déjà existante,
21878 il suffit probablement que vous ajoutiez
21881 \begin_layout LyX-Code
21882 Input stdcounters.inc
21885 \begin_layout Standard
21886 à un endroit raisonnable dans la classe.
21889 \begin_layout Standard
21890 Mais si vous voulez définir des compteurs à votre guise, vous pouvez le
21892 La déclaration d'un compteur doit commencer par
21895 \begin_layout LyX-Code
21903 \begin_layout Standard
21905 \begin_inset Flex Code
21908 \begin_layout Plain Layout
21914 est le nom du compteur.
21915 Et elle doit se terminer par
21916 \begin_inset Flex Code
21919 \begin_layout Plain Layout
21930 \begin_layout Standard
21931 Les paramètres suivants peuvent également être utilisés:
21934 \begin_layout Description
21937 \begin_inset Flex Code
21940 \begin_layout Plain Layout
21949 \begin_inset Flex Code
21952 \begin_layout Plain Layout
21962 positionne la valeur initiale du compteur, valeur à laquelle il sera réinitiali
21963 sé quand cela sera nécessaire.
21964 Normalement, la valeur désirée est la valeur implicite,
21965 \begin_inset space ~
21971 \begin_layout Description
21974 \begin_inset Flex Code
21977 \begin_layout Plain Layout
21988 \begin_inset Flex Code
21991 \begin_layout Plain Layout
21998 \begin_inset Quotes erd
22002 \begin_inset Quotes erd
22005 ] définit comment le compteur s'affiche.
22006 Fixer ce paramètre positionne également
22007 \begin_inset Flex Code
22010 \begin_layout Plain Layout
22013 LabelStringAppendix
22019 Les arguments spécifiques suivants peuvent être utilisés:
22023 \begin_layout Itemize
22024 \begin_inset Flex Code
22027 \begin_layout Plain Layout
22037 sera remplacé par l'expansion de
22038 \begin_inset Flex Code
22041 \begin_layout Plain Layout
22050 \begin_inset Newline newline
22054 \begin_inset Flex Code
22057 \begin_layout Plain Layout
22060 LabelStringAppendix
22066 \begin_inset Flex Code
22069 \begin_layout Plain Layout
22081 \begin_layout Itemize
22082 les valeurs du compteur peuvent être exprimées par des macros à la \SpecialChar LaTeX
22084 \begin_inset Flex Code
22087 \begin_layout Plain Layout
22106 \begin_inset Flex Code
22109 \begin_layout Plain Layout
22119 \begin_inset Flex Code
22122 \begin_layout Plain Layout
22130 : 1, 2, 3,\SpecialChar ldots
22132 \begin_inset Flex Code
22135 \begin_layout Plain Layout
22143 pour les lettres en bas de casse: a, b, c, \SpecialChar ldots
22145 \begin_inset Flex Code
22148 \begin_layout Plain Layout
22156 pour les lettres en capitales: A, B, C, \SpecialChar ldots
22158 \begin_inset Flex Code
22161 \begin_layout Plain Layout
22169 pour la numérotation en bas de casse romaine: i, ii, iii, \SpecialChar ldots
22171 \begin_inset Flex Code
22174 \begin_layout Plain Layout
22182 pour la numérotation capitale romaine: I, II, III.
22186 \begin_layout Standard
22190 \begin_inset Flex Code
22193 \begin_layout Plain Layout
22203 est indéfini, une valeur implicite est construite comme suit: si le compteur
22204 a un compteur maître
22205 \begin_inset Flex Code
22208 \begin_layout Plain Layout
22217 \begin_inset Flex Code
22220 \begin_layout Plain Layout
22229 \begin_inset Newline newline
22233 \begin_inset Flex Code
22236 \begin_layout Plain Layout
22248 est utilisée; sinon la chaîne
22249 \begin_inset Flex Code
22252 \begin_layout Plain Layout
22265 \begin_layout Description
22268 \begin_inset Flex Code
22271 \begin_layout Plain Layout
22274 LabelStringAppendix
22282 \begin_inset Flex Code
22285 \begin_layout Plain Layout
22292 \begin_inset Quotes erd
22296 \begin_inset Quotes erd
22300 \begin_inset Flex Code
22303 \begin_layout Plain Layout
22311 , mais pour les annexes.
22314 \begin_layout Description
22315 \begin_inset Flex Code
22318 \begin_layout Plain Layout
22327 \begin_inset Flex Code
22330 \begin_layout Plain Layout
22337 \begin_inset Quotes erd
22341 \begin_inset Quotes erd
22344 ] définit un format à utiliser pour les références mises en forme utilisant
22346 Par exemple, on peut vouloir que les références aux numéros de section
22348 \begin_inset Quotes cld
22352 \begin_inset space ~
22356 \begin_inset Quotes crd
22360 La chaîne devra contenir
22361 \begin_inset Quotes cld
22365 \begin_inset Quotes crd
22369 Ceci sera remplacé par la valeur courante du compteur.
22370 Ainsi, pour les sections, ce sera: Section ##.
22373 \begin_layout Description
22374 \begin_inset Flex Code
22377 \begin_layout Plain Layout
22386 \begin_inset Flex Code
22389 \begin_layout Plain Layout
22396 \begin_inset Quotes erd
22400 \begin_inset Quotes erd
22403 ] contient le nom d'un autre compteur: le compteur actuel sera remis à zéro
22404 à chaque fois que l'autre augmentera.
22406 \begin_inset Flex Code
22409 \begin_layout Plain Layout
22416 \begin_inset Flex Code
22419 \begin_layout Plain Layout
22428 \begin_layout Subsection
22429 Description de police
22430 \begin_inset CommandInset label
22432 name "subsec:polices"
22439 \begin_layout Standard
22440 Une description de police ressemble à :
22443 \begin_layout LyX-Code
22457 \begin_layout LyX-Code
22461 \begin_layout LyX-Code
22465 \begin_layout Standard
22466 et les commandes suivantes sont disponibles :
22469 \begin_layout Description
22470 \begin_inset Flex Code
22473 \begin_layout Plain Layout
22484 \begin_inset Flex Code
22487 \begin_layout Plain Layout
22496 \begin_inset Flex Code
22499 \begin_layout Plain Layout
22506 \begin_inset Flex Code
22509 \begin_layout Plain Layout
22516 \begin_inset Flex Code
22519 \begin_layout Plain Layout
22526 \begin_inset Flex Code
22529 \begin_layout Plain Layout
22536 \begin_inset Flex Code
22539 \begin_layout Plain Layout
22546 \begin_inset Flex Code
22549 \begin_layout Plain Layout
22556 \begin_inset Flex Code
22559 \begin_layout Plain Layout
22566 \begin_inset Flex Code
22569 \begin_layout Plain Layout
22576 \begin_inset Flex Code
22579 \begin_layout Plain Layout
22586 \begin_inset Flex Code
22589 \begin_layout Plain Layout
22596 \begin_inset Flex Code
22599 \begin_layout Plain Layout
22606 \begin_inset Flex Code
22609 \begin_layout Plain Layout
22616 \begin_inset Flex Code
22619 \begin_layout Plain Layout
22626 \begin_inset Flex Code
22629 \begin_layout Plain Layout
22636 \begin_inset Flex Code
22639 \begin_layout Plain Layout
22646 \begin_inset Flex Code
22649 \begin_layout Plain Layout
22656 \begin_inset Flex Code
22659 \begin_layout Plain Layout
22666 \begin_inset Flex Code
22669 \begin_layout Plain Layout
22676 \begin_inset Flex Code
22679 \begin_layout Plain Layout
22688 \begin_layout Description
22689 \begin_inset Flex Code
22692 \begin_layout Plain Layout
22701 \begin_inset Flex Code
22704 \begin_layout Plain Layout
22713 \begin_inset Flex Code
22716 \begin_layout Plain Layout
22723 \begin_inset Flex Code
22726 \begin_layout Plain Layout
22735 \begin_layout Description
22736 \begin_inset Flex Code
22739 \begin_layout Plain Layout
22746 \begin_inset Flex Code
22749 \begin_layout Plain Layout
22755 ] avec les arguments valides suivants:
22756 \begin_inset Flex Code
22759 \begin_layout Plain Layout
22766 \begin_inset Flex Code
22769 \begin_layout Plain Layout
22776 \begin_inset Flex Code
22779 \begin_layout Plain Layout
22786 \begin_inset Flex Code
22789 \begin_layout Plain Layout
22796 \begin_inset Flex Code
22799 \begin_layout Plain Layout
22806 \begin_inset Flex Code
22809 \begin_layout Plain Layout
22816 \begin_inset Flex Code
22819 \begin_layout Plain Layout
22826 \begin_inset Flex Code
22829 \begin_layout Plain Layout
22836 \begin_inset Flex Code
22839 \begin_layout Plain Layout
22846 \begin_inset Flex Code
22849 \begin_layout Plain Layout
22856 \begin_inset Flex Code
22859 \begin_layout Plain Layout
22866 \begin_inset Newline linebreak
22870 \begin_inset Flex Code
22873 \begin_layout Plain Layout
22880 Chacun de ceux-ci (dés)active l'attribut correspondant.
22881 \begin_inset Newline newline
22885 \begin_inset Flex Code
22888 \begin_layout Plain Layout
22894 active la mise en évidence, et
22895 \begin_inset Flex Code
22898 \begin_layout Plain Layout
22905 Si ce dernier point vous intrigue, souvenez-vous que le réglage de police
22906 du contexte courant est généralement hérité du contexte environnant.
22908 \begin_inset Flex Code
22911 \begin_layout Plain Layout
22919 désactiverait la mise en évidence qui était active de toutes façons, par
22920 exemple dans un environnement de théorème.
22924 \begin_layout Description
22925 \begin_inset Flex Code
22928 \begin_layout Plain Layout
22937 \begin_inset Flex Code
22940 \begin_layout Plain Layout
22949 \begin_inset Flex Code
22952 \begin_layout Plain Layout
22961 \begin_layout Description
22962 \begin_inset Flex Code
22965 \begin_layout Plain Layout
22974 \begin_inset Flex Code
22977 \begin_layout Plain Layout
22986 \begin_inset Flex Code
22989 \begin_layout Plain Layout
22996 \begin_inset Flex Code
22999 \begin_layout Plain Layout
23006 \begin_inset Flex Code
23009 \begin_layout Plain Layout
23018 \begin_layout Description
23019 \begin_inset Flex Code
23022 \begin_layout Plain Layout
23029 \begin_inset Flex Code
23032 \begin_layout Plain Layout
23039 \begin_inset Flex Code
23042 \begin_layout Plain Layout
23049 \begin_inset Flex Code
23052 \begin_layout Plain Layout
23061 \begin_inset Flex Code
23064 \begin_layout Plain Layout
23071 \begin_inset Flex Code
23074 \begin_layout Plain Layout
23081 \begin_inset Flex Code
23084 \begin_layout Plain Layout
23091 \begin_inset Flex Code
23094 \begin_layout Plain Layout
23101 \begin_inset Flex Code
23104 \begin_layout Plain Layout
23113 \begin_layout Subsection
23116 \begin_inset CommandInset label
23118 name "subsec:Citation-engine-description"
23122 Citation engine description
23125 \begin_layout Standard
23129 \begin_inset Flex Code
23132 \begin_layout Plain Layout
23140 blocks, as used mainly in cite engine files (see
23141 \begin_inset CommandInset ref
23143 reference "subsec:Cite-Engine-Files"
23150 ), define the citation commands provided by a specific
23151 \begin_inset Quotes eld
23155 \begin_inset Quotes erd
23159 A cite engine, in \SpecialChar LyX
23160 terms, is way specific way to format citations, using
23161 numbers, author names and/or years.
23162 Currently, \SpecialChar LyX
23163 supports three such engine types, namely:
23166 \begin_layout Enumerate
23169 \begin_inset Flex Code
23172 \begin_layout Plain Layout
23180 : the default Bib\SpecialChar TeX
23181 way to format citations, a simple numeric style (e.
23182 \begin_inset space \thinspace{}
23186 \begin_inset Quotes eld
23190 \begin_inset Quotes erd
23196 \begin_layout Enumerate
23199 \begin_inset Flex Code
23202 \begin_layout Plain Layout
23210 : Harvard-styled citations using author names and publication year (e.
23211 \begin_inset space \thinspace{}
23215 \begin_inset Quotes eld
23218 Smith and Miller (2017b)
23219 \begin_inset Quotes erd
23225 \begin_layout Enumerate
23228 \begin_inset Flex Code
23231 \begin_layout Plain Layout
23239 : extended numerical citations that also allow for author or title next
23241 \begin_inset space \thinspace{}
23245 \begin_inset Quotes eld
23248 Smith and Miller [1]
23249 \begin_inset Quotes erd
23255 \begin_layout Standard
23258 \begin_inset Flex Code
23261 \begin_layout Plain Layout
23269 blocks look like this:
23272 \begin_layout LyX-Code
23278 \begin_layout LyX-Code
23284 \begin_layout LyX-Code
23290 \begin_layout LyX-Code
23293 citeyearpar[][]=parencite*
23296 \begin_layout LyX-Code
23302 \begin_layout LyX-Code
23308 \begin_layout Standard
23312 \begin_inset Flex Code
23315 \begin_layout Plain Layout
23323 denotes the engine.
23324 The individual lines respectively define a cite command or cite command
23325 paradigm supported by this engine.
23326 The line can be as simple as a cite command that is used both to name the
23327 respective \SpecialChar LyX
23328 command and the \SpecialChar LaTeX
23329 output or more complex in order to differentiate
23331 The full syntax is:
23334 \begin_layout LyX-Code
23337 LyXName|alias$*<!_stardesc!_stardesctooltip>[][]=latexcmd
23340 \begin_layout Itemize
23343 \begin_inset Flex Code
23346 \begin_layout Plain Layout
23354 : The name as used in the
23355 \begin_inset Flex Code
23358 \begin_layout Plain Layout
23370 \begin_layout Standard
23373 For portability reasons, we try to use the same name for same-formatted
23374 commands in different cite packages (thus many names stem from natbib,
23375 and thus we need to differentiate a
23376 \begin_inset Flex Code
23379 \begin_layout Plain Layout
23387 sometimes, if the \SpecialChar LaTeX
23388 command names differ).
23392 \begin_layout Itemize
23395 \begin_inset Flex Code
23398 \begin_layout Plain Layout
23406 : a (comma-separated) list of commands that fall back to the given
23407 \begin_inset Flex Code
23410 \begin_layout Plain Layout
23418 in the current engine.
23419 This eases the switch of citation packages and engines.
23421 \begin_inset Flex Code
23424 \begin_layout Plain Layout
23433 \begin_inset Flex Code
23436 \begin_layout Plain Layout
23444 in layout definitions.
23447 \begin_layout Itemize
23450 \begin_inset Flex Code
23453 \begin_layout Plain Layout
23461 : The actual \SpecialChar LaTeX
23462 command that is output.
23466 \begin_layout Standard
23469 \begin_inset Flex Code
23472 \begin_layout Plain Layout
23481 \begin_inset Flex Code
23484 \begin_layout Plain Layout
23494 \begin_inset Flex Code
23497 \begin_layout Plain Layout
23506 \begin_inset Flex Code
23509 \begin_layout Plain Layout
23517 will be output to \SpecialChar LaTeX
23521 \begin_layout Standard
23527 \begin_layout Itemize
23530 Capitalization indicates that the command also has a capitalized form (
23531 \begin_inset Flex Code
23534 \begin_layout Plain Layout
23546 \begin_inset Flex Code
23549 \begin_layout Plain Layout
23560 These usually enforce up-casing of name prefixes (
23565 \begin_inset Formula $\Rightarrow$
23575 \begin_layout Itemize
23579 \begin_inset Flex Code
23582 \begin_layout Plain Layout
23590 indicate the number of optional arguments (there can be 0–2).
23593 \begin_layout Itemize
23597 \begin_inset Flex Code
23600 \begin_layout Plain Layout
23608 indicates there is a starred version of the command (
23609 \begin_inset Flex Code
23612 \begin_layout Plain Layout
23624 \begin_inset Flex Code
23627 \begin_layout Plain Layout
23642 \begin_layout Standard
23645 By default, the starred version means: Output all authors even if it should
23647 \begin_inset Quotes eld
23651 \begin_inset Quotes erd
23655 \begin_inset Flex Code
23658 \begin_layout Plain Layout
23669 \begin_layout Standard
23672 If the star has a different meaning for a given command, it can be specified
23674 \begin_inset Flex Code
23677 \begin_layout Plain Layout
23680 <!_stardesc!_stardesctooltip>
23686 Maximal two translatable macro keywords, marked by the prefix
23687 \begin_inset Flex Code
23690 \begin_layout Plain Layout
23699 The first points to the string that replaces the
23700 \begin_inset Quotes eld
23704 \begin_inset Quotes erd
23707 checkbox label in the citation dialog, the second one to an optional tool
23708 tip for this checkbox.
23712 \begin_layout Standard
23715 Note that these two macros have to be defined in a
23716 \begin_inset Flex Code
23719 \begin_layout Plain Layout
23727 (see next section), dropping the
23728 \begin_inset Flex Code
23731 \begin_layout Plain Layout
23739 from the prefix, like this:
23742 \begin_layout LyX-Code
23745 _stardesc Sta&rred command label
23748 \begin_layout LyX-Code
23751 _stardesctooltip Tooltip for the starred command checkbox.
23755 \begin_layout Itemize
23759 \begin_inset Flex Code
23762 \begin_layout Plain Layout
23770 indicates that this command features
23771 \begin_inset Quotes eld
23774 qualified citation lists
23775 \begin_inset Quotes erd
23783 -specific feature for multi-reference citations where an individual pre-
23784 and postnote can be given to each reference in the list.
23785 Please refer to the
23789 manual for details.
23792 \begin_layout Subsection
23793 Description d'une insertion de citation
23794 \begin_inset CommandInset label
23796 name "subsec:Description citation"
23803 \begin_layout Standard
23805 \begin_inset Flex Code
23808 \begin_layout Plain Layout
23814 servent à décrire comment les citations bibliographiques doivent être affichées
23815 , à la fois dans \SpecialChar LyX
23816 (dans la fenêtre de citation et dans les bulles d'aide,
23817 par exemple) et dans le résultat XHTML.
23818 Un tel bloc se présente comme suit:
23821 \begin_layout LyX-Code
23827 \begin_layout LyX-Code
23833 \begin_layout LyX-Code
23839 \begin_layout LyX-Code
23845 \begin_layout Standard
23851 \begin_layout LyX-Code
23857 \begin_layout LyX-Code
23863 \begin_layout LyX-Code
23869 \begin_layout LyX-Code
23875 \begin_layout Standard
23878 Dans le premier cas,
23880 les différentes lignes définissent l'affichage de l'information correspondant
23881 à une article ou à un livre, respectivement, et une telle définition peut
23882 être créée pour tout type d'entrée apparaissant dans un fichier Bib\SpecialChar TeX
23885 définit un format implicite dans le code source qui sera utilisé si aucune
23886 définition spécifique n'est fournie.
23888 prédéfinit plusieurs formats dans le fichier
23889 \begin_inset Flex Code
23892 \begin_layout Plain Layout
23898 , qui est inclus dans la plupart des classes de document \SpecialChar LyX
23902 \begin_layout Standard
23905 In the second case, the lines define how a specific citation command (in
23907 \begin_inset Flex Code
23910 \begin_layout Plain Layout
23921 \begin_inset Flex Code
23924 \begin_layout Plain Layout
23934 ) is to be displayed on the citation inset label, in the citation dialog,
23935 menu or XHTML output.
23937 defines such formats for the citation style variants it supports via
23939 Document\SpecialChar menuseparator
23940 Setting\SpecialChar menuseparator
23941 Bibliography\SpecialChar ldots
23945 \begin_inset Flex Code
23948 \begin_layout Plain Layout
23956 files that are shipped with \SpecialChar LyX
23958 \begin_inset CommandInset ref
23960 reference "subsec:Cite-Engine-Files"
23970 \begin_layout Standard
23971 Les définitions utilisent un langage simple qui permet
23972 \begin_inset space ~
23975 de remplacer les clés Bib\SpecialChar TeX
23977 les clés doivent être encloses entre caractères
23980 \begin_inset Flex Code
23983 \begin_layout Plain Layout
23992 \begin_inset Flex Code
23995 \begin_layout Plain Layout
24006 Une définition simple serait par exemple:
24009 \begin_layout LyX-Code
24013 \begin_inset Quotes eld
24017 \begin_inset Quotes erd
24023 \begin_layout Standard
24024 Ceci imprimerait le nom de l'auteur, suivi d'une virgule, suivi du titre,
24025 entre double guillemets, suivi d'un point.
24028 \begin_layout Standard
24029 Bien entendu, vous voudrez parfois n'imprimer une clé que si elle existe.
24030 Ceci est obtenu par une construction conditionnelle, comme:
24031 \begin_inset Flex Code
24034 \begin_layout Plain Layout
24036 \begin_inset space ~
24045 Ceci signifie: si la clé
24046 \begin_inset Flex Code
24049 \begin_layout Plain Layout
24055 existe, alors imprimer
24056 \begin_inset Quotes cld
24060 \begin_inset Quotes crd
24063 suivi de la clé volume.
24064 On peut aussi introduire une clause
24065 \begin_inset Flex Code
24068 \begin_layout Plain Layout
24074 dans l'expression conditionnelle, comme dans:
24075 \begin_inset Newline newline
24079 \begin_inset Flex Code
24082 \begin_layout Plain Layout
24083 {%author%[[%author%]][[%editor%, ed.]]}
24089 \begin_inset Newline newline
24093 \begin_inset Flex Code
24096 \begin_layout Plain Layout
24102 est imprimée si elle existe; sinon la clé
24103 \begin_inset Flex Code
24106 \begin_layout Plain Layout
24112 est imprimée, suivi de
24113 \begin_inset Quotes cld
24117 \begin_inset Quotes crd
24121 Noter que la clé est encore enclose entre caractères
24122 \begin_inset Flex Code
24125 \begin_layout Plain Layout
24131 ; la clause conditionnelle entière est enclose entre accolades, et les clauses
24133 \begin_inset Flex Code
24136 \begin_layout Plain Layout
24143 \begin_inset Flex Code
24146 \begin_layout Plain Layout
24152 sont encloses entre double crochets
24153 \begin_inset Quotes cld
24157 \begin_inset Quotes crd
24161 \begin_inset Quotes cld
24165 \begin_inset Quotes crd
24169 Il ne peut avoir d'espaces entre ces marqueurs.
24172 \begin_layout Standard
24175 Next to the entry keys, there are some special keys that can be used for
24176 these conditionals:
24179 \begin_layout Itemize
24182 \begin_inset Flex Code
24185 \begin_layout Plain Layout
24188 {%dialog%[[true]][[false]]}
24194 \begin_inset Quotes eld
24198 \begin_inset Quotes erd
24201 part for dialogs and menus, the
24202 \begin_inset Quotes eld
24206 \begin_inset Quotes erd
24209 part for other contexts (workarea, export)
24212 \begin_layout Itemize
24215 \begin_inset Flex Code
24218 \begin_layout Plain Layout
24221 {%export%[[true]][[false]]}
24227 \begin_inset Quotes eld
24231 \begin_inset Quotes erd
24234 part for export and menus, the
24235 \begin_inset Quotes eld
24239 \begin_inset Quotes erd
24242 part for other contexts (workarea, dialog)
24245 \begin_layout Itemize
24248 \begin_inset Flex Code
24251 \begin_layout Plain Layout
24260 \begin_inset Quotes eld
24264 \begin_inset Quotes erd
24267 part if another item follows (e.
24268 \begin_inset space \thinspace{}
24271 g., in a citation with multiple keys)
24274 \begin_layout Itemize
24277 \begin_inset Flex Code
24280 \begin_layout Plain Layout
24283 {%second%[[true]][[false]]}
24289 \begin_inset Quotes eld
24293 \begin_inset Quotes erd
24296 if this is the second of multiple items, else the
24297 \begin_inset Quotes eld
24301 \begin_inset Quotes erd
24307 \begin_layout Itemize
24310 \begin_inset Flex Code
24313 \begin_layout Plain Layout
24316 {%ifstar%[[true]][[false]]}
24322 \begin_inset Quotes eld
24326 \begin_inset Quotes erd
24329 part for starred citation commands (such as
24330 \begin_inset Flex Code
24333 \begin_layout Plain Layout
24343 ), the false part for unstarred
24346 \begin_layout Itemize
24349 \begin_inset Flex Code
24352 \begin_layout Plain Layout
24355 {%ifentrytype:<type>%[[true]][[false]]}
24361 \begin_inset Quotes eld
24365 \begin_inset Quotes erd
24368 if the current entry type matches
24369 \begin_inset Flex Code
24372 \begin_layout Plain Layout
24380 , else the false part (e.g., in a citation definition:
24381 \begin_inset Flex Code
24384 \begin_layout Plain Layout
24387 {%ifentrytype:book%[[this is a book]][[this is no book]]}
24395 \begin_layout Itemize
24398 \begin_inset Flex Code
24401 \begin_layout Plain Layout
24404 {%ifmultiple:<authortype>%[[true]][[false]]}
24410 \begin_inset Quotes eld
24414 \begin_inset Quotes erd
24417 if the current author type (author, editor etc.) has multiple authors, else
24418 the false part (e.g., in a bibliography definition:
24419 \begin_inset Flex Code
24422 \begin_layout Plain Layout
24425 {%ifmultiple:editor%[[eds.]][[ed.]]}
24433 \begin_layout Itemize
24436 \begin_inset Flex Code
24439 \begin_layout Plain Layout
24442 {%ifqualified%[[true]][[false]]}
24448 \begin_inset Quotes eld
24452 \begin_inset Quotes erd
24455 part if the current citation is a qualified citation list (a specific
24459 format for multi-reference citations), the false part if this is not the
24463 \begin_layout Standard
24467 \begin_inset Flex Code
24470 \begin_layout Plain Layout
24478 prints the author key as it is recorded in the bibliography file.
24479 This might not be what you want, since it will result in a string such
24481 \begin_inset Quotes eld
24484 Miller, Peter and Smith, Mary and White, Jane
24485 \begin_inset Quotes erd
24489 \begin_inset Quotes eld
24493 \begin_inset Quotes erd
24496 is used by Bib\SpecialChar TeX
24497 to delimit authors).
24499 therefore provides some methods to get properly formatted name lists (which
24500 will also get translated).
24501 The following keys are provided:
24504 \begin_layout Enumerate
24507 For name lists with pre- and surname, suitable for the main authors/editors
24508 of a bibliography item.
24510 \begin_inset Flex Code
24513 \begin_layout Plain Layout
24521 part denotes the kind of list that is requested (e.g.
24523 \begin_inset Flex Code
24526 \begin_layout Plain Layout
24538 \begin_layout Itemize
24541 \begin_inset Flex Code
24544 \begin_layout Plain Layout
24547 %abbrvnames:<nametype>%
24552 : Provides a name list which is abbreviated (with
24553 \begin_inset Quotes eld
24557 \begin_inset Quotes erd
24561 \begin_inset Flex Code
24564 \begin_layout Plain Layout
24575 \begin_layout Itemize
24578 \begin_inset Flex Code
24581 \begin_layout Plain Layout
24584 %fullnames:<nametype>%
24589 : Provides a full name list (never abbreviated with
24590 \begin_inset Quotes eld
24594 \begin_inset Quotes erd
24600 \begin_layout Itemize
24603 \begin_inset Flex Code
24606 \begin_layout Plain Layout
24609 %forceabbrvnames:<nametype>%
24614 : Provides a name list which is always abbreviated (with
24615 \begin_inset Quotes eld
24619 \begin_inset Quotes erd
24623 \begin_inset Flex Code
24626 \begin_layout Plain Layout
24638 \begin_layout Enumerate
24641 Alternative name lists with pre- and surname, if the order of pre- and surname
24642 inside the bibliography item differs (as in:
24643 \begin_inset Quotes eld
24646 Miller, John: Some text, in: Mary Smith, ed.: A volume
24647 \begin_inset Quotes erd
24654 \begin_layout Itemize
24657 \begin_inset Flex Code
24660 \begin_layout Plain Layout
24663 %abbrvbynames:<nametype>%
24668 : Provides a name list which is abbreviated (with
24669 \begin_inset Quotes eld
24673 \begin_inset Quotes erd
24677 \begin_inset Flex Code
24680 \begin_layout Plain Layout
24691 \begin_layout Itemize
24694 \begin_inset Flex Code
24697 \begin_layout Plain Layout
24700 %fullbynames:<nametype>%
24705 : Provides a full name list (never abbreviated with
24706 \begin_inset Quotes eld
24710 \begin_inset Quotes erd
24716 \begin_layout Itemize
24719 \begin_inset Flex Code
24722 \begin_layout Plain Layout
24725 %forceabbrvbynames:<nametype>%
24730 : Provides a name list which is always abbreviated (with
24731 \begin_inset Quotes eld
24735 \begin_inset Quotes erd
24739 \begin_inset Flex Code
24742 \begin_layout Plain Layout
24754 \begin_layout Enumerate
24757 And finally name lists which consist of family names only, as used in author-yea
24759 these do not take a
24760 \begin_inset Flex Code
24763 \begin_layout Plain Layout
24771 part, but always return either an author list or, if this does not exist,
24772 an editor list (as common in author-year labels):
24776 \begin_layout Itemize
24779 \begin_inset Flex Code
24782 \begin_layout Plain Layout
24790 : Provides a name list which is abbreviated (with
24791 \begin_inset Quotes eld
24795 \begin_inset Quotes erd
24799 \begin_inset Flex Code
24802 \begin_layout Plain Layout
24813 \begin_layout Itemize
24816 \begin_inset Flex Code
24819 \begin_layout Plain Layout
24827 : Provides a full name list (never abbreviated with
24828 \begin_inset Quotes eld
24832 \begin_inset Quotes erd
24838 \begin_layout Itemize
24841 \begin_inset Flex Code
24844 \begin_layout Plain Layout
24847 %forceabbrvciteauthor%
24852 : Provides a name list which is always abbreviated (with
24853 \begin_inset Quotes eld
24857 \begin_inset Quotes erd
24861 \begin_inset Flex Code
24864 \begin_layout Plain Layout
24876 \begin_layout Standard
24879 The order of pre- and surname in the former two lists can be adjusted by
24883 \begin_layout Itemize
24886 \begin_inset Flex Code
24889 \begin_layout Plain Layout
24892 !firstnameform %surname%, %prename%
24897 (first author in lists of type 1)
24900 \begin_layout Itemize
24903 \begin_inset Flex Code
24906 \begin_layout Plain Layout
24909 !othernameform %surname%, %prename%
24914 (other authors in lists of type 1)
24917 \begin_layout Itemize
24920 \begin_inset Flex Code
24923 \begin_layout Plain Layout
24926 !firstbynameform %prename% %surname%
24931 (first author in lists of type 2)
24934 \begin_layout Itemize
24937 \begin_inset Flex Code
24940 \begin_layout Plain Layout
24943 !otherbynameform %prename% %surname%
24948 (other authors in lists of type 2)
24951 \begin_layout Standard
24954 This allows you to configure namings like
24955 \begin_inset Quotes eld
24958 Miller, Peter and Mary Smith: \SpecialChar ldots
24959 , in: John Doe and Pat Green, eds.:\SpecialChar ldots
24961 \begin_inset Quotes erd
24967 \begin_layout Standard
24968 Il existe enfin une autre syntaxe possible dans ces définitions, qui se
24969 présente comme suit:
24970 \begin_inset Flex Code
24973 \begin_layout Plain Layout
24980 Ceci définit une entité d'information utilisée pour créer du
24981 \begin_inset Quotes cld
24985 \begin_inset Quotes crd
24989 De manière évidente, nous ne souhaitons pas exporter des balises HTML en
24990 écrivant du texte normal, aussi doivent elles être enclose entre
24991 \begin_inset Quotes cld
24995 \begin_inset Quotes crd
24999 \begin_inset Quotes cld
25003 \begin_inset Quotes crd
25009 \begin_layout Standard
25010 Deux définitions spéciales sont également disponibles dans un bloc
25011 \begin_inset Flex Code
25014 \begin_layout Plain Layout
25020 Un exemple de la première définition est celle-ci:
25023 \begin_layout LyX-Code
25025 \begin_inset Quotes eld
25029 \begin_inset Quotes erd
25035 \begin_layout Standard
25036 Ceci est une abréviation, ou macro-instruction, et peut être employée comme
25038 \begin_inset Flex Code
25041 \begin_layout Plain Layout
25050 \begin_inset Flex Code
25053 \begin_layout Plain Layout
25059 exactement comme s'il s'agissait de sa définition.
25060 Exprimons par conséquent un
25064 évident: n'utilisez pas:
25067 \begin_layout LyX-Code
25071 \begin_layout Standard
25074 ne devrait pas se perdre dans une boucle infinie, mais cela peut prendre
25075 un moment avant qu'il s'en sorte.
25078 \begin_layout Standard
25079 Le second type de définitions particulières se présente comme ceci:
25082 \begin_layout LyX-Code
25088 \begin_layout Standard
25089 Ceci définit un segment de texte susceptible de traduction, ce qui permet
25090 de traduire les parties appropriées de la bibliographie
25095 Cette syntaxe peut être incluse dans une définition normale en la considérant
25097 \begin_inset Flex Code
25100 \begin_layout Plain Layout
25107 Plusieurs d'entre elles sont prédéfinies dans
25108 \begin_inset Flex Code
25111 \begin_layout Plain Layout
25121 \begin_inset Flex Code
25124 \begin_layout Plain Layout
25134 Notez bien que ce ne sont pas des macro-instructions, au sens défini ci-dessus:
25135 elles ne seront pas interprétées.
25138 \begin_layout Standard
25139 Voici donc un exemple utilisant toutes ces fonctionnalités:
25142 \begin_inset VSpace defskip
25148 \begin_layout Standard
25153 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %_edtext%, ]]}]]}
25156 \begin_layout Standard
25159 \begin_inset VSpace defskip
25164 Ceci défini une macro qui imprime le nom de l'auteur, suivi d'un virgule,
25166 \begin_inset Flex Code
25169 \begin_layout Plain Layout
25175 existe, ou bien imprime le nom de l'éditeur, suivi de
25176 \begin_inset Flex Code
25179 \begin_layout Plain Layout
25185 ou de sa traduction (implicitement, apparaîtra
25186 \begin_inset Quotes cld
25190 \begin_inset Quotes crd
25194 \begin_inset Flex Code
25197 \begin_layout Plain Layout
25204 Notez que ceci est déjà défini dans
25205 \begin_inset Flex Code
25208 \begin_layout Plain Layout
25214 , vous pouvez donc l'utiliser dans vos propres définitions, ou redéfinitions,
25215 si vous chargez ce fichier d'abord.
25218 \begin_layout Section
25219 Directives pour l'exportation XHTML
25220 \begin_inset CommandInset label
25222 name "sec:Tags-for-XHTML"
25229 \begin_layout Standard
25230 Comme pour \SpecialChar LaTeX
25231 ou DocBook, la présentation du résultat HTML créé par \SpecialChar LyX
25233 par les informations de format.
25234 En général, \SpecialChar LyX
25235 produit une présentation implicite raisonnable, et comme indiqué
25236 plus haut, il construira même des règles implicites CSS à partir des autres
25237 directives de format.
25238 Par exemple, \SpecialChar LyX
25239 essaiera d'utiliser l'information du bloc
25240 \begin_inset Flex Code
25243 \begin_layout Plain Layout
25249 du style Chapter pour écrire une CSS qui mettra en forme les titres de
25250 chapitres de manière appropriée.
25253 \begin_layout Standard
25254 Dans de nombreux cas, vous n'aurez donc sans doute rien à faire du tout
25255 pour obtenir un résultat XHTML acceptable pour vos environnements propres,
25256 vos inserts personnalisés, et ainsi de suite.
25257 Mais dans certains cas vous devrez faire quelque chose, et \SpecialChar LyX
25259 conséquent un certain nombre de directives de format qui peuvent être utilisées
25260 pour personnaliser le XHTML et les CSS qui sont créés.
25263 \begin_layout Standard
25264 Notez qu'il existe deux directives,
25265 \begin_inset Flex Code
25268 \begin_layout Plain Layout
25275 \begin_inset Flex Code
25278 \begin_layout Plain Layout
25284 , qui peuvent apparaître en dehors des déclarations de style et d'insert.
25286 \begin_inset CommandInset ref
25288 reference "subsec:Paramètres-généraux-d'une"
25292 pour les détails sur celles-ci.
25295 \begin_layout Subsection
25296 Styles de paragraphe
25297 \begin_inset CommandInset label
25299 name "subsec:Styles-de-paragraphe-XHTML"
25306 \begin_layout Standard
25307 Le type de XHTML que \SpecialChar LyX
25308 crée pour un paragraphe dépend s'il s'agit d'un paragraphe
25309 normal, d'une commande ou d'un environnement, ce qui est déterminé par
25310 le contenu de la directive correspondante
25311 \begin_inset Flex Code
25314 \begin_layout Plain Layout
25324 \begin_layout Standard
25325 Pour une commande ou un paragraphe normal, le résultat XHTML a la forme
25329 \begin_layout LyX-Code
25333 \begin_inset Quotes erd
25337 \begin_inset Quotes erd
25343 \begin_layout LyX-Code
25347 \begin_inset Quotes erd
25351 \begin_inset Quotes erd
25361 \begin_layout LyX-Code
25362 Contenu du paragraphe
25365 \begin_layout LyX-Code
25371 \begin_layout Standard
25372 Les balises d'étiquette sont bien entendu omises si le paragraphe n'est
25376 \begin_layout Standard
25377 Pour un environnement qui n'est pas du type liste, le XHTML prend la forme:
25380 \begin_layout LyX-Code
25384 \begin_inset Quotes erd
25388 \begin_inset Quotes erd
25394 \begin_layout LyX-Code
25398 \begin_inset Quotes erd
25402 \begin_inset Quotes erd
25406 \begin_inset Quotes erd
25410 \begin_inset Quotes erd
25415 Étiquette d'environnement
25419 Premier paragraphe.
25424 \begin_layout LyX-Code
25434 \begin_layout LyX-Code
25440 \begin_layout Standard
25441 Noter que l'étiquette n'est émise que pour le premier paragraphe, comme
25442 ce serait le cas pour une théorème, par exemple.
25445 \begin_layout Standard
25446 Pour une liste, nous avons une de ces formes:
25449 \begin_layout LyX-Code
25453 \begin_inset Quotes erd
25457 \begin_inset Quotes erd
25463 \begin_layout LyX-Code
25467 \begin_inset Quotes erd
25471 \begin_inset Quotes erd
25475 \begin_inset Quotes erd
25479 \begin_inset Quotes erd
25493 \begin_layout LyX-Code
25497 \begin_inset Quotes erd
25501 \begin_inset Quotes erd
25505 \begin_inset Quotes erd
25509 \begin_inset Quotes erd
25523 \begin_layout LyX-Code
25529 \begin_layout LyX-Code
25533 \begin_layout LyX-Code
25537 \begin_inset Quotes erd
25541 \begin_inset Quotes erd
25547 \begin_layout LyX-Code
25551 \begin_inset Quotes erd
25555 \begin_inset Quotes erd
25562 </labeltag><itemtag attr=
25563 \begin_inset Quotes erd
25567 \begin_inset Quotes erd
25577 \begin_layout LyX-Code
25581 \begin_inset Quotes erd
25585 \begin_inset Quotes erd
25592 </labeltag><itemtag attr=
25593 \begin_inset Quotes erd
25597 \begin_inset Quotes erd
25607 \begin_layout LyX-Code
25613 \begin_layout Standard
25614 Noter la différence en ce qui concerne l'ordre des balises
25615 \begin_inset Flex Code
25618 \begin_layout Plain Layout
25625 \begin_inset Flex Code
25628 \begin_layout Plain Layout
25635 L'ordre obtenu dépend du positionnement de
25636 \begin_inset Flex Code
25639 \begin_layout Plain Layout
25646 \begin_inset Flex Code
25649 \begin_layout Plain Layout
25655 est fausse (valeur implicite), vous obtiendrez la première forme, avec
25656 l'étiquette dans l'élément; s'il la valeur est vraie, vous obtiendrez la
25657 seconde forme, avec l'étiquette en dehors de l'élément.
25660 \begin_layout Standard
25661 Les balises et les attributs spécifiques émis pour chaque type de paragraphe
25662 peuvent être contrôlés par les directives de format que nous allons décrire.
25663 Comme indiqué ci-dessus, cependant, \SpecialChar LyX
25664 utilise des valeurs implicites raisonnable
25665 s pour la plupart d'entre elles, vous n'aurez donc pas grand-chose à faire
25666 pour produire un résultat XHTML satisfaisant.
25667 Pensez aux directives disponibles comme un supplément pour obtenir un réglage
25668 à votre convenance.
25671 \begin_layout Description
25674 \begin_inset Flex Code
25677 \begin_layout Plain Layout
25686 \begin_inset Flex Code
25689 \begin_layout Plain Layout
25697 précise les informations d'attribut à émettre avec la balise principale.
25699 \begin_inset Flex Code
25702 \begin_layout Plain Layout
25703 \begin_inset Quotes cld
25707 \begin_inset Quotes crd
25716 Implicitement, \SpecialChar LyX
25718 \begin_inset Flex Code
25721 \begin_layout Plain Layout
25722 \begin_inset Quotes cld
25726 \begin_inset Quotes crd
25735 \begin_inset Flex Code
25738 \begin_layout Plain Layout
25744 est le nom du style en bas de casse, par exemple: chapter.
25745 Ceci ne doit contenir
25749 information de style: utiliser
25750 \begin_inset Flex Code
25753 \begin_layout Plain Layout
25762 \begin_layout Description
25765 \begin_inset Flex Code
25768 \begin_layout Plain Layout
25779 \begin_inset Flex Code
25782 \begin_layout Plain Layout
25791 \begin_inset space \thinspace{}
25795 \begin_inset Flex Code
25798 \begin_layout Plain Layout
25804 ] indique s'il faut émettre l'information CSS implicite engendrée par \SpecialChar LyX
25806 ce style, même si une information complémentaire est explicitement émise
25808 \begin_inset Flex Code
25811 \begin_layout Plain Layout
25818 Positionner cette directive à
25819 \begin_inset Flex Code
25822 \begin_layout Plain Layout
25828 vous permet de modifier ou de compléter la CSS créée, plutôt que de l'écraser
25831 \begin_inset Flex Code
25834 \begin_layout Plain Layout
25843 \begin_layout Description
25846 \begin_inset Flex Code
25849 \begin_layout Plain Layout
25858 \begin_inset Flex Code
25861 \begin_layout Plain Layout
25869 définit la balise utilisée pour les paragraphes ou environnements isolés,
25871 \begin_inset Flex Code
25874 \begin_layout Plain Layout
25880 dans les exemples ci-dessus.
25882 \begin_inset Flex Code
25885 \begin_layout Plain Layout
25894 \begin_layout Description
25897 \begin_inset Flex Code
25900 \begin_layout Plain Layout
25909 \begin_inset Flex Code
25912 \begin_layout Plain Layout
25920 définit les attributs des balises
25921 \begin_inset Flex Code
25924 \begin_layout Plain Layout
25932 \begin_inset Flex Code
25935 \begin_layout Plain Layout
25936 \begin_inset Quotes cld
25939 class=`nomstyle_item'
25940 \begin_inset Quotes crd
25949 Ceci ne doit contenir
25953 information de style: utiliser
25954 \begin_inset Flex Code
25957 \begin_layout Plain Layout
25966 \begin_layout Description
25969 \begin_inset Flex Code
25972 \begin_layout Plain Layout
25981 \begin_inset Flex Code
25984 \begin_layout Plain Layout
25992 définit la balise utilisée pour les étiquettes de paragraphe et d'élément,
25994 \begin_inset Flex Code
25997 \begin_layout Plain Layout
26003 dans les exemples ci-dessus.
26005 \begin_inset Flex Code
26008 \begin_layout Plain Layout
26015 \begin_inset Flex Code
26018 \begin_layout Plain Layout
26025 \begin_inset Flex Code
26028 \begin_layout Plain Layout
26035 \begin_inset Newline newline
26039 \begin_inset Flex Code
26042 \begin_layout Plain Layout
26043 Centered_Top_Environment
26048 , auquel cas elle vaut implicitement
26049 \begin_inset Flex Code
26052 \begin_layout Plain Layout
26061 \begin_layout Description
26064 \begin_inset Flex Code
26067 \begin_layout Plain Layout
26076 \begin_inset Flex Code
26079 \begin_layout Plain Layout
26087 définit les attributs de la balise
26088 \begin_inset Flex Code
26091 \begin_layout Plain Layout
26099 \begin_inset Quotes erd
26103 Ceci ne doit contenir
26107 information de style: utiliser
26108 \begin_inset Flex Code
26111 \begin_layout Plain Layout
26120 \begin_layout Description
26123 \begin_inset Flex Code
26126 \begin_layout Plain Layout
26137 \begin_inset Flex Code
26140 \begin_layout Plain Layout
26149 \begin_inset space \thinspace{}
26153 \begin_inset Flex Code
26156 \begin_layout Plain Layout
26162 ], significatif uniquement pour les environnements de liste, contrôle si
26163 la balise d'étiquetage est émise avant ou dans la balise d'élément.
26164 Ceci est utilisé par exemple dans l'environnement de description, où l'on
26166 \begin_inset Flex Code
26169 \begin_layout Plain Layout
26170 \begin_inset Quotes cld
26173 <dt>\SpecialChar ldots
26174 </dt><dd>\SpecialChar ldots
26176 \begin_inset Quotes crd
26186 \begin_inset Flex Code
26189 \begin_layout Plain Layout
26195 : la balise d'étiquetage est dans la balise d'élément.
26198 \begin_layout Description
26201 \begin_inset Flex Code
26204 \begin_layout Plain Layout
26214 définit l'information à émettre dans la section
26215 \begin_inset Flex Code
26218 \begin_layout Plain Layout
26224 quand ce style est utilisé.
26225 Ceci pourrait être utilisé par exemple pour inclure un bloc
26226 \begin_inset Flex Code
26229 \begin_layout Plain Layout
26235 définissant un gestionnaire
26236 \begin_inset Flex Code
26239 \begin_layout Plain Layout
26248 \begin_layout Description
26251 \begin_inset Flex Code
26254 \begin_layout Plain Layout
26264 définit l'information à émettre dans la section
26265 \begin_inset Flex Code
26268 \begin_layout Plain Layout
26274 quand ce style est utilisé.
26275 Ceci pourrait être utilisé par exemple pour inclure un bloc
26276 \begin_inset Flex Code
26279 \begin_layout Plain Layout
26285 définissant un gestionnaire
26286 \begin_inset Flex Code
26289 \begin_layout Plain Layout
26296 Doit être fermé par
26299 \begin_inset Flex Code
26302 \begin_layout Plain Layout
26315 \begin_layout Description
26318 \begin_inset Flex Code
26321 \begin_layout Plain Layout
26330 \begin_inset Flex Code
26333 \begin_layout Plain Layout
26341 définit la balise utilisé pour l'étiquette principale, qui remplace
26342 \begin_inset Flex Code
26345 \begin_layout Plain Layout
26351 dans les exemples ci-dessus.
26353 \begin_inset Flex Code
26356 \begin_layout Plain Layout
26365 \begin_layout Description
26368 \begin_inset Flex Code
26371 \begin_layout Plain Layout
26382 \begin_inset Flex Code
26385 \begin_layout Plain Layout
26394 \begin_inset space \thinspace{}
26398 \begin_inset Flex Code
26401 \begin_layout Plain Layout
26407 ] identifie ce style comme celui à utiliser pour créer la balise
26408 \begin_inset Flex Code
26411 \begin_layout Plain Layout
26417 dans le fichier XHTML.
26418 Implicitement fausse.
26420 \begin_inset Flex Code
26423 \begin_layout Plain Layout
26429 la positionne à vraie pour l'environnement
26430 \begin_inset Flex Code
26433 \begin_layout Plain Layout
26442 \begin_layout Subsection
26448 \begin_layout Standard
26449 L'exportation XHTML des inserts peut également être contrôlée par l'information
26450 résidant dans les fichiers de format
26454 \begin_layout Plain Layout
26455 Pour le moment, ceci n'est exact que pour les inserts de
26456 \begin_inset Quotes cld
26460 \begin_inset Quotes crd
26463 (les inserts dans lesquels vous pouvez effectuer une saisie), mais n'est
26464 pas exact pour les inserts de
26465 \begin_inset Quotes cld
26469 \begin_inset Quotes crd
26472 (inserts associés à des boîtes de dialogue).
26478 Là encore, \SpecialChar LyX
26479 essaie de produire implicitement un résultat raisonnable, et
26480 il crée des règles CSS implicites.
26481 Mais tout peut être personnalisé.
26484 \begin_layout Standard
26485 Le résultat XHTML produit par \SpecialChar LyX
26486 pour un insert a la forme suivante:
26489 \begin_layout LyX-Code
26493 \begin_inset Quotes erd
26497 \begin_inset Quotes erd
26503 \begin_layout LyX-Code
26513 \begin_layout LyX-Code
26517 \begin_inset Quotes erd
26521 \begin_inset Quotes erd
26526 Contenu de l'insert.
26531 \begin_layout LyX-Code
26537 \begin_layout Standard
26538 Si l'insert permet de saisir plusieurs paragraphes — c'est-à-dire, si
26539 \begin_inset Flex Code
26542 \begin_layout Plain Layout
26548 est vrai — alors le contenu de l'insert sera exporté également en paragraphes
26549 formatés en fonction des styles utilisés pour ces paragraphes (standard,
26550 citation et similaire).
26551 La balise d'étiquetage est bien entendu omise si la paragraphe n'a pas
26552 d'étiquette et, pour le moment, est toujours
26553 \begin_inset Flex Code
26556 \begin_layout Plain Layout
26563 La balise interne est facultative et, implicitement, n'apparaît pas.
26566 \begin_layout Standard
26567 Les balises et attributs spécifiques émis pour chaque insert peuvent être
26568 contrôlés au moyen des directives de format suivantes:
26571 \begin_layout Description
26574 \begin_inset Flex Code
26577 \begin_layout Plain Layout
26588 \begin_inset Flex Code
26591 \begin_layout Plain Layout
26597 ] précise les informations d'attribut à émettre avec la balise principale.
26599 \begin_inset Flex Code
26602 \begin_layout Plain Layout
26603 \begin_inset Quotes cld
26606 class=`moninsert' onclick=`\SpecialChar ldots
26608 \begin_inset Quotes crd
26617 Implicitement, \SpecialChar LyX
26619 \begin_inset Flex Code
26622 \begin_layout Plain Layout
26623 \begin_inset Quotes cld
26627 \begin_inset Quotes crd
26636 \begin_inset Flex Code
26639 \begin_layout Plain Layout
26645 est le nom \SpecialChar LyX
26646 de l'insert en bas de casse et avec les caractères non alphanumériq
26647 ues remplacés par des caractères
26648 \begin_inset Quotes cld
26652 \begin_inset Quotes crd
26655 , par exemple: footnote.
26658 \begin_layout Description
26661 \begin_inset Flex Code
26664 \begin_layout Plain Layout
26675 \begin_inset Flex Code
26678 \begin_layout Plain Layout
26687 \begin_inset space \thinspace{}
26691 \begin_inset Flex Code
26694 \begin_layout Plain Layout
26700 ] indique s'il faut émettre l'information CSS implicite engendrée par \SpecialChar LyX
26702 cet insert, même si une information complémentaire est explicitement émise
26704 \begin_inset Flex Code
26707 \begin_layout Plain Layout
26714 Positionner cette directive à
26715 \begin_inset Flex Code
26718 \begin_layout Plain Layout
26724 vous permet de modifier ou de compléter la CSS créée, plutôt que de l'écraser
26727 \begin_inset Flex Code
26730 \begin_layout Plain Layout
26739 \begin_layout Description
26742 \begin_inset Flex Code
26745 \begin_layout Plain Layout
26756 \begin_inset Flex Code
26759 \begin_layout Plain Layout
26765 ] fixe l'attribut de la balise interne.
26767 \begin_inset Newline newline
26771 \begin_inset Flex Code
26774 \begin_layout Plain Layout
26775 \begin_inset Quotes cld
26778 class=`nominsert_inner'
26779 \begin_inset Quotes crd
26790 \begin_layout Description
26793 \begin_inset Flex Code
26796 \begin_layout Plain Layout
26807 \begin_inset Flex Code
26810 \begin_layout Plain Layout
26816 ] détermine la balise interne, et remplace
26817 \begin_inset Flex Code
26820 \begin_layout Plain Layout
26826 dans les exemples ci-dessus.
26827 Implicitement absente.
26830 \begin_layout Description
26833 \begin_inset Flex Code
26836 \begin_layout Plain Layout
26847 \begin_inset Flex Code
26850 \begin_layout Plain Layout
26857 \begin_inset space \thinspace{}
26861 \begin_inset Flex Code
26864 \begin_layout Plain Layout
26872 ] indique si cet insert représente un bloc autonome de texte (comme une
26873 note de bas de page) ou bien représente du contenu inclus dans le texte
26874 environnant (comme une branche).
26876 \begin_inset Flex Code
26879 \begin_layout Plain Layout
26888 \begin_layout Description
26891 \begin_inset Flex Code
26894 \begin_layout Plain Layout
26905 \begin_inset Flex Code
26908 \begin_layout Plain Layout
26914 ] définit une étiquette pour cet insert, pouvant inclure une référence à
26916 Par exemple, pour une note de bas de page, ce peut être
26917 \begin_inset Flex Code
26920 \begin_layout Plain Layout
26929 Cette directive est facultative, et n'a pas de valeur implicite.
26932 \begin_layout Description
26935 \begin_inset Flex Code
26938 \begin_layout Plain Layout
26948 définit l'information à émettre dans la section
26949 \begin_inset Flex Code
26952 \begin_layout Plain Layout
26958 quand ce style est utilisé.
26959 Ceci pourrait être utilisé par exemple pour inclure un bloc
26960 \begin_inset Flex Code
26963 \begin_layout Plain Layout
26969 définissant un gestionnaire
26970 \begin_inset Flex Code
26973 \begin_layout Plain Layout
26982 \begin_layout Description
26985 \begin_inset Flex Code
26988 \begin_layout Plain Layout
26998 définit l'information CSS à inclure quand ce style est utilisé.
26999 Noter que le contenu sera automatiquement enclos dans un bloc
27000 \begin_inset Flex Code
27003 \begin_layout Plain Layout
27009 créé par la directive, il n'est donc besoin d'inclure que la CSS elle-même.
27012 \begin_layout Description
27015 \begin_inset Flex Code
27018 \begin_layout Plain Layout
27029 \begin_inset Flex Code
27032 \begin_layout Plain Layout
27038 ] définit la balise utilisé pour l'étiquette principale, qui remplace
27039 \begin_inset Flex Code
27042 \begin_layout Plain Layout
27048 dans les exemples ci-dessus.
27049 La valeur implicite dépend
27050 \change_deleted 34634807 1501859535
27054 \begin_inset Flex Code
27057 \begin_layout Plain Layout
27064 \begin_inset Flex Code
27067 \begin_layout Plain Layout
27073 est vrai, la valeur implicite est
27074 \begin_inset Flex Code
27077 \begin_layout Plain Layout
27083 ; s'il est faux, la valeur implicite est
27084 \begin_inset Flex Code
27087 \begin_layout Plain Layout
27096 \begin_layout Subsection
27100 \begin_layout Standard
27101 Le résultat XHTML pour les flottants peut être contrôlé par les informations
27103 Le résultat a la forme suivante:
27106 \begin_layout LyX-Code
27110 \begin_inset Quotes erd
27114 \begin_inset Quotes erd
27120 \begin_layout LyX-Code
27123 Contenu du flottant.
27126 \begin_layout LyX-Code
27132 \begin_layout Standard
27133 La légende, si elle est présente, est un insert séparé et sera émis en tant
27135 Son apparence pourra être contrôlée par la directive InsetLayout pour les
27136 inserts de légende.
27139 \begin_layout Description
27142 \begin_inset Flex Code
27145 \begin_layout Plain Layout
27154 \begin_inset Flex Code
27157 \begin_layout Plain Layout
27165 précise les informations d'attribut à émettre avec la balise principale.
27167 \begin_inset Flex Code
27170 \begin_layout Plain Layout
27171 \begin_inset Quotes cld
27174 class=`monflottant' onclick=`\SpecialChar ldots
27176 \begin_inset Quotes crd
27185 Implicitement, \SpecialChar LyX
27187 \begin_inset Flex Code
27190 \begin_layout Plain Layout
27191 \begin_inset Quotes cld
27196 class=`float float-typefloat'
27199 \begin_inset Quotes crd
27208 \begin_inset Flex Code
27211 \begin_layout Plain Layout
27217 est le nom \SpecialChar LyX
27218 de l'insert (tel qu'il est déterminé par la déclaration de
27220 \begin_inset CommandInset ref
27222 reference "subsec:Flottants"
27226 ) en bas de casse et avec les caractères non alphanumériques remplacés par
27228 \begin_inset Quotes cld
27232 \begin_inset Quotes crd
27236 \begin_inset Flex Code
27239 \begin_layout Plain Layout
27248 \begin_layout Description
27251 \begin_inset Flex Code
27254 \begin_layout Plain Layout
27264 définit l'information CSS à inclure quand ce flottant est utilisé.
27269 Noter que le contenu sera automatiquement enclos dans un bloc
27270 \begin_inset Flex Code
27273 \begin_layout Plain Layout
27279 créé par la directive, il n'est donc besoin d'inclure que la CSS elle-même.
27282 \begin_layout Description
27285 \begin_inset Flex Code
27288 \begin_layout Plain Layout
27297 \begin_inset Flex Code
27300 \begin_layout Plain Layout
27308 définit la balise utilisé pour l'étiquette principale, qui remplace
27309 \begin_inset Flex Code
27312 \begin_layout Plain Layout
27318 dans les exemples ci-dessus.
27320 \begin_inset Flex Code
27323 \begin_layout Plain Layout
27329 , cette valeur devra rarement être modifiée.
27332 \begin_layout Subsection
27333 Mise en page de la bibliographie
27336 \begin_layout Standard
27337 La bibliographie peut être mise en forme via les blocs
27338 \begin_inset Flex Code
27341 \begin_layout Plain Layout
27349 \begin_inset space ~
27353 \begin_inset CommandInset ref
27355 reference "subsec:Description citation"
27362 \begin_layout Subsection
27363 CSS créés par \SpecialChar LyX
27367 \begin_layout Standard
27368 Nous avons mentionné plusieurs fois que \SpecialChar LyX
27369 créera des règles CSS implicites
27370 pour les paragraphes et les inserts, fondées sur les autres informations
27371 de format fournies.
27372 Ici, nous préciserons quelle information est utilisée par \SpecialChar LyX
27376 \begin_layout Standard
27377 Pour le moment, \SpecialChar LyX
27378 engendre tout seul des CSS seulement pour les informations
27379 de police, en utilisant les directives
27380 \begin_inset Flex Code
27383 \begin_layout Plain Layout
27390 \begin_inset Flex Code
27393 \begin_layout Plain Layout
27400 \begin_inset Flex Code
27403 \begin_layout Plain Layout
27410 \begin_inset Flex Code
27413 \begin_layout Plain Layout
27419 spécifiées dans la déclaration
27420 \begin_inset Flex Code
27423 \begin_layout Plain Layout
27430 \begin_inset space ~
27434 \begin_inset CommandInset ref
27436 reference "subsec:polices"
27440 .) La traduction est essentiellement directe et évidente, par exemple
27441 \begin_inset Flex Code
27444 \begin_layout Plain Layout
27445 \begin_inset Quotes cld
27449 \begin_inset Quotes crd
27458 \begin_inset Flex Code
27461 \begin_layout Plain Layout
27462 \begin_inset Quotes cld
27465 font-family: sans-serif;
27466 \begin_inset Quotes crd
27475 La correspondance entre les tailles en \SpecialChar LyX
27476 et les tailles en CSS est un peu
27477 moins évidente main néanmoins intuitive.
27479 \begin_inset Flex Code
27482 \begin_layout Plain Layout
27489 \begin_inset Flex URL
27492 \begin_layout Plain Layout
27502 \begin_layout Chapter
27503 Insérer un objet externe
27504 \begin_inset CommandInset label
27506 name "chap:Insérer-un-Objet"
27513 \begin_layout Standard
27516 \begin_inset Box Shadowbox
27526 height_special "totalheight"
27531 backgroundcolor "none"
27534 \begin_layout Plain Layout
27535 Avertissement: cette partie des la documentation n'a pas été mise à jour
27536 depuis un certain temps.
27537 Nous espérons qu'elle est toujours correcte, mais ce n'est pas garanti.
27545 \begin_layout Standard
27546 L'utilisation d'éléments créés par des logiciels extérieurs à \SpecialChar LyX
27548 en détail dans le manuel
27553 Cette partie du manuel couvre ce qui se passe derrière la scène pour permettre
27554 d'écrire un mécanisme d'inclusion pour un nouvel élément.
27557 \begin_layout Section
27558 Comment fonctionne-t-il ?
27561 \begin_layout Standard
27562 L'insertion d'objet externe repose sur le concept de
27568 \begin_layout Plain Layout
27569 NdT : Traduction de
27570 \begin_inset Quotes cld
27574 \begin_inset Quotes crd
27585 Un cadre définit comment \SpecialChar LyX
27586 doit s'interfacer avec un type d'objet donné.
27587 Tel qu'il est distribué, \SpecialChar LyX
27588 possède des cadres prédéfinis pour les figures
27589 XFig, pour les diagrammes Dia, pour différents formats d'images rastérisées,
27590 pour gnuplot, et d'autres.
27591 Vous pouvez en consulter la liste avec
27592 \begin_inset Flex Noun
27595 \begin_layout Plain Layout
27596 Insertion\SpecialChar menuseparator
27598 \begin_inset space ~
27607 En outre, il est possible de créer votre propre cadre pour supporter un
27608 type donné d'objet.
27609 Nous décrirons plus loin en détail ce qu'il faut faire, et nous espérons
27610 que vous nous enverrez tous les cadres que vous créerez pour que nous puissions
27611 les inclure dans de futures versions de \SpecialChar LyX
27615 \begin_layout Standard
27616 Un autre concept de base est qu'il faut faire la distinction entre le fichier
27617 d'origine qui sert de point de départ et le fichier transformé qui est
27618 inclus avec votre document exporté ou imprimé.
27619 Voyons par exemple une figure produite avec
27620 \begin_inset Flex Code
27623 \begin_layout Plain Layout
27630 L'application XFig elle-même travaille sur un fichier avec l'extension
27632 \begin_inset Flex Code
27635 \begin_layout Plain Layout
27642 Dans XFig, vous créez et modifiez votre figure.
27643 Quand c'est fini, vous enregistrez le fichier
27644 \begin_inset Flex Code
27647 \begin_layout Plain Layout
27654 Quand vous voulez inclure la figure dans votre document, vous invoquez
27656 \begin_inset Flex Code
27659 \begin_layout Plain Layout
27665 pour créer un fichier PostScript qui sera aisément inclus dans votre fichier
27668 Dans ce cas, le fichier
27669 \begin_inset Flex Code
27672 \begin_layout Plain Layout
27678 est le fichier d'origine, et le fichier PostScript est le fichier transformé.
27681 \begin_layout Standard
27682 Cette distinction est importante pour pouvoir mettre à jour l'objet pendant
27683 l'écriture de votre document.
27684 En outre, elle vous donne la flexibilité requise pour supporter des formats
27685 d'exportation différents.
27686 Par exemple, dans le cas de l'exportation en Ascii, ce n'est pas vraiment
27687 une super idée d'inclure la figure en PostScript brut.
27688 À la place, vous préférerez soit inclure une référence à la figure, soit
27689 essayer un convertisseur graphique vers Ascii pour rendre un résultat final
27690 approchant du graphique d'origine.
27691 L'insertion d'objet externe vous permet de le faire, car il est paramétré
27692 avec les différents formats d'exportation supportés par \SpecialChar LyX
27696 \begin_layout Standard
27697 En plus de supporter la génération de fichiers transformés différents selon
27698 le format d'exportation, l'insertion d'objet externe travaille en étroite
27699 collaboration avec les applications d'édition et de visualisation.
27700 Dans le cas d'une figure XFig, vous pouvez invoquer Xfig sur le fichier
27701 d'origine d'un simple clic depuis la fenêtre d'objet externe de \SpecialChar LyX
27703 visualiser le fichier transformé PostScript avec Ghostview d'un autre clic.
27704 Il n'y a plus à se bagarrer avec la ligne de commande ou avec des explorateurs
27705 de fichiers pour localiser et manipuler le fichier d'origine et le fichier
27707 De cette façon, vous pouvez enfin profiter à plein des nombreuses applications
27708 différentes qui servent à la production de documents, et serez finalement
27712 \begin_layout Section
27713 Le fichier de configuration d'un cadre externe
27716 \begin_layout Standard
27717 Il est assez facile de définir de nouveaux cadres externes dans \SpecialChar LyX
27719 Cependant, sachez que si vous le faites de façon négligente, vous introduirez
27724 une faille de sécurité facilement exploitable.
27725 Avant de commencer, lisez donc plus bas ce qui concerne la sécurité
27726 \begin_inset space ~
27730 \begin_inset CommandInset ref
27731 LatexCommand pageref
27732 reference "sec:La-question-de"
27739 \begin_layout Standard
27740 Ceci dit, nous vous encourageons à créer des cadres intéressants et à nous
27744 \begin_layout Standard
27745 Les cadres externes sont définis dans le fichier
27748 \begin_inset Flex Code
27751 \begin_layout Plain Layout
27759 files that are stored in the
27760 \begin_inset Flex Code
27763 \begin_layout Plain Layout
27766 LyXDir/lib/xtemplates/
27772 Each template is defined in a file of its own.
27781 \begin_layout Plain Layout
27782 NdT : Nous rappelons que
27783 \begin_inset Quotes cld
27787 \begin_inset Quotes crd
27790 est la traduction de
27791 \begin_inset Quotes cld
27795 \begin_inset Quotes crd
27798 dans ce contexte de l'objet externe.
27806 Vous pouvez mettre votre propre version dans
27809 \begin_inset Flex Code
27812 \begin_layout Plain Layout
27820 or copy existing templates to that directory in order to modify them.
27826 \begin_layout Standard
27827 Un fichier de configuration de cadre typique se présente comme ceci:
27830 \begin_layout LyX-Code
27836 \begin_layout LyX-Code
27839 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
27842 \begin_layout LyX-Code
27848 \begin_layout LyX-Code
27854 \begin_layout LyX-Code
27860 \begin_layout LyX-Code
27866 \begin_layout LyX-Code
27872 \begin_layout LyX-Code
27875 AutomaticProduction true
27878 \begin_layout LyX-Code
27884 \begin_layout LyX-Code
27890 \begin_layout LyX-Code
27896 \begin_layout LyX-Code
27899 TransformCommand Rotate RotationLatexCommand
27902 \begin_layout LyX-Code
27905 TransformCommand Resize ResizeLatexCommand
27908 \begin_layout LyX-Code
27911 Product "$$RotateFront$$ResizeFront
27914 \begin_layout LyX-Code
27921 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
27924 \begin_layout LyX-Code
27927 $$ResizeBack$$RotateBack"
27930 \begin_layout LyX-Code
27936 \begin_layout LyX-Code
27939 UpdateResult "$$AbsPath$$Basename.pstex_t"
27942 \begin_layout LyX-Code
27945 Requirement "graphicx"
27948 \begin_layout LyX-Code
27951 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
27954 \begin_layout LyX-Code
27957 ReferencedFile latex "$$AbsPath$$Basename.eps"
27960 \begin_layout LyX-Code
27963 ReferencedFile dvi "$$AbsPath$$Basename.eps"
27966 \begin_layout LyX-Code
27972 \begin_layout LyX-Code
27978 \begin_layout LyX-Code
27981 TransformCommand Rotate RotationLatexCommand
27984 \begin_layout LyX-Code
27987 TransformCommand Resize ResizeLatexCommand
27990 \begin_layout LyX-Code
27993 Product "$$RotateFront$$ResizeFront
27996 \begin_layout LyX-Code
28003 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
28006 \begin_layout LyX-Code
28009 $$ResizeBack$$RotateBack"
28012 \begin_layout LyX-Code
28015 UpdateFormat pdftex
28018 \begin_layout LyX-Code
28021 UpdateResult "$$AbsPath$$Basename.pdftex_t"
28024 \begin_layout LyX-Code
28027 Requirement "graphicx"
28030 \begin_layout LyX-Code
28033 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
28036 \begin_layout LyX-Code
28039 ReferencedFile latex "$$AbsPath$$Basename.pdf"
28042 \begin_layout LyX-Code
28048 \begin_layout LyX-Code
28054 \begin_layout LyX-Code
28057 Product "$$Contents(
28059 "$$AbsPath$$Basename.asc
28064 \begin_layout LyX-Code
28067 UpdateFormat asciixfig
28070 \begin_layout LyX-Code
28073 UpdateResult "$$AbsPath$$Basename.asc"
28076 \begin_layout LyX-Code
28082 \begin_layout LyX-Code
28088 \begin_layout LyX-Code
28091 Product "<graphic fileref=
28093 "$$AbsOrRelPathMaster$$Basename.eps
28098 \begin_layout LyX-Code
28104 \begin_layout LyX-Code
28110 \begin_layout LyX-Code
28113 UpdateResult "$$AbsPath$$Basename.eps"
28116 \begin_layout LyX-Code
28119 ReferencedFile docbook "$$AbsPath$$Basename.eps"
28122 \begin_layout LyX-Code
28125 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
28128 \begin_layout LyX-Code
28134 \begin_layout LyX-Code
28137 Product "[XFig: $$FName]"
28140 \begin_layout LyX-Code
28146 \begin_layout LyX-Code
28152 \begin_layout Standard
28153 Comme vous pouvez le constater, le cadre est inséré entre
28154 \begin_inset Flex Code
28157 \begin_layout Plain Layout
28167 \begin_inset Flex Code
28170 \begin_layout Plain Layout
28179 Il contient un en-tête spécifiant quelques réglages généraux et, pour chaque
28180 format primaire de document reconnu, une section
28181 \begin_inset Flex Code
28184 \begin_layout Plain Layout
28194 \begin_inset Flex Code
28197 \begin_layout Plain Layout
28208 \begin_layout Subsection
28212 \begin_layout Description
28215 \begin_inset Flex Code
28218 \begin_layout Plain Layout
28221 AutomaticProduction
28222 \begin_inset space ~
28232 indique si le fichier représenté par le cadre doit être créé par \SpecialChar LyX
28234 Cette directive doit apparaître une et une seule fois.
28237 \begin_layout Description
28240 \begin_inset Flex Code
28243 \begin_layout Plain Layout
28247 \begin_inset space ~
28257 précise un patron global utilisé dans l'échange dans la spécification des
28258 fichiers pour filtrer les fichiers désignés.
28259 S'il y a plus d'un suffixe possible (e.g.
28261 \begin_inset Flex Code
28264 \begin_layout Plain Layout
28273 \begin_inset Flex Code
28276 \begin_layout Plain Layout
28284 ), utiliser une syntaxe comme
28285 \begin_inset Flex Code
28288 \begin_layout Plain Layout
28297 Cette directive doit apparaître une et une seule fois.
28300 \begin_layout Description
28303 \begin_inset Flex Code
28306 \begin_layout Plain Layout
28310 \begin_inset space ~
28320 fixe le texte apparaissant dans le bouton.
28321 Cette directive doit apparaître une et une seule fois.
28324 \begin_layout Description
28327 \begin_inset Flex Code
28330 \begin_layout Plain Layout
28334 \begin_inset space ~
28338 \begin_inset space ~
28348 décrit le texte d'aide utilisé dans la fenêtre de dialogue
28349 \begin_inset Quotes cld
28353 \begin_inset Quotes crd
28357 Fournir suffisamment d'informations pour que l'utilisateur comprenne ce
28358 que le cadre peut faire pour lui.
28359 Cette directive doit apparaître une et une seule fois.
28362 \begin_layout Description
28365 \begin_inset Flex Code
28368 \begin_layout Plain Layout
28372 \begin_inset space ~
28382 indique le format du fichier original.
28383 Ce doit être le nom d'un format reconnu par \SpecialChar LyX
28385 \begin_inset space ~
28389 \begin_inset CommandInset ref
28391 reference "sec:Formats"
28397 \begin_inset Quotes eld
28401 \begin_inset Flex Code
28404 \begin_layout Plain Layout
28413 \begin_inset Quotes erd
28416 si le cadre peut gérer des fichiers originaux dans plus d'un format.
28418 tentera d'analyser le fichier pour en déduire le format dans ce cas.
28419 Cette directive doit apparaître une et une seule fois.
28422 \begin_layout Description
28425 \begin_inset Flex Code
28428 \begin_layout Plain Layout
28432 \begin_inset space ~
28442 est un nom original pour le cadre.
28443 Il ne soit pas contenir de macros de substitution (voir ci-après).
28446 \begin_layout Description
28449 \begin_inset Flex Code
28452 \begin_layout Plain Layout
28456 \begin_inset space ~
28459 Rotate|Resize|Clip|Extra
28466 spécifie quelles transformations sont reconnues par ce cadre.
28467 Elle peut apparaître zéro ou plusieurs fois.
28468 Elle active les options correspondantes dans la fenêtre de dialogue.
28470 \begin_inset Flex Code
28473 \begin_layout Plain Layout
28481 doit avoir soit une directive
28482 \begin_inset Flex Code
28485 \begin_layout Plain Layout
28493 correspondante, soit une directive
28494 \begin_inset Flex Code
28497 \begin_layout Plain Layout
28506 \begin_inset Flex Code
28509 \begin_layout Plain Layout
28518 Sinon, la transformation ne sera pas reconnue par ce cadre.
28522 \begin_layout Subsection
28526 \begin_layout Description
28529 \begin_inset Flex Code
28532 \begin_layout Plain Layout
28536 \begin_inset space ~
28539 LaTeX|PDFLaTeX|PlainText|DocBook|XHTML
28546 décrit le format de document primaire relevant de cette définition de format.
28547 Tous les cadres n'ont pas de représentation raisonnable dans tous les formats
28548 de fichier documentaire.
28549 Définissez cependant une section
28550 \begin_inset Flex Code
28553 \begin_layout Plain Layout
28561 pour tous les formats, et utilisez un texte bidon lorsqu'il n'existe pas
28563 Ainsi vous verrez au minimum une référence à l'objet externe dans le document
28567 \begin_layout Description
28570 \begin_inset Flex Code
28573 \begin_layout Plain Layout
28577 \begin_inset space ~
28585 \begin_inset space ~
28599 définit une macro additionnelle
28600 \begin_inset Flex Code
28603 \begin_layout Plain Layout
28615 pour la substitution par
28616 \begin_inset Flex Code
28619 \begin_layout Plain Layout
28629 \begin_inset Flex Code
28632 \begin_layout Plain Layout
28644 peut elle-même contenir des macros de substitution.
28645 L'avantage par rapport à l'usage direct de
28646 \begin_inset Flex Code
28649 \begin_layout Plain Layout
28662 \begin_inset Flex Code
28665 \begin_layout Plain Layout
28673 est que la valeur substituée par
28674 \begin_inset Flex Code
28677 \begin_layout Plain Layout
28689 est nettoyée de sorte qu'elle est un argument facultatif valide dans le
28690 format documentaire.
28691 Cette directive doit apparaître une et une seule fois.
28694 \begin_layout Description
28697 \begin_inset Flex Code
28700 \begin_layout Plain Layout
28704 \begin_inset space ~
28714 spécifie le texte inséré dans le document exporté.
28715 C'est en fait la directive la plus importante et elle peut être assez compliqué
28717 Cette directive doit apparaître une et une seule fois.
28720 \begin_layout Description
28723 \begin_inset Flex Code
28726 \begin_layout Plain Layout
28730 \begin_inset space ~
28744 spécifie un élément de préambule qui sera inclus dans le préambule \SpecialChar LaTeX
28746 Il doit être défini par
28747 \begin_inset Flex Code
28750 \begin_layout Plain Layout
28760 \begin_inset Flex Code
28763 \begin_layout Plain Layout
28772 Cette directive doit apparaître une et une seule fois.
28775 \begin_layout Description
28778 \begin_inset Flex Code
28781 \begin_layout Plain Layout
28785 \begin_inset space ~
28789 \begin_inset space ~
28799 désigne les fichiers créés par la procédure de conversion et requis par
28800 un format d'exportation particulier.
28801 Si le nom d'un fichier est relatif, il est interprété relativement au document
28803 Cette directive peut apparaître zéro ou plusieurs fois.
28806 \begin_layout Description
28809 \begin_inset Flex Code
28812 \begin_layout Plain Layout
28816 \begin_inset space ~
28826 désigne le nom d'un paquetage \SpecialChar LaTeX
28828 Le paquetage est inclus via
28829 \begin_inset Flex Code
28832 \begin_layout Plain Layout
28842 dans le préambule \SpecialChar LaTeX
28844 Cette directive peut apparaître zéro ou plusieurs fois.
28847 \begin_layout Description
28850 \begin_inset Flex Code
28853 \begin_layout Plain Layout
28857 \begin_inset space ~
28861 \begin_inset space ~
28864 RotationLatexCommand
28871 spécifie que la commande \SpecialChar LaTeX
28872 native doit être utilisée pour effectuer les
28874 Cette directive peut apparaître une fois ou pas du tout.
28877 \begin_layout Description
28880 \begin_inset Flex Code
28883 \begin_layout Plain Layout
28887 \begin_inset space ~
28891 \begin_inset space ~
28901 spécifie que la commande \SpecialChar LaTeX
28902 native doit être utilisée pour effectuer les
28903 changements de taille.
28904 Cette directive peut apparaître une fois ou pas du tout.
28907 \begin_layout Description
28910 \begin_inset Flex Code
28913 \begin_layout Plain Layout
28917 \begin_inset space ~
28921 \begin_inset space ~
28924 RotationLatexOption
28931 spécifie que les rotations sont effectuées via un paramètre facultatif.
28932 Cette directive peut apparaître une fois ou pas du tout.
28938 \begin_layout Description
28941 \begin_inset Flex Code
28944 \begin_layout Plain Layout
28948 \begin_inset space ~
28952 \begin_inset space ~
28962 spécifie que les changements de taille sont effectuées via un paramètre
28964 Cette directive peut apparaître une fois ou pas du tout
28967 \begin_layout Description
28970 \begin_inset Flex Code
28973 \begin_layout Plain Layout
28977 \begin_inset space ~
28981 \begin_inset space ~
28991 spécifie que les recadrages sont effectuées via un paramètre facultatif.
28992 Cette directive peut apparaître une fois ou pas du tout
28997 \begin_layout Description
29000 \begin_inset Flex Code
29003 \begin_layout Plain Layout
29007 \begin_inset space ~
29011 \begin_inset space ~
29021 spécifie qu'un paramètre supplémentaire facultatif est utilisé.
29022 Cette directive peut apparaître une fois ou pas du tout
29027 \begin_layout Description
29030 \begin_inset Flex Code
29033 \begin_layout Plain Layout
29037 \begin_inset space ~
29047 spécifie le format de fichier du fichier converti.
29048 Ce doit être le nom d'un format reconnu par \SpecialChar LyX
29049 (voir la fenêtre de dialogue
29051 \begin_inset Flex Noun
29054 \begin_layout Plain Layout
29057 Outils\SpecialChar menuseparator
29058 Préférences\SpecialChar menuseparator
29060 \begin_inset space ~
29064 \begin_inset space ~
29067 fichiers\SpecialChar menuseparator
29069 \begin_inset space ~
29073 \begin_inset space ~
29082 Cette directive doit apparaître une et une seule fois.
29083 Si le format du fichier résultant est PDF, vous devez spécifier le format
29087 \begin_inset Flex Code
29090 \begin_layout Plain Layout
29100 , qui est le format PDF utilisé pour insérer des graphiques.
29101 Les autres formats PDF définis servent aux exportations du document.
29104 \begin_layout Description
29107 \begin_inset Flex Code
29110 \begin_layout Plain Layout
29114 \begin_inset space ~
29124 spécifie le nom du fichier converti.
29125 Le nom de fichier doit être absolu.
29126 Cette directive doit apparaître une et une seule fois.
29129 \begin_layout Subsection
29130 Définitions du préambule
29133 \begin_layout Standard
29134 La configuration du cadre externe peut contenir des définitions additionnelles
29135 de préambule incluses dans
29136 \begin_inset Flex Code
29139 \begin_layout Plain Layout
29149 \begin_inset Flex Code
29152 \begin_layout Plain Layout
29161 Elle peuvent être utilisées par les cadres dans la section
29162 \begin_inset Flex Code
29165 \begin_layout Plain Layout
29176 \begin_layout Section
29177 Le mécanisme de substitution
29180 \begin_layout Standard
29181 Quand la fenêtre d'objet externe invoque un programme externe, il le fait
29182 selon la commande définie dans le fichier de configuration des cadres.
29183 Ces commandes peuvent contenir diverses macros qui sont interprétées avant
29185 Les commandes sont toujours exécutées dans le répertoire du document.
29188 \begin_layout Standard
29189 Ainsi, quand un objet externe est affiché, un mécanisme de substitution
29190 génère son nom, et la plupart des autres directives reconnaissent la substituti
29191 on de manière similaire.
29194 \begin_layout Standard
29195 Les macros disponibles sont les suivantes :
29198 \begin_layout Description
29201 \begin_inset Flex Code
29204 \begin_layout Plain Layout
29207 $$AbsOrRelPathMaster
29214 est le est le chemin d'accès, absolu ou relatif au document maître \SpecialChar LyX
29218 \begin_layout Description
29221 \begin_inset Flex Code
29224 \begin_layout Plain Layout
29227 $$AbsOrRelPathParent
29234 est le est le chemin d'accès, absolu ou relatif au document \SpecialChar LyX
29238 \begin_layout Description
29241 \begin_inset Flex Code
29244 \begin_layout Plain Layout
29254 est le chemin d'accès absolu.
29257 \begin_layout Description
29260 \begin_inset Flex Code
29263 \begin_layout Plain Layout
29273 est le nom du fichier sans chemin d'accès et sans suffixe.
29276 \begin_layout Description
29279 \begin_inset Flex Code
29282 \begin_layout Plain Layout
29288 \begin_inset Quotes cld
29292 \begin_inset Quotes crd
29302 la macro dépliera le contenu du fichier de nom
29303 \begin_inset Flex Code
29306 \begin_layout Plain Layout
29315 \begin_layout Description
29318 \begin_inset Flex Code
29321 \begin_layout Plain Layout
29331 est le suffixe (point inclus).
29334 \begin_layout Description
29337 \begin_inset Flex Code
29340 \begin_layout Plain Layout
29351 \begin_inset Quotes cld
29355 \begin_inset Quotes crd
29358 si le fichier est en format JPEG, sinon sera la chaîne
29359 \begin_inset Quotes cld
29363 \begin_inset Quotes crd
29367 Ceci est utile pour éviter des conversions inutiles pour les formats de
29368 sortie admettant à la fois les types PNG et JPEG.
29369 Le modèle prédéfini
29370 \begin_inset Quotes cld
29374 \begin_inset Quotes crd
29377 utilise cette macro avec le moteur pdf\SpecialChar TeX
29381 \begin_layout Description
29384 \begin_inset Flex Code
29387 \begin_layout Plain Layout
29397 est le nom du fichier spécifié dans la fenêtre d'objet externe.
29398 Il est soit absolu, soit relatif au document \SpecialChar LyX
29402 \begin_layout Description
29405 \begin_inset Flex Code
29408 \begin_layout Plain Layout
29419 \begin_inset Quotes cld
29423 \begin_inset Quotes crd
29427 \begin_inset Flex Code
29430 \begin_layout Plain Layout
29438 (absolu ou relatif au document \SpecialChar LyX
29442 \begin_layout Description
29445 \begin_inset Flex Code
29448 \begin_layout Plain Layout
29458 est le chemin d'accès relatif au document maître \SpecialChar LyX
29462 \begin_layout Description
29465 \begin_inset Flex Code
29468 \begin_layout Plain Layout
29478 est le chemin d'accès relatif au document \SpecialChar LyX
29482 \begin_layout Description
29485 \begin_inset Flex Code
29488 \begin_layout Plain Layout
29498 désigne le chemin absolu du répertoire système.
29499 Typiquement utilisé pour pouvoir trouver les différents scripts auxiliaires
29500 fournis avec \SpecialChar LyX
29504 \begin_layout Description
29507 \begin_inset Flex Code
29510 \begin_layout Plain Layout
29520 est le nom et le chemin absolu d'un fichier temporaire qui sera automatiquement
29521 effacé quand le document sera fermé, ou l'objet externe effacé.
29524 \begin_layout Standard
29525 Toutes la macros de chemin contiennent un séparateur de répertoire final,
29526 vous pouvez donc construire par exemple le nom de fichier absolu avec
29527 \begin_inset Flex Code
29530 \begin_layout Plain Layout
29533 $$AbsPath$$Basename$$Extension
29541 \begin_layout Standard
29542 Les macros ci-dessus sont substituées dans toutes les directives sauf indiqué.
29544 \begin_inset Flex Code
29547 \begin_layout Plain Layout
29555 reconnaît également les substitutions suivantes si elles sont autorisées
29557 \begin_inset Flex Code
29560 \begin_layout Plain Layout
29569 \begin_inset Flex Code
29572 \begin_layout Plain Layout
29583 \begin_layout Description
29586 \begin_inset Flex Code
29589 \begin_layout Plain Layout
29599 partie initiale de la commande de changement de taille.
29602 \begin_layout Description
29605 \begin_inset Flex Code
29608 \begin_layout Plain Layout
29618 partie finale de la commande de changement de taille.
29621 \begin_layout Description
29624 \begin_inset Flex Code
29627 \begin_layout Plain Layout
29637 partie initiale de la commande de rotation.
29640 \begin_layout Description
29643 \begin_inset Flex Code
29646 \begin_layout Plain Layout
29656 partie finale de la commande de rotation.
29659 \begin_layout Standard
29660 La valeur de la chaîne de la directive
29661 \begin_inset Flex Code
29664 \begin_layout Plain Layout
29672 reconnaît également les substitutions suivantes si elles sont autorisées
29676 \begin_inset Flex Code
29679 \begin_layout Plain Layout
29688 \begin_inset Flex Code
29691 \begin_layout Plain Layout
29702 \begin_layout Description
29705 \begin_inset Flex Code
29708 \begin_layout Plain Layout
29718 option de recadrage.
29721 \begin_layout Description
29722 \begin_inset Flex Code
29725 \begin_layout Plain Layout
29733 option supplémentaire.
29736 \begin_layout Description
29737 \begin_inset Flex Code
29740 \begin_layout Plain Layout
29748 option de changement de taille.
29751 \begin_layout Description
29752 \begin_inset Flex Code
29755 \begin_layout Plain Layout
29763 option de rotation.
29766 \begin_layout Standard
29767 Vous pouvez vous demander pourquoi les macros de chemin d'accès sont aussi
29769 Il y a deux raisons principales:
29772 \begin_layout Enumerate
29773 les chemins d'accès relatifs et absolus doivent rester relatifs et absolus,
29775 Les utilisateurs peuvent avoir des raisons de préférer l'un ou l'autre.
29776 Les chemins relatifs sont utiles pour des documents portables sur différentes
29777 machines, par exemple.
29778 Les chemins absolus peuvent être requis par certains logiciels;
29781 \begin_layout Enumerate
29783 traite les chemins d'accès relatifs différemment de \SpecialChar LyX
29784 et d'autres logiciels
29785 dans des fichiers inclus encapsulés.
29786 Pour \SpecialChar LyX
29787 , par exemple, un chemin relatif est toujours relatif au document
29788 qui contient le nom de fichier.
29789 Pour \SpecialChar LaTeX
29790 , il est toujours relatif au document maître.
29791 Ces deux définitions sont identiques si vous n'avez qu'un seul document.,
29792 mais diffèrent si vous avez un document maître qui inclut des sous-documents.
29793 Ceci signifie que les chemins relatifs doivent être transformés pour être
29794 transmis à \SpecialChar LaTeX
29796 Heureusement \SpecialChar LyX
29797 fait ceci automatiquement si vous choisissez les macros de
29798 substitution correctes.
29801 \begin_layout Standard
29802 Donc, quelle macro faut-il choisir dans une nouvelle définition de cadre?
29803 La règle n'est pas difficile:
29806 \begin_layout Itemize
29808 \begin_inset Flex Code
29811 \begin_layout Plain Layout
29819 si un chemin absolu est requis;
29822 \begin_layout Itemize
29824 \begin_inset Flex Code
29827 \begin_layout Plain Layout
29830 $$AbsOrRelPathMaster
29835 si la chaîne substituée est du type entrée pour \SpecialChar LaTeX
29839 \begin_layout Itemize
29841 \begin_inset Flex Code
29844 \begin_layout Plain Layout
29847 $$AbsOrRelPathParent
29852 pour préserver le choix de l'utilisateur.
29855 \begin_layout Standard
29856 Des cas spéciaux existent pour lesquels cette règle n'est pas valable, et
29857 par exemple lorsque des chemins relatifs sont requis, mais elle fonctionne
29858 correctement d'habitude.
29859 Un exemple de cas tordu est la directive
29860 \begin_inset Flex Code
29863 \begin_layout Plain Layout
29866 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
29871 dans le cadre Xfig indiqué ci-dessus: il n'est pas possible d'utiliser
29872 le nom absolu parce que la copieur pour les fichiers
29873 \begin_inset Flex Code
29876 \begin_layout Plain Layout
29884 nécessite le nom relatif pour réécrire le contenu du fichier.
29887 \begin_layout Section
29888 La question de la sécurité
29889 \begin_inset CommandInset label
29891 name "sec:La-question-de"
29898 \begin_layout Standard
29899 L'insertion d'objet externe crée une interface avec un paquet de programmes
29900 externes et le fait de manière automatique, nous devons donc en examiner
29901 les conséquences en matière de sécurité.
29902 En particulier, comme vous avez la possibilité d'inclure vos propres noms
29903 de fichier ou de paramètres et qu'ils sont interprétés pour former une
29904 commande, il semble possible de créer un document malveillant qui exécute
29905 des commandes indésirables quand un utilisateur le visualise ou l'imprime.
29906 C'est quelque chose que nous voulons absolument éviter.
29909 \begin_layout Standard
29910 Cependant, comme les commandes du programme externe sont définies seulement
29911 dans le fichier de configuration des cadres, il n'y a pas de problème de
29912 sécurité si \SpecialChar LyX
29913 est configuré correctement avec seulement des cadres sûrs.
29914 Ceci parce que les programmes externes sont invoqués via l'appel système
29916 \begin_inset Flex Code
29919 \begin_layout Plain Layout
29925 et non via l'appel système
29926 \begin_inset Flex Code
29929 \begin_layout Plain Layout
29936 Il n'est donc pas possible d'exécuter des commandes arbitraires via le
29937 shell à partir du nom de fichier ou des paramètres.
29940 \begin_layout Standard
29941 Ceci implique aussi qu'il y a des restrictions dans les commandes définissables
29942 dans un cadre d'objet externe.
29943 En particulier, les pipes et les redirections ne sont pas disponibles.
29944 C'était obligatoire pour que \SpecialChar LyX
29946 Si vous voulez utiliser quelques-unes des fonctions du shell, vous devez
29947 écrire un script sûr pour le faire de manière contrôlée, puis définir ce
29948 script comme commande.
29952 \begin_layout Standard
29953 Il est possible de créer un cadre qui interagit directement avec le shell,
29954 mais comme cela permettrait à un utilisateur malveillant d'exécuter des
29955 commandes arbitraires en écrivant des noms de fichier ou des paramètres
29956 bien choisis, nous vous recommandons d'utiliser en général des scripts
29957 sûrs qui fonctionnent avec l'appel système
29958 \begin_inset Flex Code
29961 \begin_layout Plain Layout
29967 d'une manière contrôlée.
29968 Bien sûr, si vous êtes dans un environnement dans lequel vous avez confiance,
29969 il est tentant de ne pas se fouler et d'utiliser des scripts shell ordinaires.
29970 Si vous faites cela, sachez que vous allez
29974 créer dans votre système une faille de sécurité facile à exploiter.
29975 Il est évident que de tels cadres non sécurisés ne seront jamais inclus
29976 dans la distribution standard de \SpecialChar LyX
29977 , même si nous encourageons les gens à
29978 nous proposer de nouveaux cadres dans la tradition du logiciel libre.
29979 Mais \SpecialChar LyX
29980 tel que vous vous le procurez par les voies officielles de distribution
29981 ne contiendra jamais de cadres non sécurisés.
29984 \begin_layout Standard
29985 L'insertion d'objet externe est un outil très puissant, et vous devez faire
29986 attention à ne pas mettre en péril la sécurité avec cette puissance.
29987 Une légère erreur dans une seule ligne d'un script apparemment inoffensif
29988 peut ouvrir la voie à d'énormes problèmes.
29989 Si vous n'avez pas une compréhension claire de ce qui est en jeu, nous
29990 vous recommandons de consulter un professionnel de la sécurité, ou de contacter
29991 l'équipe de développement de \SpecialChar LyX
29992 si vous vous demandez si votre cadre est
29994 Faites le avant de l'utiliser dans un environnement que vous ne contrôlez
29998 \begin_layout Chapter
30000 Liste des fonctions utilisables dans les styles
30001 \begin_inset CommandInset label
30003 name "chap:List-of-functions"
30010 \begin_layout Standard
30012 \begin_inset Tabular
30013 <lyxtabular version="3" rows="11" columns="8">
30014 <features tabularvalignment="middle">
30015 <column alignment="left" valignment="top">
30016 <column alignment="left" valignment="top">
30017 <column alignment="left" valignment="top">
30018 <column alignment="left" valignment="top">
30019 <column alignment="left" valignment="top">
30020 <column alignment="left" valignment="top">
30021 <column alignment="left" valignment="top">
30022 <column alignment="left" valignment="top">
30024 <cell alignment="left" valignment="top" usebox="none">
30027 \begin_layout Plain Layout
30033 <cell alignment="left" valignment="top" usebox="none">
30036 \begin_layout Plain Layout
30042 <cell alignment="left" valignment="top" usebox="none">
30045 \begin_layout Plain Layout
30051 <cell alignment="left" valignment="top" usebox="none">
30054 \begin_layout Plain Layout
30060 <cell alignment="center" valignment="top" usebox="none">
30063 \begin_layout Plain Layout
30069 <cell alignment="center" valignment="top" usebox="none">
30072 \begin_layout Plain Layout
30078 <cell alignment="center" valignment="top" usebox="none">
30081 \begin_layout Plain Layout
30087 <cell alignment="center" valignment="top" usebox="none">
30090 \begin_layout Plain Layout
30098 <cell alignment="left" valignment="top" usebox="none">
30101 \begin_layout Plain Layout
30107 <cell alignment="left" valignment="top" usebox="none">
30110 \begin_layout Plain Layout
30116 <cell alignment="left" valignment="top" usebox="none">
30119 \begin_layout Plain Layout
30125 <cell alignment="left" valignment="top" usebox="none">
30128 \begin_layout Plain Layout
30134 <cell alignment="center" valignment="top" usebox="none">
30137 \begin_layout Plain Layout
30143 <cell alignment="center" valignment="top" usebox="none">
30146 \begin_layout Plain Layout
30152 <cell alignment="center" valignment="top" usebox="none">
30155 \begin_layout Plain Layout
30161 <cell alignment="center" valignment="top" usebox="none">
30164 \begin_layout Plain Layout
30172 <cell alignment="left" valignment="top" usebox="none">
30175 \begin_layout Plain Layout
30181 <cell alignment="left" valignment="top" usebox="none">
30184 \begin_layout Plain Layout
30190 <cell alignment="left" valignment="top" usebox="none">
30193 \begin_layout Plain Layout
30199 <cell alignment="left" valignment="top" usebox="none">
30202 \begin_layout Plain Layout
30208 <cell alignment="center" valignment="top" usebox="none">
30211 \begin_layout Plain Layout
30217 <cell alignment="center" valignment="top" usebox="none">
30220 \begin_layout Plain Layout
30226 <cell alignment="center" valignment="top" usebox="none">
30229 \begin_layout Plain Layout
30235 <cell alignment="center" valignment="top" usebox="none">
30238 \begin_layout Plain Layout
30246 <cell alignment="left" valignment="top" usebox="none">
30249 \begin_layout Plain Layout
30255 <cell alignment="left" valignment="top" usebox="none">
30258 \begin_layout Plain Layout
30264 <cell alignment="left" valignment="top" usebox="none">
30267 \begin_layout Plain Layout
30273 <cell alignment="left" valignment="top" usebox="none">
30276 \begin_layout Plain Layout
30282 <cell alignment="center" valignment="top" usebox="none">
30285 \begin_layout Plain Layout
30291 <cell alignment="center" valignment="top" usebox="none">
30294 \begin_layout Plain Layout
30300 <cell alignment="center" valignment="top" usebox="none">
30303 \begin_layout Plain Layout
30309 <cell alignment="center" valignment="top" usebox="none">
30312 \begin_layout Plain Layout
30320 <cell alignment="left" valignment="top" usebox="none">
30323 \begin_layout Plain Layout
30329 <cell alignment="left" valignment="top" usebox="none">
30332 \begin_layout Plain Layout
30338 <cell alignment="left" valignment="top" usebox="none">
30341 \begin_layout Plain Layout
30347 <cell alignment="left" valignment="top" usebox="none">
30350 \begin_layout Plain Layout
30356 <cell alignment="center" valignment="top" usebox="none">
30359 \begin_layout Plain Layout
30365 <cell alignment="center" valignment="top" usebox="none">
30368 \begin_layout Plain Layout
30374 <cell alignment="center" valignment="top" usebox="none">
30377 \begin_layout Plain Layout
30383 <cell alignment="center" valignment="top" usebox="none">
30386 \begin_layout Plain Layout
30394 <cell alignment="left" valignment="top" usebox="none">
30397 \begin_layout Plain Layout
30403 <cell alignment="left" valignment="top" usebox="none">
30406 \begin_layout Plain Layout
30412 <cell alignment="left" valignment="top" usebox="none">
30415 \begin_layout Plain Layout
30421 <cell alignment="left" valignment="top" usebox="none">
30424 \begin_layout Plain Layout
30430 <cell alignment="center" valignment="top" usebox="none">
30433 \begin_layout Plain Layout
30439 <cell alignment="center" valignment="top" usebox="none">
30442 \begin_layout Plain Layout
30448 <cell alignment="center" valignment="top" usebox="none">
30451 \begin_layout Plain Layout
30457 <cell alignment="center" valignment="top" usebox="none">
30460 \begin_layout Plain Layout
30468 <cell alignment="left" valignment="top" usebox="none">
30471 \begin_layout Plain Layout
30477 <cell alignment="left" valignment="top" usebox="none">
30480 \begin_layout Plain Layout
30486 <cell alignment="left" valignment="top" usebox="none">
30489 \begin_layout Plain Layout
30495 <cell alignment="left" valignment="top" usebox="none">
30498 \begin_layout Plain Layout
30504 <cell alignment="center" valignment="top" usebox="none">
30507 \begin_layout Plain Layout
30513 <cell alignment="center" valignment="top" usebox="none">
30516 \begin_layout Plain Layout
30522 <cell alignment="center" valignment="top" usebox="none">
30525 \begin_layout Plain Layout
30531 <cell alignment="center" valignment="top" usebox="none">
30534 \begin_layout Plain Layout
30542 <cell alignment="left" valignment="top" usebox="none">
30545 \begin_layout Plain Layout
30551 <cell alignment="left" valignment="top" usebox="none">
30554 \begin_layout Plain Layout
30560 <cell alignment="left" valignment="top" usebox="none">
30563 \begin_layout Plain Layout
30569 <cell alignment="left" valignment="top" usebox="none">
30572 \begin_layout Plain Layout
30578 <cell alignment="center" valignment="top" usebox="none">
30581 \begin_layout Plain Layout
30587 <cell alignment="center" valignment="top" usebox="none">
30590 \begin_layout Plain Layout
30596 <cell alignment="center" valignment="top" usebox="none">
30599 \begin_layout Plain Layout
30605 <cell alignment="center" valignment="top" usebox="none">
30608 \begin_layout Plain Layout
30616 <cell alignment="left" valignment="top" usebox="none">
30619 \begin_layout Plain Layout
30625 <cell alignment="left" valignment="top" usebox="none">
30628 \begin_layout Plain Layout
30634 <cell alignment="left" valignment="top" usebox="none">
30637 \begin_layout Plain Layout
30643 <cell alignment="left" valignment="top" usebox="none">
30646 \begin_layout Plain Layout
30652 <cell alignment="center" valignment="top" usebox="none">
30655 \begin_layout Plain Layout
30661 <cell alignment="center" valignment="top" usebox="none">
30664 \begin_layout Plain Layout
30670 <cell alignment="center" valignment="top" usebox="none">
30673 \begin_layout Plain Layout
30679 <cell alignment="center" valignment="top" usebox="none">
30682 \begin_layout Plain Layout
30690 <cell alignment="left" valignment="top" usebox="none">
30693 \begin_layout Plain Layout
30699 <cell alignment="left" valignment="top" usebox="none">
30702 \begin_layout Plain Layout
30708 <cell alignment="left" valignment="top" usebox="none">
30711 \begin_layout Plain Layout
30717 <cell alignment="left" valignment="top" usebox="none">
30720 \begin_layout Plain Layout
30726 <cell alignment="center" valignment="top" usebox="none">
30729 \begin_layout Plain Layout
30735 <cell alignment="center" valignment="top" usebox="none">
30738 \begin_layout Plain Layout
30744 <cell alignment="center" valignment="top" usebox="none">
30747 \begin_layout Plain Layout
30753 <cell alignment="center" valignment="top" usebox="none">
30756 \begin_layout Plain Layout
30764 <cell alignment="center" valignment="top" usebox="none">
30767 \begin_layout Plain Layout
30773 <cell alignment="center" valignment="top" usebox="none">
30776 \begin_layout Plain Layout
30782 <cell alignment="center" valignment="top" usebox="none">
30785 \begin_layout Plain Layout
30791 <cell alignment="center" valignment="top" usebox="none">
30794 \begin_layout Plain Layout
30800 <cell alignment="center" valignment="top" usebox="none">
30803 \begin_layout Plain Layout
30809 <cell alignment="center" valignment="top" usebox="none">
30812 \begin_layout Plain Layout
30818 <cell alignment="center" valignment="top" usebox="none">
30821 \begin_layout Plain Layout
30827 <cell alignment="center" valignment="top" usebox="none">
30830 \begin_layout Plain Layout
30844 \begin_layout Chapter
30845 Noms des couleurs disponibles utilisables dans les styles
30846 \begin_inset CommandInset label
30848 name "chap:Names-of-colors"
30855 \begin_layout Standard
30856 Les couleurs énumérées ci-après sont les couleurs standard et celles que
30857 vous pouvez régler dans les préférences \SpecialChar LyX
30861 \begin_layout Description
30866 pas de couleur particulière – réinitialisation ou couleur implicite
30869 \begin_layout Description
30875 \begin_layout Description
30881 \begin_layout Description
30887 \begin_layout Description
30893 \begin_layout Description
30899 \begin_layout Description
30905 \begin_layout Description
30911 \begin_layout Description
30917 \begin_layout Description
30922 marqueur d'espace ajoutée
30925 \begin_layout Description
30933 \begin_layout Description
30941 \begin_layout Description
30949 \begin_layout Description
30957 \begin_layout Description
30962 étiquette de branche
30965 \begin_layout Description
30970 fond de bouton d'insert
30973 \begin_layout Description
30978 fond du bouton d'insert (pointé)
30981 \begin_layout Description
30986 bordure de bouton d'insert
30989 \begin_layout Description
30994 barre de modification
30997 \begin_layout Description
31002 texte modifié auteur 1
31005 \begin_layout Description
31010 texte modifié auteur 2
31013 \begin_layout Description
31018 texte modifié auteur 3
31021 \begin_layout Description
31026 texte modifié auteur 4
31029 \begin_layout Description
31034 texte modifié auteur 5
31037 \begin_layout Description
31040 collapsable_inset_frame
31042 cadre d'insert repliable
31045 \begin_layout Description
31048 collapsable_inset_text
31050 texte d'insert repliable
31053 \begin_layout Description
31061 \begin_layout Description
31066 fond d'insert de commande
31069 \begin_layout Description
31074 cadre d'insert de commande
31077 \begin_layout Description
31085 \begin_layout Description
31090 fond de commentaire
31093 \begin_layout Description
31101 \begin_layout Description
31109 \begin_layout Description
31112 deletedtextmodifier
31114 modificateur de texte supprimé
31117 \begin_layout Description
31122 barre de profondeur
31125 \begin_layout Description
31130 marqueur de fin de ligne
31133 \begin_layout Description
31138 erreur \SpecialChar LaTeX
31142 \begin_layout Description
31147 étiquette de note de bas de page
31150 \begin_layout Description
31158 \begin_layout Description
31163 étiquette d'insert grisé
31166 \begin_layout Description
31171 fond d'insert grisé
31174 \begin_layout Description
31179 texte d'insert grisé
31182 \begin_layout Description
31190 \begin_layout Description
31198 \begin_layout Description
31206 \begin_layout Description
31211 complétion en ligne
31214 \begin_layout Description
31222 \begin_layout Description
31230 \begin_layout Description
31238 \begin_layout Description
31243 texte \SpecialChar LaTeX
31247 \begin_layout Description
31255 \begin_layout Description
31260 étiquette de note en marge
31263 \begin_layout Description
31271 \begin_layout Description
31279 \begin_layout Description
31284 cadre mathématique (non pointé)
31287 \begin_layout Description
31292 cadre mathématique (pointé)
31295 \begin_layout Description
31303 \begin_layout Description
31308 fond de macro mathématique
31311 \begin_layout Description
31316 macro mathématique désactivée
31319 \begin_layout Description
31324 cadre de macro mathématique
31327 \begin_layout Description
31332 fond dynamique de macro mathématique
31335 \begin_layout Description
31340 étiquette de macro mathématique
31343 \begin_layout Description
31348 macro mathématique : nouveau paramètre
31351 \begin_layout Description
31356 macro mathématique : ancien paramètre
31359 \begin_layout Description
31367 \begin_layout Description
31370 nonunique_inlinecompletion
31372 complétion en ligne (choix multiples)
31375 \begin_layout Description
31383 \begin_layout Description
31391 \begin_layout Description
31396 saut de page / saut de ligne
31399 \begin_layout Description
31404 marqueur de paragraphe
31407 \begin_layout Description
31412 texte d'insert fantôme
31415 \begin_layout Description
31423 \begin_layout Description
31431 \begin_layout Description
31436 cadre d'expression régulière
31439 \begin_layout Description
31447 \begin_layout Description
31455 \begin_layout Description
31463 \begin_layout Description
31471 \begin_layout Description
31479 \begin_layout Description
31484 ligne on/off de tableau
31487 \begin_layout Description
31495 \begin_layout Description