-#LyX 2.0 created this file. For more info see http://www.lyx.org/
-\lyxformat 413
+#LyX 2.1 created this file. For more info see http://www.lyx.org/
+\lyxformat 459
\begin_document
\begin_header
\textclass scrbook
\cleardoublepage
\pagenumbering{arabic}}
-
-% redefine the \LyX macro for PDF bookmarks
-\def\LyX{\texorpdfstring{%
- L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
- {LyX}}
-
-% used for multi-column text
-\usepackage{multicol}
-
% extra space for tables
\newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
\end_preamble
logicalmkup
theorems-ams
theorems-ams-extended
+multicol
+shapepar
\end_modules
\maintain_unincluded_children false
\begin_local_layout
\font_roman default
\font_sans default
\font_typewriter default
+\font_math auto
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
-
\graphics default
\default_output_format default
\output_sync 0
\pdf_backref false
\pdf_pdfusetitle false
\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
-\papersize default
+\papersize a4paper
\use_geometry false
-\use_amsmath 1
-\use_esint 0
-\use_mhchem 1
-\use_mathdots 1
+\use_package amsmath 1
+\use_package amssymb 1
+\use_package esint 0
+\use_package mathdots 1
+\use_package mathtools 0
+\use_package mhchem 1
+\use_package stackrel 0
+\use_package stmaryrd 0
+\use_package undertilde 0
\cite_engine basic
+\cite_engine_type numerical
+\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
+\justification true
\use_refstyle 1
+\notefontcolor #0000ff
\index Index
\shortcut idx
\color #008000
\begin_layout Subtitle
Version 2.0.x
\begin_inset Note Note
-status open
+status collapsed
\begin_layout Plain Layout
Informations de révision :
\end_layout
\begin_layout Plain Layout
-Traduction : Mise à jour pour 2.0 par JPChrétien, Date : 20/06/12011
+Traduction : Mise à jour pour 2.0 par JPChrétien, Date : 30/07/12011, relecture
+ partielle pour 2.0.5, 31/10/2012, remplacement de Éditer/Visionner/Insérer/Navigu
+er par Édition/Affichage/Insertion/Navigation
\end_layout
\begin_layout Plain Layout
-Manque le chapitre 4, les sections 5.7 et 7.2.3 à 7.2.7
+Manque les sections 7.2.3 à 7.2.7 (CVS/SVN)
\end_layout
\begin_layout Plain Layout
-Original : Révision: 38553, Date : 29/04/2011
+Original : Révision: 39368, Date : 23/07/2011
\end_layout
\end_inset
\family default
, (ou bien
\family sans
-Visionner\SpecialChar \menuseparator
+Affichage\SpecialChar \menuseparator
Afficher le code LaTeX
\family default
) puis regardez le préambule du fichier
\begin_layout Itemize
\family sans
-Visionner\SpecialChar \menuseparator
+Affichage\SpecialChar \menuseparator
\emph on
Format
\begin_layout Itemize
\family sans
-Visionner\SpecialChar \menuseparator
+Affichage\SpecialChar \menuseparator
Mise
\begin_inset space ~
\end_inset
\begin_layout Standard
Si vous avez lancé LaTeX avec
\family sans
-Visionner\SpecialChar \menuseparator
+Affichage\SpecialChar \menuseparator
DVI
\family default
, LyX exécute alors
sur le fichier DVI.
Si vous avez utilisé
\family sans
-Visionner\SpecialChar \menuseparator
+Affichage\SpecialChar \menuseparator
PostScript
\family default
ou
\end_layout
\begin_layout Standard
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:code-LaTeX"
-
-\end_inset
-
Vous pouvez faire en LyX tout ce que vous faites en LaTeX, pour une raison
très simple: vous pouvez toujours insérer du code LaTeX dans un document
LyX.
\family default
, que vous pouvez mettre dans votre document avec
\family sans
-Insérer\SpecialChar \menuseparator
+Insertion\SpecialChar \menuseparator
Code
\begin_inset space ~
\end_inset
\begin_layout Standard
\begin_inset ERT
-status collapsed
+status open
\begin_layout Plain Layout
complexe.
Vous pouvez alors utiliser
\family sans
-Insérer\SpecialChar \menuseparator
+Insertion\SpecialChar \menuseparator
Fichier\SpecialChar \menuseparator
Sous-document
\family default
\end_inset
- pour plus de détails, et lisez le chapitre
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "chap:Special-features"
-
-\end_inset
-
-.
+ pour plus de détails.
\end_layout
\begin_layout Standard
LaTeX
\family default
risque de ne pas être visible en une fois, même en plein écran.
- Il y a aussi d'autres exemples et un assortiment de
-\begin_inset Quotes fld
-\end_inset
-
-trucs et astuces
-\begin_inset Quotes frd
-\end_inset
-
- LaTeX dans le chapitre
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "chap:Special-features"
-
-\end_inset
-
-.
\end_layout
\begin_layout Section
\begin_layout Subsection
Bibliographies sectionnées
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Bibliographies-sectionnées"
-
-\end_inset
-
-
\end_layout
\begin_layout Standard
LyX permet l'inclusion de fichiers en sélectionnant
\family sans
\bar under
-I
+Insertion
\bar default
-nsérer\SpecialChar \menuseparator
+\SpecialChar \menuseparator
Fichier\SpecialChar \menuseparator
Sous-document
\family default
\end_inset
(livre), donc il est un peu plus fourni, mais pour réellement en mettre
- plein la vue, il faut choisir la mise en page
+ plein la vue, il faut choisir le style d'en-têtes
\begin_inset Quotes fld
\end_inset
-fancy
+sophistiqué
\begin_inset Quotes frd
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="7" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<row>
\begin_layout Standard
LyX ne vous empêche pas d'utiliser les puces correspondant à des paquetages
que vous n'avez pas.
- Si vous obtenez des erreurs LaTeX lorsque vous essayez de Visionner ou
+ Si vous obtenez des erreurs LaTeX lorsque vous essayez de visionner ou
d'imprimer le fichier, c'est sûrement qu'il vous manque un paquetage.
LyX ne vous empêche pas d'agir car vous pourriez vouloir éditer quelque
part et imprimer avec un autre système.
\end_layout
\begin_layout Chapter
-
-\lang english
-LyX and the World Wide Web
-\begin_inset Note Note
-status open
-
-\begin_layout Plain Layout
-Chapitre restant à traduire (JPChrétien, juin 2011)
-\end_layout
-
-\end_inset
-
-
+LyX et le Web
\end_layout
\begin_layout Standard
-
-\lang english
-LyX has long supported the export of documents to various web-friendly formats,
- such as HTML.
- Before verson 2.0, however, HTML export was always accomplished by the use
- of external converters.
+LyX inclut depuis longtemps l'exportation de documents vers divers formats
+ appropriés au monde du Web, comme HTML.
+ Avant la version 2.0, le format HTML était obtenu par l'utilisation de convertis
+seurs externes.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
-
-\lang english
-For details on the use of external converters with LyX, see the
+Pour les détails sur l'utilisation des convertisseurs externes depuis LyX,
+ voir la section
\emph on
-Converters
+Convertisseurs
\emph default
- section of the Customization manual.
+ de manuel de Personnalisation.
\end_layout
\end_inset
- These fall into two large groups: there are converters that use LaTeX as
- an intermediate format, such as
+ Ceux-ci se divisent en deux groupes principaux: certains convertisseurs
+ utilisent LaTeX comme format intermédiaire, comme
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\lang english
htlatex
\end_layout
status collapsed
\begin_layout Plain Layout
-
-\lang english
html2latex
\end_layout
\end_inset
-, and
+, et
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\lang english
plastex
\end_layout
\end_inset
-, relying upon LyX to produce the LaTeX; and there is a converter that works
- directly on LyX files,
+, en créant le code LaTeX à partir de LyX; et il existe un convertisseur
+ qui travaille directement sur le code LyX,
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\lang english
eLyXer
\end_layout
\end_inset
.
- All of these have different advantages and disadvantages.
-
+ Chacun d'eux présente des avantages et des inconvénients.
\end_layout
\begin_layout Standard
-
-\lang english
-The LaTeX-based converters have the advantage that, in principle, they know
- everything about the exported document that LaTeX does.
- Such converters do not care, for example, if a certain block of code was
- produced by LyX or was Evil Red Text.
- These converters know about
+Les convertisseurs fondés sur LaTeX présentent l'avantage qu'il connaissent
+ (en principe) les mêmes informations que LaTeX concernant le document exporté.
+ Il ne sont pas concernés par le fait qu'un morceau de code soit créé par
+ LyX ou par un insert de code TeX.
+ Ils comprennent les fichiers
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\lang english
aux
\end_layout
\end_inset
- files, counters, and references, and can often make use of the
+, les compteurs et les références, et peuvent souvent tirer parti des fichiers
+
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\lang english
bbl
\end_layout
\end_inset
- files generated by BibTeX.
- On the other hand, LaTeX is a very hard language to parse---it is sometimes
- said that only TeX itself understands TeX---and LaTeX-based converters
- will often choke on what seem to be quite simple constructs; complex ones
- can throw them completely, and as of this writing, for example, the
+ engendrés par BibTeX.
+ En contrepartie, LaTeX est un langage vraiment difficile à analyser ---
+ on dit souvent que seul TeX comprend TeX --- et les convertisseurs fondés
+ sur LaTeX échouent souvent sur des constructions apparemment simples; des
+ constructions compliqués peuvent les faire avorter totalement, et actuellement
+ par exemple, le manuel des
\emph on
-Embedded Objects
+Objets insérés
\emph default
- manual will not export with
+ ne s'exporte pas via
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\lang english
htlatex
\end_layout
\end_inset
-, though the others will.
- The other issue concerns how math is handled.
- These converters typically convert the formulae into little pictures that
- are then linked from the HTML document.
- Since these are actually generated by LaTeX, they are accurate.
- But they do not scale well, and just getting them to look as if they are
- actually meant to be in your document---so that the font sizes seem to
- be roughly the same---can be a challenge.
+, bien que les autres le fassent.
+ L'autre préoccupation provient de la manière dont les formules mathématiques
+ sont traitées: ces convertisseurs traduisent habituellement les formules
+ en petites images qui sont liées dans le document HTML.
+ Puisque celles-ci sont créées par LaTeX, la typographie est précise.
+ mais elles ne se mettent pas à l'échelle facilement, et la tâche de les
+ faires s'insérer harmonieusement dans le document comme si elles en faisaient
+ partie nativement --- avec des polices de taille similaire --- peut être
+ à elle seule un défi.
\end_layout
\begin_layout Standard
-
-\lang english
-Alex Fernandez's
+Le logiciel
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\lang english
eLyXer
\end_layout
\end_inset
-) solves some of these problems.
- In particular, the formulae it produces scale perfectly, since it renders
- math using a combination of HTML and CSS rather than converting the formulae
- to images.
- But even moderately complex formula are rendered less well than with
+) créé par Alex Fernandez résout certaines de ces problèmes.
+ En particulier, les formules produites se mettent parfaitement à l'échelle,
+ car il traduit les mathématiques en utilisant une combinaison de HTML et
+ CSS plutôt que de convertir les formules en images.
+ mais même les formules modérément compliquées sont moins bien rendues qu'avec
+
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\lang english
htlatex
\end_layout
\end_inset
-; this reflects the limitations of HTML.
+: ceci révèle les limitations de HTML.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
-
-\lang english
-That said,
+Ceci dit,
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\lang english
eLyXer
\end_layout
\end_inset
- can also use jsMath and MathJax for equations, but this setting is only
- available globally and requires one to have access to a server that runs
- the backend.
+ peut également utiliser
+\begin_inset Flex MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+ jsMath
\end_layout
\end_inset
- More importantly (as of version 1.1.1, at least),
-\begin_inset Flex Code
+ et
+\begin_inset Flex MenuItem
status collapsed
\begin_layout Plain Layout
+MathJax
+\end_layout
-\lang english
-eLyXer
+\end_inset
+
+ pour les équations, mais ce réglage ne peut être que global et nécessite
+ l'accès à un serveur qui exécute le code de conversion.
\end_layout
\end_inset
- has limited support for math macros and no support for user-defined paragraph
- or character styles.
- These limitations make
+ Plus important (du moins pour la version 1.1.1),
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
+eLyXer
+\end_layout
-\lang english
+\end_inset
+
+ ne comprend pas bien les macros mathématiques et pas du tout les styles
+ de paragraphes définis par l'utilisateur et les styles de caractères.
+ Ces limitations rendent
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
eLyXer
\end_layout
\end_inset
- unsuitable for many of the documents LyX users produce.
- In principle, of course, these problems could be solved, but the LyX developers
- have decided to follow a different path and have made LyX itself capable
- of writing XHTML, just as it is capable of writing LaTeX, DocBook, and
- plaintext.
+ peu approprié pour de nombreux documents créés par les utilisateurs de
+ LyX.
+ En principe, ces problèmes peuvent bien sûr être résolus, mais les développeurs
+ de Lyx ont choisi une autre voie et ont rendu LyX lui-même capable d'écrire
+ en XHTML, de la même façon qu'il peut écrire en LaTeX, en DocBoook ou en
+ texte brut.
\end_layout
\begin_layout Standard
-
-\lang english
-As of this writing, XHTML output remains under development and should probably
- be regarded as
-\begin_inset Quotes eld
+A l'heure actuelle, l'exportation XHTML est encore en développement et doit
+ probablement être considérée comme
+\begin_inset Quotes fld
\end_inset
-experimental
-\begin_inset Quotes erd
+expérimentale
+\begin_inset Quotes frd
\end_inset
.
status collapsed
\begin_layout Plain Layout
-
-\lang english
-The file
+Le fichier
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\lang english
development/HTML.notes
\end_layout
\end_inset
-, which can be found in the LyX source tree or
+, qui se trouve dans l'arborescence des sources LyX ou qui peut être
\begin_inset CommandInset href
LatexCommand href
-name "accessed online"
-target "http://www.lyx.org/trac/browser/lyx-devel/trunk/development/HTML/HTML.notes"
+name "consultée en ligne"
+target "http://www.lyx.org/trac/browser/lyxgit/development/HTML/HTML.notes?rev=master"
\end_inset
-, usually contains up-to-date information about the state of XHTML output.
- See also the list of XHTML bugs on
+ (en anglais), contient normalement des informations à jour sur l'état de
+ développement de l'exportation XHTML.
+ Voir également la liste des bogues sur le
\begin_inset CommandInset href
LatexCommand href
-name "the bug tracker"
+name "suivi de bogues"
target "http://www.lyx.org/trac/query?status=reopened&status=assigned&status=new&max=0&component=xhtml+export&order=id&col=id&col=summary&col=reporter&col=keywords&keywords=%21%7Efixedintrunk&desc=1"
\end_inset
\end_inset
- Still, the developers have chosen this approach because it has several
- potential advantages over the other two.
+ Cependant, les développeurs ont chois cette approche car elle possède plusieurs
+ avantages potentiels sur les deux autres.
\end_layout
\begin_layout Standard
-
-\lang english
-These advantages are primarily due to the fact that the XHTML output routines,
- since they are part of LyX, know everything LyX knows about the document
- being exported.
+Les avantages sont dus principalement au fait que les fonctions d'exportation
+ en XHTML, comme elles font partie de Lyx, connaissent du document considéré
+ les mêmes choses que LyX.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
-
-\lang english
-Another advantage is that, since these routines are internal to LyX, they
- are immune to changes in LyX's file format, or to changes in the semantics
- of existing insets.
+Un autre avantage réside dans le fait que, puisque ces fonctions sont internes
+ à Lyx, elle sont insensibles aux changements de format des fichiers LyX,
+ ou aux modifications de la sémantique des inserts existants.
\end_layout
\end_inset
- So they know about the table of contents (as displayed in the outline),
- about the counters associated with different paragraph styles, and about
- user-defined styles.
- The XHTML output routines know what LyX knows about internationalization,
- too, so they will output
-\begin_inset Quotes eld
+ Elles connaissent donc la table des matières (telle qu'affichée dans le
+ plan), les compteurs associés aux différents styles de paragraphes standard
+ et aux styles de paragraphe définis par l'utilisateur.
+ Les fonctions d'exportation XHTML connaissent les mêmes choses que LyX
+ du point de vue de l'internationalisation également, et elles traduiront
+
+\begin_inset Quotes fld
\end_inset
Chapter 1
-\begin_inset Quotes erd
+\begin_inset Quotes frd
\end_inset
- or
-\begin_inset Quotes eld
+ ou
+\begin_inset Quotes fld
\end_inset
-
-\lang ngerman
-Kapitel
-\lang english
- 1
-\begin_inset Quotes erd
+Kapitel 1
+\begin_inset Quotes frd
\end_inset
-, depending upon the language in effect at the time.
-
+ en fonction de la langue définie localement.
\end_layout
\begin_layout Standard
-
-\lang english
-Quite generally, the output routines know what LyX knows about document
- layout, that is, about how the document is to be rendered on screen.
- We use this information when we output the document as XHTML.
- In particular, LyX
+D'un manière générale, les fonctions d'exportation connaissent le format
+ du document, c'est-à-dire la manière d'afficher le document à l'écran:
+ cette information est exploitée pour l'exportation en XHTML.
+ En particulier, LyX engendre
\emph on
-automatically
+automatiquement
\emph default
- generates CSS style information corresponding to the layout information
- it uses to render the document on screen: if section headings are supposed
- to be sans-serif and bold as seen in LyX, then (by default) they will be
- sans-serif and bold when viewed in a web browser, too.
- And this is true not just for pre-defined styles, like Section, but for
- any style, including user-defined styles.
- Indeed, the XHTML output routines make no distinction between user-defined
- paragraph and character styles and LyX's own pre-defined styles: in each
- case, everything LyX knows about the styles is contained in the layout
- files.
- And much the same is true as regards pre-defined textual insets, such as
- footnotes, and various custom insets.
-
+ les informations CSS correspondant aux informations de format utilisées
+ pour l'affichage à l'écran: si les en-têtes de section sont supposées êtres
+ sans empattement et gras dans LyX, ils seront implicitement sans empattement
+ et gras dans un navigateur Web.
+ Et ceci est vrai non seulement pour les styles prédéfinis, comme Section,
+ mais pour tout style, y compris défini par l'utilisateur, puisque dans
+ tous les cas, tout ce que connaît LyX se trouve dans les fichiers de format.
+ Ceci s'applique également aux inserts textuels comme les notes de bas de
+ page et divers inserts personnalisés.
\end_layout
\begin_layout Standard
-
-\lang english
-The result is that XHTML output can be customized and extended in exactly
- the same way LaTeX output can be customized and extended: through layout
- files and modules.
- See chapter five of the
+De ce fait, le résultat XHTML peut être adapté et étendu exactement de la
+ même façon que le résultat LaTeX: au moyen des fichiers de format et des
+ modules; voir le chapitre 5 du manuel de
\emph on
-Customization
+Personnalisation
\emph default
-manual for the details.
+ pour les détails.
\end_layout
\begin_layout Standard
-
-\lang english
-The remainder of this chapter contains more detailed information on XHTML
- output, its limitations, and ways to work around those limitations.
+Le reste de ce chapitre décrit plus en détail l'exportation XHTML, ses limitatio
+ns et les moyens de contourner celles-ci.
\end_layout
\begin_layout Section
-
-\lang english
-Math Output in XHTML
+Formules mathématiques en XHTML
\end_layout
\begin_layout Standard
-
-\lang english
-LyX offers four choices for how math is rendered.
- These have various advantages and disadvantages:
+LyX propose quatre méthodes d'affichages des formules mathématiques, qui
+ ont divers avantages et inconvénients:
\end_layout
\begin_layout Itemize
-
-\lang english
MathML
\begin_inset Newline newline
\end_inset
-MathML is a dialect of XML designed specifically for mathematics on the
- web, and it typically renders very well in browsers that support it.
- The disadvantage is that not all browsers support MathML, and support is
- not complete even in the Gecko-based browsers, such as Firefox.
+MathML est in dialecte de XML développé spécifiquement pour afficher les
+ formules mathématiques sur le web, et il offre un excellent rendu dans
+ les navigateurs qui le reconnaissent.
+ L'inconvénient est que tous les navigateurs ne reconnaissent pas MathML,
+ et que le support est incomplet même dans les navigateurs fondés sur Gecko
+ comme Firefox.
\begin_inset Newline newline
\end_inset
-If LyX is unable to render a formula as MathML---for example, if the formula
- uses the
+Si Lyx ne sait pas afficher un formule en MathML --- par exemple, la formule
+ utilise le paquetage
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\lang english
xymatrix
\end_layout
\end_inset
- package or ERT---then it will instead output the formula as an image.
-
+ ou du code TeX --- il affichera la formule sous la forme d'une image.
\end_layout
\begin_layout Itemize
-
-\lang english
HTML
\begin_inset Newline newline
\end_inset
-As mentioned above,
+Comme on l'a vu plus haut,
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\lang english
elyxer
\end_layout
\end_inset
- outputs math as HTML, styled by CSS.
+ exporte les formules mathématiques en HTML, mis en forme par CSS.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
-
-\lang english
-LyX has borrowed some of the CSS for its HTML output from
+LyX a emprunté à
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\lang english
elyxer
\end_layout
\end_inset
-.
+ quelques unes des feuilles de style CSS utilisées dans son exportation
+ HTML.
\end_layout
\end_inset
- For simple formulae, this can work quite well, though with more complicated
- formulae it tends to break down.
- Still, this method has the advantage that it is very widely supported and
- so it may be appropriate for documents that contain only a little, fairly
- simple math.
+ Pour des formules simples, ceci fonctionne correctement, mais a tendance
+ à échouer pour des formules plus compliquées.
+ Cette méthode a cependant l'avantage d'être largement reconnue et peut
+ donc être utilisée pour des documents contenant peu de formules, et qui
+ soient suffisamment simples.
+\lang english
+
\begin_inset Newline newline
\end_inset
-If Lyx is unable to render a formula as HTML---for example, if the formula
- uses the
+
+\lang french
+Si Lyx ne sait pas afficher un formule en HTML --- par exemple, la formule
+ utilise le paquetage
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\lang english
xymatrix
\end_layout
\end_inset
- package or ERT---then it will instead output the formula as an image.
-
+ ou du code TeX --- il affichera la formule sous la forme d'une image.
\end_layout
+\begin_deeper
\begin_layout Itemize
-
-\lang english
Images
\begin_inset Newline newline
\end_inset
-Like
+Comme
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\lang english
htlatex
\end_layout
\end_inset
-, LyX will output formulae as images, the very same images, in fact, that
- are used for instant preview.
+,LyX exportera les formules comme des images, les mêmes images en fait que
+ celles utilisées par la fonction d'aperçu sur le vif.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
-
-\lang english
-Instant preview does
+L'aperçu sur le vif n'a
\emph on
-not
+pas
\emph default
-have to be on for images to be output, however.
+ besoin d'être actif pour que les images soient créées, cependant.
\end_layout
\end_inset
- The advantage to this method is that the images are simply generated by
- LaTeX, so they are very accurate.
- The disadvantage, as mentioned earlier, is that these are bitmapped images,
- so they do not scale terribly well, and one cannot copy them, etc.
- (As of this writing, there are also problems about equation numbering.
- See
+ Comme indiqué plus haut, l'avantage de cette méthode réside dans la grande
+ précision des images puisqu'elles sont engendrées par LaTeX.
+ En contrepartie, ces images ne sont pas vectorielles, et par conséquent
+ elles ne se mettent pas bien à l'échelle, elles ne peuvent pas être copiées,
+ etc.
+ (actuellement, il y a également un problème de numérotation des équations,
+ voir le
\begin_inset CommandInset href
LatexCommand href
-name "bug 6894"
+name "bogue 6894"
target "http://www.lyx.org/trac/ticket/6894"
\end_inset
-.)
+).
\begin_inset Newline newline
\end_inset
-The size of the images can be controlled by setting the
-\begin_inset Quotes eld
-\end_inset
+La taille des images peut être réglée via le paramètre
+\begin_inset Flex MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+Mise à l'échelle des images mathématiques
+\end_layout
-Math Images Scaling
-\begin_inset Quotes erd
\end_inset
- parameter under
+ dans le menu
\begin_inset Flex MenuItem
status collapsed
\begin_layout Plain Layout
-
-\lang english
Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
-Output
+Paramètres\SpecialChar \menuseparator
+Sortie
\end_layout
\end_inset
status collapsed
\begin_layout Plain Layout
-
-\lang english
-For those who want to know, this controls the resolution of the image in
- dots per inch and is based upon a default of 75 dpi.
+Pour ceux que cela intéresse, la résolution est définie en points par pouce
+ et vaut implicitement 75 dpi.
\end_layout
\end_inset
\begin_inset Newline newline
\end_inset
-If LyX for some reason fails to create an image for a formula (e.g., if a
- required LaTeX package is not installed), then it will fall back to outputing
- the raw LaTeX.
+Si LyX ne peut créer un image d'une formule pour une raison ou une autre
+ (e.g., si un paquetage LaTeX requis n'est pas installé), alors il émettra
+ le code latex brut de la formule.
\end_layout
+\end_deeper
\begin_layout Itemize
-
-\lang english
LaTeX
\begin_inset Newline newline
\end_inset
-Finally, LyX will happily output math as LaTeX.
- As well as being the output of last resort, this method can be used with
- such tools as
+Enfin, LyX peut heureusement émettre les formules en LaTeX.
+ Bien que l'on ait recours à cette méthode qu'en dernier ressort, elle peut
+ être utilisée avec des outils externes comme
\begin_inset CommandInset href
LatexCommand href
name "jsMath"
\end_inset
-, which uses JavaScript to render LaTeX embedded in HTML documents.
- LyX wraps the LaTeX in either a
+, qui utilise JavaScript pour afficher le code LaTeX inclus dans les documents
+ HTML.
+ LyX encapsule le code LaTeX soit dans un insert de type
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\lang english
span
\end_layout
\end_inset
- (for inline formulas) or
+ (pour les formules en ligne) soit dans un insert de type
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\lang english
div
\end_layout
\end_inset
- (for displayed formulas) with
+ (pour les formules hors ligne) marqué par
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\lang english
class='math'
\end_layout
\end_inset
-, as is required for jsMath.
+, comme requis par jsMath.
\end_layout
\begin_layout Standard
-
-\lang english
-One of these output methods must be selected under
+Une des ces méthodes d'affichage doit être sélectionnée dans la fenêtre
+
\begin_inset Flex MenuItem
status collapsed
\begin_layout Plain Layout
-
-\lang english
Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
-Output
+Paramètres\SpecialChar \menuseparator
+Sortie
\end_layout
\end_inset
.
- By default, LyX outputs MathML.
- This is a document-wide setting, therefore.
+ Implicitement, LyX émet en MathML.
+ Ceci est un réglage global pour le document.
\end_layout
\begin_layout Standard
-
-\lang english
-Eventually, LyX will offer the user the option to select an alternate output
- method for a particular inset, say, one that isn't being rendered very
- well by MathML.
+LyX offre également le choix d'une méthode différente pour un insert particulier
+, s'il est par exemple mal affiché via MathML.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
-
-\lang english
-That said, since LyX falls back to images if the inset contains ERT, then
- one can force output as an image by putting some harmless ERT into the
- math, for example:
+Ceci dit, puisque LyX se rabat sur les images quand la formule contient
+ du code TeX, il est possible de forcer l'affichage par une image en insérant
+ un code TeX innocent, par exemple
\begin_inset Formula $a=b\relax$
\end_inset
\end_layout
\begin_layout Section
-
-\lang english
-Bibliography and Citations
+Bibliographie et citations
\end_layout
\begin_layout Standard
-
-\lang english
-XHTML output fully supports bibliographies and citations.
+L'exportation XHTML traduit parfaitement les bibliographies et les citations.
\end_layout
\begin_layout Standard
-
-\lang english
-Citation labels are generated by the same machinery that generates LyX's
- on-screen labels, so the labels will look in the output much as they do
- in LyX, though better.
- If you are using numerical citations, then LyX will output numerical labels,
- such as [1] or [17], rather than simply showing the citation key in square
- brackets, as it does on-screen.
- If you are using author-year citations, then LyX will add lowercase letters
- to the years, just as BibTeX does, if it finds more than one citation for
- a given author-year combination.
- The labels will be printed with the bibliography entries.
- Note that there is, at present, no way to customize the appearance of the
- labels, for example, to choose between square brackets and parentheses.
+Les étiquettes de citation sont créées par le même mécanisme qui produit
+ le étiquettes apparaissant dans l'écran LyX: les citations se présenteront
+ donc aussi bien que dans LyX si ce n'est mieux.
+ Si vous utilisez des citations numériques, LyX émettra des étiquettes numérique
+s, comme [1] ou [17], plutôt que d'afficher simplement la clé de la citation
+ comme à l'écran.
+ Si vous utilisez des citations auteur-année, LyX ajoutera des lettres en
+ bas de casse à l'année, comme le fait BibTeX, s'il trouve plus d'une citation
+ du même auteur dans le même année.
+ Les étiquettes seront imprimées avec les entrées bibliographiques.
+ Notez cependant qu'il n'est pas actuellement possible de modifier l'apparence
+ des étiquettes, en choisissant par exemple entre parenthèses et crochets.
\end_layout
\begin_layout Standard
-
-\lang english
-Bibliography output is handled by the same machinery that handles the presentati
-on of reference information in the citation dialog, so you will see in the
- XHTML output pretty much what you would see if you were to look at a given
- entry in the citation dialog.
- The formatting can be customized in your layout file or, preferably, in
- a module.
- See the
+L'affichage de la bibliographie est régie par le même mécanisme que celui
+ qui gère le présentation des références dans la fenêtre de dialogue des
+ citations, vous verrez donc dans le résultat XHTML à peu près les mêmes
+ choses que ce que vous voyez en consultant un entrée dans cette fenêtre.
+ La présentation peut être personnalisée dans le fichier de format, ou de
+ préférence dans un module, voyez le manuel de
\emph on
-Customization
+Personnalisation
\emph default
- manual for the details.
+ pour les détails.
\end_layout
\begin_layout Standard
-
-\lang english
-The main defect at present is that cross-referenced information is printed
- with every entry with which it is associated.
- So you can see things like this:
+Le plus gros défaut actuel réside dans l'affichage des informations croisées
+ dans chaque entrée à laquelle elles sont associées, vous pouvez donc voir
+ ceci:
\end_layout
\begin_layout Quote
\end_layout
\begin_layout Standard
-
-\lang english
-This should be fixed before long.
+Ceci devrait être corrigé rapidement.
\end_layout
\begin_layout Standard
-
-\lang english
-There is no support at present for sectioned bibliographies.
- If you have multiple bibliographies, then LyX will print the same bibliography
- over and over.
+Il n'y a actuellement aucun support pour les les bibliographies par sections.
+ Si vous avez des bibliographies multiples, LyX exportera la même bibliographie
+ partout.
\end_layout
\begin_layout Section
-
-\lang english
-Indexes
+Index
\end_layout
\begin_layout Standard
-
-\lang english
-LyX will happily export indexes as XHTML, but with certain limitations at
- the moment.
+LyX exporte heureusement les index ne XHTML, avec quelques limitations pour
+ le moment.
\end_layout
\begin_layout Standard
-
-\lang english
-Index export will be most reliable when you do not attempt to use the fancy
- constructs that are described in the section on indexes in the
+L'exportation des index sera fiable si vous n'essayez pas d'utiliser les
+ constructions sophistiquées décrites dans le paragraphe consacré aux index
+ dans le
\emph on
-User's Guide
+Guide de l'utilisateur
\emph default
.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
-
-\lang english
-The main issue here is that LyX itself does not really handle these.
- It just lets you enter what you would have to enter in raw LaTeX.
+Le principal problème ici vient du fait que LyX ne gère pas vraiment ces
+ entrées d'index, il se contente de vous laisser saisir le code LaTeX.
\end_layout
\end_inset
- We'll describe how they are handled using the subsection headings from
- that section.
+ Nous décrivons ici comment elles sont gérées en utilisant les en-têtes
+ de sous-section de cette section.
\end_layout
\begin_layout Itemize
-
-\lang english
-Grouping Index Entries (aka, sub-entries): LyX makes an effort to support
- these, but the entries must be separated by
-\begin_inset Quotes eld
-\end_inset
+Rassembler les entrées d'index (c'est-à-dire, sous-entrées): LyX essaye
+ de les traduire, mais les entrées doivent être séparées par
+\begin_inset Quotes fld
+\end_inset
!
-\begin_inset Quotes erd
+\begin_inset Quotes frd
\end_inset
-, that is, there must be spaces around the exclamation point.
- This is because it is otherwise too difficult to check for escaped exclamation
- points, ones in math, and so forth.
+, il doit y avoir des espaces autour du point d'exclamation.
+ Ceci est dû au fait qu'il est difficile autrement de les différencier des
+ points d'exclamation affectés d'un échappement, de ceux des expressions
+ mathématiques, etc.
+\end_layout
+
+\begin_layout Itemize
+Ensembles de pages consécutives: il n'y a aucune traduction possible pour
+ ces ensembles, puisqu'ils n'ont aucun sens en XHTML.
+ À la place, vous obtiendrez deux entrées d'index, une à chaque extrémité.
\end_layout
\begin_layout Itemize
+Références croisées: les références croisées ne sont APA traduites.
+ Si LyX trouve une entrées contenant
+\begin_inset Quotes fld
+\end_inset
+|
\lang english
-Page Ranges: There is no support at all for page ranges, since these make
- no sense with XHMTL.
- Instead, you will just get two index entries, one at either end.
+see
+\lang french
+\SpecialChar \ldots{}
+
+\begin_inset Quotes frd
+\end_inset
+
+, il l'ignore cette indication, et le reste est traité comme une entrée
+ ordinaire.
\end_layout
\begin_layout Itemize
+Ordre des entrées d'index: LyX essaie de gérer l'ordre de tri.
+ Il prend ce qui est avant le premier
+\begin_inset Quotes fld
+\end_inset
-\lang english
-Cross-referencing: There is no support for cross-referencing.
- If LyX finds an entry containing the
-\begin_inset Quotes eld
+@
+\begin_inset Quotes frd
\end_inset
-|see\SpecialChar \ldots{}
+ qu'il trouve et l'utilise pour trier, en considérant ce qui est après le
+ premier
+\begin_inset Quotes fld
+\end_inset
-\begin_inset Quotes erd
+@
+\begin_inset Quotes frd
\end_inset
- construct, it is just dropped, and the rest is treated as an ordinary index
- entry.
-\end_layout
+ comme l'entrée effective.
+ Pour le moment, LyX ne vérifie pas si
+\begin_inset Quotes fld
+\end_inset
-\begin_layout Itemize
+@
+\begin_inset Quotes frd
+\end_inset
-\lang english
-Index Entry Order: LyX does support attempts to fix the sorting order.
- It will take what is before the first `@' it finds and use that for sorting,
- taking what follows the first `@' to be the actual entry.
- At present, LyX does not check for escaped `@', so do not try to index
- email addresses.
+ fait l'objet d'un échappement, n'essayez donc pas de trier des adresses
+ électroniques.
\end_layout
\begin_layout Itemize
+Format des entrées d'index: vous pouvez mettre les entrées en forme en utilisant
+ la fenêtre de choix des styles de caractères, ou par une autre méthode
+ proposée par LyX.
+ Les constructions telles que
+\begin_inset Quotes fld
+\end_inset
-\lang english
-Index Entry Layout: You can format entries by using the text style dialog,
- or by using any other method available within LyX itself.
- There is no support for constructs like:
-\begin_inset Quotes eld
+entrée|textbf
+\begin_inset Quotes frd
\end_inset
-entry|textbf
-\begin_inset Quotes erd
+ ne sont pas traduites.
+ En fait, si LyX trouve un caractère tube (
+\begin_inset Quotes fld
\end_inset
-.
- Indeed, if LyX finds a pipe symbol, `|', in an entry, it will delete it
- and everything that follows it.
+|
+\begin_inset Quotes frd
+\end_inset
+
+) dans une entrée, il l'ignore ainsi que tout ce qui le suit.
\end_layout
\begin_layout Itemize
-
-\lang english
-Multiple Indexes: There is no support for multiple indexes.
- Rather, all index entries will be printed as one large index.
- To avoid our printing several versions of the index, we print only the
- main index, so make sure you have one.
+Index multiples: les index multiples ne sont pas traduits, toutes les entrées
+ d'index seront considérées comme un seul grand index.
+ Pour éviter d'exporter plusieurs versions du même index, LyX n'exporte
+ que l'index principal, assurez-vous d'en créer un.
\end_layout
\begin_layout Section
-
-\lang english
-Nomenclature and Glossary
+Nomenclatures et glossaires
\end_layout
\begin_layout Standard
-
-\lang english
-There is at present no support for glossaries.
- Adding it would be fairly trivial, and welcome.
+Il n'y a actuellement pas d'exportation des glossaires.
+ Il serait trivial de les ajouter, et ce serait bienvenu.
\end_layout
\begin_layout Chapter
.
La racine de ces deux noms peut être définie dans la fenêtre
\family sans
-Éditer\SpecialChar \menuseparator
+Édition\SpecialChar \menuseparator
Préférences\SpecialChar \menuseparator
Entrées\SpecialChar \menuseparator
Répertoires
status collapsed
\begin_layout Plain Layout
-
-\lang english
lyxclient
\end_layout
\end_inset
+
+\lang french
Activation automatique
\end_layout
\end_inset
+.
+ Notez que la méthode
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+synctex=1
+\end_layout
+
+\end_inset
+
+ active la compression
+\family sans
+gzip
+\family default
+.
+ Si votre visionneuse ne la supporte pas, vous devez utiliser à la place
+\lang english
+
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+synctex=-1
+\end_layout
+
+\end_inset
+
.
\end_layout
\begin_layout Standard
-Notez bien que la l'inclusion des paquetages
+Notez également que la l'inclusion des paquetages
\begin_inset Flex Code
status collapsed
status collapsed
\begin_layout Plain Layout
-
-\lang english
latex/pdflatex
\end_layout
\end_inset
-eX (plain)->DVI
+eX (standard)->DVI
\end_layout
\end_inset
\end_inset
-eX (plain)->DraftDVI
+eX (standard)->DraftDVI
\end_layout
\end_inset
status collapsed
\begin_layout Plain Layout
-
-\lang english
latex -src-specials $$i
\end_layout
\begin_layout Plain Layout
-\lang english
-
\backslash
usepackage{pdfsync}
\end_layout
\begin_layout Plain Layout
-\lang english
-
\backslash
usepackage[active]{srcltx}
\end_layout
status collapsed
\begin_layout Plain Layout
-
-\lang english
(pdf)latex
\end_layout
\end_inset
-eX (plain) -> DVI
+eX (standard) -> DVI
\end_layout
\end_inset
\end_inset
-eX (plain) -> DraftDVI
+eX (standard) -> DraftDVI
\end_layout
\end_inset
.
Vérifiez la documentation de votre visionneuse pour ce qui concerne la
- configuration pour SyncTeX
+ configuration pour SyncTeX.
\begin_inset Foot
status collapsed
status collapsed
\begin_layout Plain Layout
-
-\lang english
-synctex=1
\end_layout
status collapsed
\begin_layout Plain Layout
-
-\lang english
-synctex=-1
\end_layout
\end_inset
-.
+
\end_layout
\begin_layout Subsection
status collapsed
\begin_layout Plain Layout
-
-\lang english
xdvi
\end_layout
status collapsed
\begin_layout Plain Layout
-
-\lang english
lyxclient
\end_layout
status collapsed
\begin_layout Plain Layout
-
-\lang english
xdvi -editor 'lyxeditor.sh %f %l'
\end_layout
status collapsed
\begin_layout Plain Layout
-
-\lang english
lyxeditor.sh
\end_layout
est le chemin d'accès au tube Ly
\begin_inset ERT
-status open
+status collapsed
\begin_layout Plain Layout
status collapsed
\begin_layout Plain Layout
-
-\lang english
open -a Skim.app $$i
\end_layout
\end_layout
\begin_layout Section
-
-\lang english
-Forward search
-\begin_inset Note Note
-status open
-
-\begin_layout Plain Layout
-Section restant à traduire (JPChrétien, juin 2011)
-\end_layout
-
-\end_inset
-
-
+Recherche directe
\end_layout
\begin_layout Standard
-
-\lang english
-Forward search is, as the name implies, in a sense the
-\begin_inset Quotes eld
+La recherche directe est, comme son nom l'indique,
+\begin_inset Quotes fld
\end_inset
-opposite
-\begin_inset Quotes erd
+l'opposé
+\begin_inset Quotes frd
\end_inset
- to reverse search.
- It allows you to let the viewer jump to a given position from within LyX.
- If forward search is set up (as described in what follows), you can put
- the cursor anywhere in your LyX document, and hit
+ de la recherche inversée.
+ Elle vous permet de positionner le curseur dans la visionneuse directement
+ depuis LyX.
+ Si le recherche inversé est active (comme décrit ci-après), vous pouvez
+ positionner le curseur où vous voulez dan le document LyX, et sélectionner
+
\begin_inset Flex MenuItem
status collapsed
\begin_layout Plain Layout
-
-\lang english
-Navigate\SpecialChar \menuseparator
-Forward search
+Navigation\SpecialChar \menuseparator
+Recherche directe
\end_layout
\end_inset
- (or select
+ (ou sélectionner
\begin_inset Flex MenuItem
status collapsed
\begin_layout Plain Layout
-
-\lang english
-Forward search
+Recherche directe
\end_layout
\end_inset
- in the context menu via right mouse click), and then the viewer will jump
- to that position as well.
- This implies, of course, that your viewer supports this function.
+ dans le menu contextuel par un clic droit), et la visionneuse sera positionnée
+ au même emplacement.
+ Ce suppose bien entendu que la visionneuse interprète cette fonctionnalité.
\end_layout
\begin_layout Standard
+Pour rendre la recherche directe active, vous devez d'abord créer le fichier
+ PDF/DVI avec les informations supplémentaires concernant les source TeX:
+ ceci peut être fait par les méthodes décrites dans la section
+\begin_inset space ~
+\end_inset
+
-\lang english
-To make forward search possible, you first need to provide the generated
- output PDF/DVI file with additional information about the TeX sources.
- This can be done via the methods described in the section
\begin_inset CommandInset ref
LatexCommand ref
reference "sub:rev-search"
\end_layout
\begin_layout Standard
-
-\lang english
-Additionally, you need to configure LyX for using your viewers in
+De plus, vous devez configurer LyX pour utiliser les visionneuses dans
\begin_inset Flex MenuItem
status collapsed
\begin_layout Plain Layout
-
-\lang english
-Tools\SpecialChar \menuseparator
-Preferences\SpecialChar \menuseparator
-Output\SpecialChar \menuseparator
-General
+Outils\SpecialChar \menuseparator
+Préférences\SpecialChar \menuseparator
+Sortie\SpecialChar \menuseparator
+Général
\end_layout
\end_inset
.
- We provide a range of tested configurations for some viewers, which you
- can select from the drop down list.
- If none of these configurations suits you, you have to find out and enter
- a suitable configuration yourself.
- The definition syntax uses the following placeholders:
+ LyX fournit une série de configurations validées pour quelques visionneuses,
+ que vous pouvez sélectionner dans le menu déroulant.
+ Si aucune de ces configurations ne vous convient, vous devrez chercher
+ et trouver une configuration appropriée vous-même.
+ La syntaxe utilise les marqueurs suivants:
\end_layout
\begin_layout Itemize
\noindent
-
-\lang english
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\lang english
$$n
\end_layout
\end_inset
-: row number
+: numéro de ligne;
\end_layout
\begin_layout Itemize
\noindent
-
-\lang english
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\lang english
$$t
\end_layout
\end_inset
-: name of the (temporary) exported .tex file
+: nom du fichier
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+\noindent
+.tex
+\end_layout
+
+\end_inset
+
+ (temporairement) créé;
\end_layout
\begin_layout Itemize
\noindent
-
-\lang english
\begin_inset Flex Code
status collapsed
\begin_layout Plain Layout
-
-\lang english
$$o
\end_layout
\end_inset
-: name of the exported output file (either dvi or pdf, depending on which
- one exists in the temporary directory)
+: nom du fichier de sortie (soit dvi, soit pdf, en fonction de celui qui
+ existe dans le répertoire temporaire).
\end_layout
\begin_layout Standard
+Notez que seules quelques visionneuses présentent une fonctionnalité de
+ recherche directe complète, parmi lesquelles
+\begin_inset Flex MenuItem
+status collapsed
-\lang english
-Note that only some of the viewers provide full forward search functionality,
- among them yap, xdvi, okular and Sumatra PDF
-\begin_inset Foot
+\begin_layout Plain Layout
+yap
+\end_layout
+
+\end_inset
+
+,
+\begin_inset Flex MenuItem
status collapsed
\begin_layout Plain Layout
+xdvi
+\end_layout
-\lang english
-For Sumatra CMCDDE is needed --- downloadable from http://www.istri.fr/zip/CMCDDE.z
-ip
+\end_inset
+
+,
+\begin_inset Flex MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+okular
\end_layout
\end_inset
-.
- While many of the widespread PDF viewers (most notably Adobe Reader) do
- not support forward search at all, some other viewers -- e.
-\begin_inset space \thinspace{}
+ et
+\begin_inset Flex MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+Sumatra PDF
+\end_layout
+
\end_inset
-g.
- evince and xpdf -- allow at least to reload the document and jump to a
- specific page of the file, so you can at least navigate
-\begin_inset Quotes eld
+
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Pour Sumatra, CMCDDE est requis --- téléchargeable ici
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Plain Layout
+
+http://www.istri.fr/zip/CMCDDE.zip
+\end_layout
+
\end_inset
-near
-\begin_inset Quotes erd
+
+\end_layout
+
\end_inset
.
- These latter functionality is provided by an external call of synctex (see
- the predefined example configurations).
-
+ Alors que beaucoup des visionneuses PDF largement diffusées (parmi lesquelles
+ on remarquera Adobe Reader) ne comprennent pas du tout la recherche directe,
+ d'autre visionneuses, comme
+\begin_inset Flex MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+evince
\end_layout
-\begin_layout Standard
+\end_inset
+
+ et
+\begin_inset Flex MenuItem
+status collapsed
+
+\begin_layout Plain Layout
+xpdf
+\end_layout
-\lang english
-Forward search works both with DVI and PDF output.
- LyX simply checks which preview format you have used before (i.
-\begin_inset space \thinspace{}
\end_inset
-e., which format is already there in the temporary directory) and chooses
- the appropriate configuration for the respective format.
-
+, permettent au moins de recharger le document et de sauter à une page donnée:
+ vous pouvez au moins naviguer à proximité du point visé.
+ Cette dernière fonctionnalité est activée par un appel externe à
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+synctex
+\end_layout
+
+\end_inset
+
+ (voir les configurations prédéfinies).
+\end_layout
+
+\begin_layout Standard
+La recherche directe fonctionne simultanément avec les sorties DVI et PDF.
+ LyX vérifie simplement quel format vous avez utilisé (c'est-à-dire, quel
+ format est déjà résident dans le répertoire temporaire) et choisit la configura
+tion adéquate.
\end_layout
\begin_layout Chapter
de modèle.
Pour des commandes comme celles-là, le code LaTeX doit être entré directement
et signalé comme tel.
- De telles commandes sont du Vilain Texte Rouge, ou ERT
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-NdT : Evil Red Text
-\end_layout
+ De telles commandes sont dénommées
+\begin_inset Quotes fld
+\end_inset
+code TeX
+\begin_inset Quotes frd
\end_inset
.
- J'essaye de minimiser la quantité de Vilain Texte Rouge nécessaire dans
- un document AASTeX, mais il y en a toujours trop.
+ J'essaye de minimiser la quantité de code TeX nécessaire dans un document
+ AASTeX, mais il y en a toujours trop.
\end_layout
\begin_layout Subsection
\end_layout
\begin_layout Subsubsection
-Les choses qui marchent comme prévu
+Les choses qui fonctionnent comme prévu
\end_layout
\begin_layout Standard
-Puisqu'elles marchent comme prévu, j'en fais simplement la liste avec la
- section dans laquelle elles se trouvent :
+Puisqu'elles fonctionnent comme prévu, j'en fais simplement la liste avec
+ la section dans laquelle elles se trouvent :
\family typewriter
\backslash
\end_layout
\begin_layout Subsubsection
-Les choses qui marchent, mais qui nécessitent un commentaire
+Les choses qui fonctionnent, mais qui nécessitent un commentaire
\end_layout
\begin_layout Standard
-Les éléments suivants marchent, mais requièrent un petit commentaire :
+Les éléments suivants fonctionnent, mais requièrent un petit commentaire
+ :
\end_layout
\begin_layout Itemize
\end_layout
\begin_layout Subsubsection
-Les choses qui ne sont pas implémentées, utilisez du code TeX
+Les choses qui ne sont pas implantées, utilisez du code TeX
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Subsubsection
-Les choses qui ne peuvent pas être implémentées
+Les choses qui ne peuvent pas être implantées
\end_layout
\begin_layout Standard
, je vous suggère de l'éditer avec un éditeur de texte dans un fichier séparé,
puis de faire
\family sans
-Insérer\SpecialChar \menuseparator
+Insertion\SpecialChar \menuseparator
Fichier\SpecialChar \menuseparator
Sous-document
\family default
Vous devez donc cliquer quelque part dans la légende/titre, puis faire
\family sans
-Éditer\SpecialChar \menuseparator
+Édition\SpecialChar \menuseparator
Paramètres
\begin_inset space ~
\end_inset
\begin_layout Enumerate
entrez toutes vos citations en utilisant le mécanisme prédéfini
\family sans
-Insérer\SpecialChar \menuseparator
+Insertion\SpecialChar \menuseparator
Citation
\family default
; au moins vous pourrez tirer avantage des insertions automatiques.
exemple pour entrer votre adresse actuelle, utilisez les notes de bas de
page standard avec
\family sans
-Insérer\SpecialChar \menuseparator
+Insertion\SpecialChar \menuseparator
Note
\begin_inset space ~
\end_inset
\begin_layout Enumerate
Créez une grande figure flottante : faites
\family sans
-Insérer\SpecialChar \menuseparator
+Insertion\SpecialChar \menuseparator
Flottants\SpecialChar \menuseparator
Figure
\family default
Positionnez le curseur derrière la figure et insérez un ressort horizontal
:
\family sans
-Insérer\SpecialChar \menuseparator
+Insertion\SpecialChar \menuseparator
Formats\SpecialChar \menuseparator
Ressort
\begin_inset space ~
\end_layout
\begin_layout Standard
-Les environnments suivants sont fournis aussi bien par le module
+Les environnements suivants sont fournis aussi bien par le module
\begin_inset Flex Code
status collapsed
\end_layout
\begin_layout Fact
-Utilsable comme Propositon, à une échelle peut-être réduite
+Utilisable comme Proposition, à une échelle peut-être réduite
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-
-\lang english
-See the LyX template file
+Voir le fichier modèle
\family typewriter
elsarticle.lyx
\family default
.
- It contains all infos you need.
+ Il contient toutes les informations nécessaires.
\end_layout
\begin_layout Section
\emph default
\emph on
-excutive
+executive
\emph default
\emph toggle
\family sans
\series bold
-empty
+vide
\family default
\series default
Les diapos ne présenteront ni numéro de page, ni en-tête ou pied de page
\family sans
\series bold
-plain
+ordinaire
\family default
\series default
Les diapos auront un numéro de page centré en bas de la page.
\labelwidthstring MMMMMMM
\series bold
-fancy
+sophistiqué
\series default
Vous donne accès au paquetage
\family sans
\end_layout
\begin_layout Standard
-Les versions sans étoiles sont numérotées, tandis que celles avec étoiles
+Les versions sans étoile sont numérotées, tandis que celles avec étoile
ne le sont pas.
Il y a enfin des environnements de liste ajoutés par LyX :
\end_layout
\end_layout
\begin_layout Standard
-Si vous voulez utiliser la mise en page
+Si vous voulez utiliser le style d'en-têtes
\family sans
-fancy
+sophistiqué
\family default
dans la fenêtre
\family sans
Document\SpecialChar \menuseparator
-Paramètres
+Paramètres\SpecialChar \menuseparator
+Format de la page
\family default
, il vous faudra sûrement ajouter
\family typewriter
\begin_layout Description
\family sans
-plain
+ordinaire
\family default
Le rendu final contient des numéros de page dans le coin inférieur droit.
\end_layout
\begin_layout Description
\family sans
-headings
-\family default
- Comme
-\family sans
-plain
+en-têtes
\family default
-, mais imprime aussi tous les marqueurs temporels que vous aurez placés.
- C'est le choix par défaut.
+ Comme ordinaire, mais imprime aussi tous les marqueurs temporels que vous
+ aurez placés.
+ C'est le choix implicite.
\end_layout
\begin_layout Description
\family sans
-empty
+vide
\family default
Le rendu final ne contient pas de numéros de page, de marqueurs temporels
ni de marqueurs d'alignement.
\begin_layout Itemize
\family sans
-Énumeration
+Énumération
\end_layout
\begin_layout Itemize
Les diapos sont sûrement les seules fois dans LyX où vous aurez à forcer
la fin des pages (vous pouvez toujours le faire dans
\family sans
-Éditer\SpecialChar \menuseparator
+Édition\SpecialChar \menuseparator
Paramètres
\begin_inset space ~
\end_inset
\emph on
I
\lang english
-ntenational Journal of Modern Physics D
+nternational Journal of Modern Physics D
\emph default
\lang french
.
\begin_layout Enumerate
La langue du document ne doit pas être modifiée.
- Avant de Visionner votre papier, assurez-vous que vous n'utilisez pas le
+ Avant de visionner votre papier, assurez-vous que vous n'utilisez pas le
paquetage
\family typewriter
babel
.
Dans LyX, les citations s'affichent comme d'habitude ; dans la sortie,
les citations apparaissent comme des exposants.
- Si vous voules utiliser une citation en texte normal, vous devez utiliser
+ Si vous voulez utiliser une citation en texte normal, vous devez utiliser
la commande
\family typewriter
refcite
\begin_inset Quotes fld
\end_inset
-Remerciments
+Remerciements
\begin_inset Quotes frd
\end_inset
\end_inset
qui indique le début des appendices.
- Cet environnement doit être laissé vide ; il sert juste à emettre une commande
+ Cet environnement doit être laissé vide ; il sert juste à émettre une commande
LaTeX, mais rien n'est imprimé.
Dans LyX, le mot
\begin_inset Quotes fld
\end_inset
apparaît en lettres bleues, comme indications que toutes les sections qui
- suvent ce point sont des appendices.
+ suivent ce point sont des appendices.
Pour écrire un appendice, utilisez l'environnement
\begin_inset Quotes fld
\end_inset
\emph on
doit
\emph default
- être présente avant le premier appendice ; si ce n'est pasle cas, tous
+ être présente avant le premier appendice ; si ce n'est pas le cas, tous
les appendices seront numérotés comme des sections normales, dans la sortie.
Un appendice peut contenir des
\family sans
pour les légendes des tableaux.
La conséquence en est qu'un tableau créé avec LyX est affiché correctement,
mais sans sa légende.
- Cependant, vous pouvez utiliser un peu d'ERT our contourner ce problème,
+ Cependant, vous pouvez utiliser un peu de code TeX pour contourner ce problème,
de façon à ce que les légendes s'impriment comme prévu.
Pour le faire, créez un flottant de tableau comme d'habitude, effacez la
légende, et remplacez la par le code LaTeX
}
\family default
immédiatement après votre tableau.
- Étudiez l'exemple de tableau qui est inclu dans le fichier modèle pour
+ Étudiez l'exemple de tableau qui est inclus dans le fichier modèle pour
voir comme cette astuce est utilisée.
- Une autre soution, si vous avez besoin de légendes de tableaux, est de
+ Une autre solution, si vous avez besoin de légendes de tableaux, est de
construire tout le tableau dans un fichier
\family typewriter
.tex
\family default
, puis inclure celui-ci dans le document LyX (par
\family sans
-Insérer\SpecialChar \menuseparator
+Insertion\SpecialChar \menuseparator
Fichier\SpecialChar \menuseparator
Sous-document
\family default
\begin_inset space ~
\end_inset
-(plain) et LaTeX
+(standard) et LaTeX
\begin_inset space ~
\end_inset
(pdflatex).
Si vous prévoyez d'utiliser pdflatex pour préparer votre papier, vous devez
utiliser l'option pdflatex pour que les graphiques soient convertis au
- format PDF, prêts à être utiliséspar pdflatex.
+ format PDF, prêts à être utilisés par pdflatex.
\end_layout
\end_inset
\family default
, le code TeX nécessaire est déjà là, et vous n'avez normalement pas besoin
de l'effacer.
- Vous pouvez seulement changer le premier ERT pour spécifier ce qui s'imprime
- en haut des pages paires et impaires (respectivement le titre abrégé et
- le nom des auteurs).
+ Vous pouvez seulement changer le premier code TeX pour spécifier ce qui
+ s'imprime en haut des pages paires et impaires (respectivement le titre
+ abrégé et le nom des auteurs).
Ce code TeX doit être de la forme
\family typewriter
\end_layout
\begin_layout Itemize
-Pour pouvoir compiler votre document en PDF, PS ou DVI, vérifiez ques les
+Pour pouvoir compiler votre document en PDF, PS ou DVI, vérifiez que les
deux options
\family sans
Utilise
\begin_layout Itemize
\family sans
-Comment
+Commentaire
\family default
pour un commentaire (Comment)
\end_layout
\begin_layout Itemize
\family sans
-Prelim
+CommPrelim
\family default
pour une communication préliminaire
\end_layout
\begin_layout Itemize
\family sans
-Rapid
+CommRapid
\family default
pour une communication rapide
\end_layout
Article
\family default
qui n'est pas géré par LyX.
- Il peut être utilisé en ERT si votre document ne correspond pas à l'un
- des autres types de titres.
+ Il peut être utilisé en code TeX si votre document ne correspond pas à
+ l'un des autres types de titres.
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Enumerate
-n'effacez pas le Texte Rouge qui se trouve dans le modèle, et
+n'effacez pas le code TeX qui se trouve dans le modèle, et
\end_layout
\begin_layout Enumerate
\end_layout
\begin_layout Itemize
-La taille de caractère standard est de 11
+la taille de caractère standard est de 11
\begin_inset space ~
\end_inset
pt dans
\emph on
-letter (koma-script)
-\emph default
-.
+letter (koma-script);
\end_layout
\begin_layout Itemize
-Les en-têtes, les marqueurs de l'environnement
+les en-têtes, les marqueurs de l'environnement
\family sans
Description
\family default
\end_inset
-.
-
+.;
\end_layout
\begin_layout Itemize
-La principale méthode utilisée dans les classes de cocuments pour modifier
+la principale méthode utilisée dans les classes de cocuments pour modifier
le type
\begin_inset Note Note
status collapsed
\family typewriter
scrguide
\family default
- de la documentation Koma-script
-\family sans
-.
+ de la documentation Koma-script;
\end_layout
\begin_layout Itemize
-Les classes de document LaTeX de la famille Koma-Script définissent un certain
+les classes de document LaTeX de la famille Koma-Script définissent un certain
nombre de commandes supplémentaires.
Celles d'entre elles qui ont une signification dans LyX sont implémentées
par des types de paragraphes y correspondant.
d'un chapitre.
Si vous utilisez le paramètre optionnel (
\family sans
-Insérer\SpecialChar \menuseparator
+Insertion\SpecialChar \menuseparator
Titre
\begin_inset space ~
\end_inset
\end_layout
\begin_layout Standard
-Une implémentation de ces types dans une logique WYSIWYG n'aurait pas de
- sens, car l'aspect réel de la lettre produite ne dépendra pas seulement
- de l'utilisation d'un type donné, mais aussi d'autres facteurs.
+Une implantation de ces types dans une logique WYSIWYG n'aurait pas de sens,
+ car l'aspect réel de la lettre produite ne dépendra pas seulement de l'utilisat
+ion d'un type donné, mais aussi d'autres facteurs.
Par exemple, dans le comportement par défaut, une signature entrée avec
le type
\family sans
\family default
(par
\family sans
-Insérer\SpecialChar \menuseparator
+Insertion\SpecialChar \menuseparator
Graphique
\family default
) dans l'en-tête.
\end_layout
\begin_layout Itemize
-Le numéro de chapitre pour un type
+le numéro de chapitre pour un type
\family sans
Chapitre
\family default
\family sans
Counter_Chapter
\family default
- dans le fichier de format.
-
+ dans le fichier de format;
\end_layout
\begin_layout Itemize
-Les en-têtes des types
+les en-têtes des types
\family sans
AjoutChap
\family default
Document\SpecialChar \menuseparator
Plan
\family default
-).
+);
\end_layout
\begin_layout Itemize
-Les paragraphes avec la classe de document
+les paragraphes avec la classe de document
\emph on
letter
\emph default
\begin_layout Section
Article (mwart), book (mwbk) and report (mwrep)
-\begin_inset Argument
+\begin_inset Argument 1
status collapsed
\begin_layout Plain Layout
, beaucoup ne le seront probablement jamais, à cause des limitations de
la structure de LyX.
Bien sûr, vous pouvez quand même utiliser toutes les fonctions avec l'aide
- de quelques commandes LaTeX ( en ERT
+ de quelques commandes LaTeX (en code TeX
\begin_inset Foot
status collapsed
).
Dans cette section, nous ne listerons que les fonctions qui sont gérées
par LyX de façon native.
- Pour une description détaillée (et pour le reste des fonctions) nous recommendo
-ns de jetter un œil au manuel détaillé de la classe
+ Pour une description détaillée (et pour le reste des fonctions) nous recommando
+ns de jeter un œil au manuel détaillé de la classe
\family sans
Memoir
\family default
\begin_inset Quotes fld
\end_inset
-fancy
+sophistiqué
\begin_inset Quotes frd
\end_inset
long).
Dans LyX, vous pouvez le faire avec
\family sans
-Insérer\SpecialChar \menuseparator
+Insertion\SpecialChar \menuseparator
Titre
\begin_inset space ~
\end_inset
\family sans
vers
\family default
-, mais vous aurez besoin d'utiliser des ERT, puisqu'ils doivent être emboîtés
- à l'intérieur d'environnements
+, mais vous aurez besoin d'utiliser du code TeX, puisqu'ils doivent être
+ emboîtés à l'intérieur d'environnements
\family sans
vers
\family default
\family default
dans le cas de teTeX, en tant que super-utilisateur si nécessaire – LyX
ne s'occupe-t-il pas tout seul de ça ?), reconfigurez LyX et ça devrait
- marcher.
+ fonctionner.
\end_layout
\begin_layout Subsection
\family sans
Options
\family default
- de la classe de document.
- (C'est effectivement un bogue.)
+ de la classe de document (c'est effectivement un bogue.)
\end_layout
\begin_layout Enumerate
\lang french
et la commande est donc grisée si celui-ci n'est pas installé.
- Vous pouvez vous le procurer de CTAN,
+ Vous pouvez vous le procurer de CTAN,
+\begin_inset Newline newline
+\end_inset
+
+
\begin_inset CommandInset href
LatexCommand href
target "http://www.ctan.org/tex-archive/help/Catalogue/entries/chktex.html"
\end_layout
\begin_layout Itemize
-De mauvais points de suspension :
+de mauvais points de suspension :
\begin_inset Newline newline
\end_inset
Utiliser \SpecialChar \ldots{}
- et non pas ...
+ et non pas ...;
\end_layout
\begin_layout Itemize
-Des espaces à l'intérieur des parenthèses :
+des espaces à l'intérieur des parenthèses :
\begin_inset Newline newline
\end_inset
-( mauvais espacement )
+( mauvais espacement );
\end_layout
\begin_layout Itemize
-L'utisation d'espaces normaux dans des abréviations courantes :
+l'utilisation d'espaces normaux dans des abréviations courantes :
\begin_inset Newline newline
\end_inset
Par exemple il y a ici trop d'espaces dans l'abréviation C.
N.
R.
- S.
+ S.;
\end_layout
\begin_layout Itemize
-L'utilisation d'un mauvais espacement à la fin d'une phrase dont la dernière
+l'utilisation d'un mauvais espacement à la fin d'une phrase dont la dernière
lettre est une majuscule :
\begin_inset Newline newline
\end_inset
Voici un TEST.
- Et l'espacement n'est pas bon.
+ Et l'espacement n'est pas bon;
\end_layout
\begin_layout Itemize
-L'insertion d'une espace avant une étiquette ou un autre objet de ce type
+l'insertion d'une espace avant une étiquette ou un autre objet de ce type
:
\begin_inset Newline newline
\end_inset
\end_inset
.
- L'étiquette est ici trop séparée.
+ L'étiquette est ici trop séparée;
\end_layout
\begin_layout Itemize
-L'utilisation d'espaces simples au lieu d'espaces insécables devant des
+l'utilisation d'espaces simples au lieu d'espaces insécables devant des
références :
\begin_inset Newline newline
\end_inset
\end_inset
-.
+;
\end_layout
\begin_layout Itemize
-L'utilisation d'un
+l'utilisation d'un
\begin_inset Quotes fld
\end_inset
\begin_inset Formula $2\times2$
\end_inset
-.
+
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-Si le programme est installé, l'employer est un jeu d'enfant : faites
+Si le programme est installé, l'employer est un jeu d'enfant : faites
+\begin_inset Newline newline
+\end_inset
+
+
\family sans
Outils\SpecialChar \menuseparator
Correction
Ces avertissements seront placés au plus près de l'erreur, et vous pourrez
facilement les trouver avec
\family sans
-Naviguer\SpecialChar \menuseparator
+Navigation\SpecialChar \menuseparator
Erreur
\family default
, ou par le raccourci clavier
\family default
dans
\family sans
-Éditer\SpecialChar \menuseparator
+Outils\SpecialChar \menuseparator
Préférences\SpecialChar \menuseparator
Sorties\SpecialChar \menuseparator
-
+LaTeX
\family default
-LaTeX, ou alors dans le fichier de configuration de l'installation de
+, ou alors dans le fichier de configuration de l'installation de
\family sans
ChkTeX
\family default
\end_layout
\begin_layout Standard
-Le support assuré dans LyX a été réalisé pour des versions récentes des
+Avant de vous lancer dans l'utilisation du contrôle de version sous LyX,
+ vous devrez connaître l'utilisation de RCS/CVS/SVN.
+ Le support assuré dans LyX a été réalisé pour des versions récentes des
paquetages GNU RCS ou CVS/SVN ― il n'est pas garanti que cela fonctionne
avec des versions plus anciennes.
En général, les messages de contrôle ne sont pas affichés après chaque
\lang english
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="2">
-<features tabularvalignment="middle">
+<features rotate="0" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\lang english
file revision information.
- The result comes from parsing the output of
+ The result comes from parsing the output of
+\begin_inset Newline newline
+\end_inset
+
+
\begin_inset Flex Code
status collapsed
new project
\family default
in Windows Explorer, right click it, and select
-\family typewriter
-TortoiseSVN > Repo-browser
+\family sans
+TortoiseSVN\SpecialChar \menuseparator
+Repo-browser
\family default
.
If necessary, adjust the URL for the repository, then click OK.
\lang english
Right click the level of the repository under which you want to place the
new project folder (typically the top level) and click
-\family typewriter
-Create folder\SpecialChar \ldots{}
-
+\family sans
+Create folder
\family default
Supply a name for the project folder and click OK.
Add a message for the log file if desired, then click OK again.
\lang english
Create or open your document in LyX and click
\family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
-
-\bar under
-V
-\bar default
-ersion
+File\SpecialChar \menuseparator
+Version
\begin_inset space ~
\end_inset
Control\SpecialChar \menuseparator
-
-\bar under
-R
-\bar default
-egister.
+Register.
\family default
Add a log message and click OK to commit the document to version control.
\lang english
From this point onward, you should have full functionality in the
\family sans
-\bar under
-F
-\bar default
-ile\SpecialChar \menuseparator
-
-\bar under
-V
-\bar default
-ersion
+File\SpecialChar \menuseparator
+Version
\begin_inset space ~
\end_inset
\end_inset
-, section [tunnels], setup ssh command, e.g.
-
+, section [tunnels], setup ssh command, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset Newline newline
+\end_inset
+
+
\begin_inset Flex Code
status collapsed
\begin_layout Enumerate
\lang english
-Checkout the SVN archive, e.g.
-
+Checkout the SVN archive, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset Newline newline
+\end_inset
+
+
\begin_inset Flex Code
status collapsed
\begin_layout Standard
LyX vous permet d'entrer du code par l'intermédiaire d'un format nommé
-\family sans
-Scrap
-\begin_inset Foot
+\lang english
+
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
-\family sans
-\noun on
-Le terme équivalent sous Noweb est
-\begin_inset Quotes fld
-\end_inset
-
+\lang english
Chunk
-\begin_inset Quotes frd
-\end_inset
-
-.
- Pour des raisons historiques, j'ai gardé le terme
-\begin_inset Quotes fld
-\end_inset
-
-scrap
-\begin_inset Quotes frd
-\end_inset
-
- d'un autre outil littéraire appelé Nuweb, que j'ai utilisé bien des années
- avant de me convertir à Noweb.
\end_layout
\end_inset
-\family default
+\lang french
.
- Noweb délimite les scraps ainsi :
+ Noweb délimite les
+\lang english
+chunks
+\lang french
+ ainsi :
\end_layout
\begin_layout LyX-Code
-<<Mon scrap>>=
+<<Mon code>>=
\end_layout
\begin_layout LyX-Code
\family default
doit être pris tel quel, c'est-à-dire que LyX ne doit faire aucune interprétati
on de ce qui a été écrit.
- C'est géré par un environnement spécial appelé
-\family sans
-Scrap
-\family default
-, qui fonctionne comme un paragraphe normal mais qui présente une totale
- liberté en ce qui concerne l'espacement.
-\end_layout
+ C'est aussi géré par le environnement
+\lang ngerman
-\begin_layout Standard
-L'inconvénient de l'environnement de paragraphe
-\family sans
-Scrap
-\family default
- est que des paragraphes consécutifs de code vont être séparés par une ligne
- vide dans le code source et dans la documentation imprimée.
- Pour éviter ça, il faut donc, dans un
-\family sans
-Scrap
-\family default
- donné, finir chaque ligne de code par un saut de ligne (
-\family sans
-C-Entrée
-\family default
-) et non un
-\family sans
-Entrée
-\family default
- normal.
- L'exemple ci-dessus donnera donc
-\begin_inset Foot
+\begin_inset Flex Noun
status collapsed
\begin_layout Plain Layout
-Sur un document imprimé, il n'y a aucune différence entre cet exemple et
- le précédent.
-\end_layout
-
-\end_inset
-
- :
-\end_layout
-
-\begin_layout LyX-Code
-<<Mon scrap>>=
-\begin_inset Newline newline
-\end_inset
-
- code
-\begin_inset Newline newline
-\end_inset
-
- encore du code
-\begin_inset Newline newline
-\end_inset
-
- toujours du code
-\begin_inset Newline newline
-\end_inset
- @
-\end_layout
-
-\begin_layout Standard
-Cet environnement fonctionne bien.
- Le seul réel inconvénient est de devoir taper
-\family sans
-C-Entrée
-\family default
- et non un simple
-\family sans
-Entrée
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-Régler ce problème fait partie de la liste des améliorations à apporter.
+\lang ngerman
+Chunk
\end_layout
\end_inset
-\family default
-.
+\lang french
+, qui fonctionne comme un paragraphe normal mais qui présente une totale
+ liberté en ce qui concerne l'espacement.
\end_layout
\begin_layout Standard
\family default
- de Noweb dans vos scraps pour ajouter des éléments de référence croisée
- :
+ de Noweb dans vos
+\lang english
+chunks
+\lang french
+ pour ajouter des éléments de référence croisée :
\end_layout
\begin_layout LyX-Code
<<Mon scrap>>=
-\begin_inset Newline newline
-\end_inset
+\end_layout
- def une_fonction(param):
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+def une_fonction(param):
+\end_layout
- "C'est la documentation de cette fonction."
-\begin_inset Newline newline
-\end_inset
+\begin_layout LyX-Code
+ "C'est la documentation de cette fonction."
+\end_layout
- print "Mes paramètres : ", param
+\begin_layout LyX-Code
+ print "Mes paramètres : ", param
\end_layout
\begin_layout LyX-Code
Bien ; et maintenant, comment je l'imprime ? La réponse est simple : vous
faites
\family sans
-Visionner\SpecialChar \menuseparator
+Affichage\SpecialChar \menuseparator
DVI
\family default
, etc.
\begin_layout Enumerate
Quand vous choisissez
\family sans
-Visionner\SpecialChar \menuseparator
+Affichage\SpecialChar \menuseparator
Mise
\begin_inset space ~
\end_inset
Remarquez que la seule différence est cette extension : LyX n'a rien de
particulier à faire.
Tant que vous avez utilisé l'environnement
-\family sans
-Scrap
-\family default
+\lang english
+
+\begin_inset Flex Noun
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+Chunk
+\end_layout
+
+\end_inset
+
+
+\lang french
en entrant le texte, tout se passera sans problème.
\end_layout
\begin_layout Plain Layout
Les convertisseurs sont définis dans la fenêtre
\family sans
-Éditer\SpecialChar \menuseparator
-Préférences
+Outils\SpecialChar \menuseparator
+Préférences\SpecialChar \menuseparator
+Gestion de fichiers
\family default
, dans l'onglet
\family sans
-Conversion
+Convertisseurs
\family default
.
\end_layout
\family sans
Convertisseur
\family default
-, doit contenir
+, doit contenir
+\begin_inset Newline newline
+\end_inset
+
+
\family typewriter
\begin_inset Quotes fld
:
\end_layout
-\begin_layout LyX-Code
-#!/bin/sh
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
\end_layout
-\begin_layout LyX-Code
-#
+\begin_layout Standard
+\begin_inset Newpage pagebreak
+\end_inset
+
+
\end_layout
-\begin_layout LyX-Code
-notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 sh
+\begin_layout Standard
+
+\family sans
+#!/bin/sh
\end_layout
\begin_layout Standard
-L'autre partie de la définition du convertisseur est le champ
+
\family sans
-Autres
-\begin_inset space ~
-\end_inset
+#
+\end_layout
-Options
-\family default
- qui doit contenir
-\family typewriter
+\begin_layout Standard
-\begin_inset Quotes fld
-\end_inset
+\family sans
+notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh
+\end_layout
-originaldir,parselog=listerrors
-\begin_inset Quotes frd
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The next part of the converter setting is the
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+Flags
+\begin_inset Quotes erd
+\end_inset
+
+ which is to be set to
+\begin_inset Quotes eld
\end_inset
-\family default
-.
- Ça fera passer toutes les erreurs générées par
-\family typewriter
-build-script
-\family default
- à travers le programme
\family typewriter
-listerrors
+parselog=$$s/scripts/listerrors
\family default
+
+\begin_inset Quotes erd
+\end_inset
+
.
+\begin_inset Newline newline
+\end_inset
+
+This will run any errors that are generated by the
+\begin_inset Quotes eld
+\end_inset
+
+build-script
+\begin_inset Quotes erd
+\end_inset
+
+ process through the
+\begin_inset Quotes eld
+\end_inset
+
+listerrors
+\begin_inset Quotes erd
+\end_inset
+
+ program.
\end_layout
\begin_layout Standard
-La gestion des convertisseurs cherche le programme
-\family typewriter
-listerrors
-\family default
- d'abord dans
-\family typewriter
-\emph on
-MON_RÉPERTOIRE_LYX
-\emph default
-/scripts
-\family default
-, puis dans
+
+\lang english
+The build will normally take place in LyX's temporary directory, so the
+ files produced by the conversion will be in that directory.
+ LyX will copy out what it regards as the `main' file, but the
\family typewriter
-\emph on
-LIBDIR
-\emph default
-/scripts
+Noweb->Program
\family default
- puis dans le chemin d'accès par défaut.
+ conversion may produce several files, and so most of these would then be
+ deleted when LyX was closed.
+ This is why we pass in the NOWEB_OUTPUT_DIR environment variable so that
+ the build-script chunk can place the generated files in that location.
\end_layout
\begin_layout Paragraph
\end_layout
\begin_layout Standard
-La dernière partie de l'interface entre LyX et noweb est le scrap
+La dernière partie de l'interface entre LyX et noweb est le
+\lang english
+chunk
+\lang french
+
\begin_inset Quotes fld
\end_inset
.
En général, les instructions de compilation de votre programme doivent
- être regroupées dans un scrap à part.
+ être regroupées dans un
+\lang english
+chunk
+\lang french
+ à part.
Le
\family typewriter
build-script
\family typewriter
notangle
\family default
- pour rechercher ce scrap (appelé
+ pour rechercher ce
+\lang english
+chunk
+\lang french
+ (appelé
\begin_inset Quotes fld
\end_inset
\end_layout
\begin_layout Standard
-Typiquement, un tel scrap ressemble à ceci :
+Typiquement, un tel
+\lang english
+chunk
+\lang french
+ ressemble à ceci :
\end_layout
\begin_layout LyX-Code
<<build-script>>=
-\begin_inset Newline newline
-\end_inset
+\end_layout
+\begin_layout LyX-Code
#!/bin/sh
\begin_inset Newline newline
\end_inset
-
-\begin_inset Newline newline
-\end_inset
-
if [ -z "${NOWEB_SOURCE}" ]
\begin_inset Newline newline
\end_inset
then
-\begin_inset Newline newline
-\end_inset
+\end_layout
- NOWEB_SOURCE=mon_fichier.nw
+\begin_layout LyX-Code
+NOWEB_SOURCE=myfile.nw
\begin_inset Newline newline
\end_inset
\end_inset
[...
- code pour extraire les fichiers ...]
+ code to extract files ...
+ use NOWEB_OUTPUT_DIR here ...]
\begin_inset Newline newline
\end_inset
[...
- code pour compiler les fichiers ...]
+ code to compile files ...]
\begin_inset Newline newline
\end_inset
\emph default
/examples/listerrors.lyx
\family default
- ou dans
+ ou dans
+\begin_inset Newline newline
+\end_inset
+
+
\family typewriter
\emph on
LIBDIR
Vous pouvez configurer ce qui concerne la Programmation Littéraire dans
l'onglet
\family sans
-Conversion
+Convertisseurs
\family default
de la fenêtre
\family sans
-Éditer\SpecialChar \menuseparator
+Outils\SpecialChar \menuseparator
Préférences
\family default
.
\family default
dans la fenêtre
\family sans
-Éditer\SpecialChar \menuseparator
+Outils\SpecialChar \menuseparator
Préférences\SpecialChar \menuseparator
-Helpers
+Gestion des fichiers\SpecialChar \menuseparator
+Formats de fichier
\family default
en changeant l'entrée
\family sans
-Edit
-\begin_inset space ~
-\end_inset
-
-Sources
+Éditeur
\family default
.
\end_layout
\family default
en réglant
\family sans
-Edit
-\begin_inset space ~
-\end_inset
-
-Sources
+Éditeur
\family default
sur :
\end_layout
-\begin_layout LyX-Code
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\family sans
echo "LYXCMD:monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
\end_layout
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
\begin_layout Standard
Ainsi, quand vous utilisez
\family typewriter
\family default
et
\family sans
-Scrap
+\lang english
+Chunk
\family default
+\lang french
.
Le dernier bouton est un raccourci vers la commande
\begin_inset Quotes fld
Personnellement, j'ai combiné les six raccourcis ci-dessus avec deux autres
: un pour
\family sans
-Visionner\SpecialChar \menuseparator
+Affichage\SpecialChar \menuseparator
Mise
\begin_inset space ~
\end_inset
\family default
et un autre pour
\family sans
-Visionner\SpecialChar \menuseparator
+Affichage\SpecialChar \menuseparator
DVI
\family default
.
\end_layout
\begin_layout LyX-Code
- Icon "layout Scrap"
+ Icon "layout Chunk"
\end_layout
\begin_layout LyX-Code
.
Une des choses qui ennuient nombre d'entre nous est la couleur du code
LaTeX.
- La couleur par défaut est le rouge, or les scraps utilisent la police LaTeX,
- et comme il y a beaucoup de scraps dans un document de programmation littéraire
-, vous en aurez sûrement marre de tout voir en rouge.
+ La couleur par défaut est le rouge, or les
+\lang english
+chunks
+\lang french
+ utilisent la police LaTeX, et comme il y a beaucoup de
+\lang english
+chunks
+\lang french
+ dans un document de programmation littéraire, vous en aurez sûrement marre
+ de tout voir en rouge.
Vous pouvez la changer dans l'onglet
\family sans
Apparence\SpecialChar \menuseparator
plus.
\end_layout
-\begin_layout Chapter
+\begin_layout Subsection
\lang english
-Special features
-\lang french
-
-\begin_inset CommandInset label
-LatexCommand label
-name "chap:Special-features"
-
-\end_inset
-
-
+LyX and knitr/Sweave
\end_layout
\begin_layout Standard
\lang english
-You can do everything with LyX that you can do with LaTeX.
- However, LyX cannot support every LaTeX feature directly.
- But you can always use TeX Code.
- This chapter shows you some more special things you might want to use.
- For other special things you can do with figures, tables, floats, boxes
- and notes, have a look at the
+Support for
+\family sans
+knitr
+\family default
+ and
+\family sans
+Sweave
+\family default
+ is documented in the
\emph on
-EmbeddedObjects
+knitr.lyx
\emph default
- manual.
+ example file and in the Sweave manual (menu
+\family sans
+Help\SpecialChar \menuseparator
+Specific Manuals
+\family default
+).
\end_layout
-\begin_layout Section
-MultiColonnes
+\begin_layout Chapter
+Fonctionnalités particulières
\end_layout
\begin_layout Standard
+Vous pouvez faire avec LyX tout ce que vous pouvez faire avec LaTeX.
+ Cependant, LyX ne peut inclure directement toutes les fonctionnalités de
+ LaTeX, mais vous pouvez toujours utiliser le code TeX; Ce chapitre vous
+ montre quelques points particuliers qui peuvent vous intéresser.
+ Pour d'autre fonctionnalités spécifiques concernant les figures, les tableaux,
+ les flottants, les boîtes et les notes, voyez le manuel des
+\emph on
+Objets insérés
+\emph default
+.
+\end_layout
-\lang english
-The aim for this section is to show how the LaTeX package
-\series bold
-multicol
-\series default
- can be used in a LyX document.
- LyX does not support the
-\series bold
-multicol
-\series default
- package natively yet, so you have to use some TeX code.
+\begin_layout Section
+Multi-colonnes
\end_layout
\begin_layout Standard
\lang english
-The
-\series bold
-multicol
-\series default
- package allows switching between one and multicolumn format on the same
- page.
- Footnotes are handled correctly, but will be placed at the bottom of the
- page and not under each column.
- Within the different columns you can use everyting, with the limitation
- that for floats you need to use the option
+This feature is independent of the option
\family sans
-Span colums
+Two-column document
\family default
- for each column.
-\end_layout
-
-\begin_layout Subsection
-Deux Colonnes
-\end_layout
+ in the document settings under
+\family sans
+Text Layout
+\family default
+.
+ If you want to have 2
+\begin_inset space ~
+\end_inset
-\begin_layout Standard
-Si vous voulez avoir deux colonnes dans votre texte, il faut pour insérer
+columns for the whole document, it is recommended to use the
+\family sans
+Two-column document
+\family default
+ option.
+ For all other cases use this feature.
\end_layout
\begin_layout Standard
+\lang english
+To use multiple text columns in your document, you have to load the module
+
+\family sans
+Multiple Columns
+\family default
+ (menu
+\family sans
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Modules
+\family default
+) and must have the LaTeX-package
\series bold
-
-\backslash
-begin{multicols}{2}
+multicol
+\series default
+ installed.
\end_layout
\begin_layout Standard
-en mode LaTeX à l'endroit où vous voulez démarrer la disposition en deux
- colonnes, et
-\end_layout
-\begin_layout Standard
+\lang english
+Footnotes within multiple columns will be placed at the bottom of the page
+ and not under each column.
+ Within the different columns you can use everything, with the limitation
+ that for floats you need to use the float option
+\family sans
+Span columns
+\family default
+.
+\end_layout
-\series bold
+\begin_layout Subsection
-\backslash
-end{multicols}
+\lang english
+Basics
\end_layout
\begin_layout Standard
-là où vous voulez qu'elle se termine.
- Comme ceci
-\begin_inset Foot
-status collapsed
-\begin_layout Plain Layout
-NdT : Les lecteurs anglophobes me pardonneront, mais je ne me lance pas
- à traduire des passages de Sherlock Holmes.
- :-) – of
-\end_layout
+\lang english
+If you want to have 2
+\begin_inset space ~
+\end_inset
+columns in your text, use the style
+\family sans
+Begin Multiple Columns
+\family default
+ where the columns should start.
+ The content of the style is the number of the columns, so in this case
+ use a
+\begin_inset Quotes eld
\end_inset
- :
+2
+\begin_inset Quotes erd
+\end_inset
+
+.
+ At the point where the columns should end use the style
+\family sans
+End Multiple Columns
+\family default
+ and keep it empty.
\end_layout
\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-begin{multicols}{2}
+\lang english
+Here is an example:
\end_layout
-\end_inset
-
-
+\begin_layout Begin Multiple Columns
+2
\end_layout
\begin_layout Standard
\series bold
\size small
+\lang english
The Adventure of the Empty House
\series default
\begin_layout Standard
\size small
+\lang english
It was in the spring of the year 1894 that all London was interested, and
the fashionable world dismayed, by the murder of the Honourable Ronald
Adair under most unusual and inexplicable circumstances.
only withdrawn upon the third of last month.
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-end{multicols}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Subsection
-Colonnes Multiples
-\end_layout
+\begin_layout End Multiple Columns
-\begin_layout Standard
-Le même schéma s'applique si vous voulez plus de deux colonnes.
- (Vous pouvez avoir plus de 3 colonnes si vous voulez, mais ça risque de
- ne pas être très agréable à regarder.)
\end_layout
\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-begin{multicols}{3}
-\end_layout
+\lang english
+Here is an example with 3
+\begin_inset space ~
\end_inset
+columns:
+\end_layout
+\begin_layout Begin Multiple Columns
+3
\end_layout
\begin_layout Standard
\size footnotesize
+\lang english
It can be imagined that my close intimacy with Sherlock Holmes had interested
me deeply in crime, and that after his disappearance I never failed to
read with care the various problems which came before the public.
as they were known to the public at the conclusion of the inquest.
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
+\begin_layout End Multiple Columns
-\begin_layout Plain Layout
+\end_layout
+\begin_layout Standard
-\backslash
-end{multicols}
-\end_layout
-
+\lang english
+You can have up to 10
+\begin_inset space ~
\end_inset
-
+columns if you want to, but that might not be very pleasant for the readers
+ of your document.
\end_layout
\begin_layout Standard
-Vous pouvez sans problème avoir plus de 3
-\begin_inset space ~
+\begin_inset Newpage newpage
\end_inset
-colonnes, si vous le voulez, mais ce n'est plus très agréable à lire.
+
\end_layout
\begin_layout Subsection
Vous pouvez même avoir des colonnes dans une colonne :
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-begin{multicols}{2}
-\end_layout
-
-\end_inset
-
-
+\begin_layout Begin Multiple Columns
+2
\end_layout
\begin_layout Standard
\size footnotesize
+\lang english
The Honourable Ronald Adair was the second son of the Earl of Maynooth,
at that time governor of one of the Australian colonies.
Adair's mother had returned from Australia to undergo the operation for
at 427 Park Lane.
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-begin{multicols}{2}
-\end_layout
-
-\end_inset
-
-
+\begin_layout Begin Multiple Columns
+2
\end_layout
\begin_layout Standard
\size footnotesize
+\lang english
The youth moved in the best society–had, so far as was known, no enemies
and no particular vices.
He had been engaged to Miss Edith Woodley, of Carstairs, but the engagement
on the night of March 30, 1894.
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-end{multicols}
-\end_layout
-
-\end_inset
-
+\begin_layout End Multiple Columns
\end_layout
\begin_layout Standard
\size footnotesize
+\lang english
Ronald Adair was fond of cards–playing continually, but never for such stakes
as would hurt him.
He was a member of the Baldwin, the Cavendish, and the Bagatelle card clubs.
So much for his recent history as it came out at the inquest.
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
+\begin_layout End Multiple Columns
-\begin_layout Plain Layout
+\end_layout
+\begin_layout Subsection
-\backslash
-end{multicols}
+\lang english
+Advanced Examples
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The examples in this section show some more special features of multiple
+ columns.
\end_layout
+\begin_layout Standard
+
+\lang english
+For more features of multiple columns, have a look at the documentation
+ of the LaTeX-package
+\series bold
+multicol
+\series default
+\lang french
+,
+\begin_inset CommandInset citation
+LatexCommand cite
+key "multicol"
+
\end_inset
+.
+\end_layout
+
+\begin_layout Subsubsection
+\lang english
+Preface
\end_layout
\begin_layout Standard
-Veuillez lire le
+
\lang english
-example file
-\family typewriter
-\lang french
- MultiColonnes.lyx
+To add a preface text for multiple columns, add the optional parameter
+\family sans
+Preface
+\family default
+ behind the number of columns in the
+\family sans
+ Begin Multiple Columns
\family default
- pour des exemples plus complexes avec l'espacement des colonnes et de l'en-tête
-, les lignes de séparation verticale, et plus encore.
+ style.
+ Write in there your preface.
+ An example with some preface text:
\end_layout
\begin_layout Standard
-\begin_inset Newpage newpage
+\begin_inset VSpace bigskip
\end_inset
\end_layout
-\begin_layout Section
-Paragraphes de forme inhabituelle
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
+\begin_layout Begin Multiple Columns
+2
+\begin_inset Argument post:1
+status open
\begin_layout Plain Layout
+\lang english
+And the story continues and continues and continues and continues\SpecialChar \ldots{}
-\backslash
-begin{sloppypar}
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset ERT
-status collapsed
-\begin_layout Plain Layout
+\size small
+\lang english
+On the evening of the crime, he returned from the club exactly at ten.
+ His mother and sister were out spending the evening with a relation.
+ The servant deposed that she heard him enter the front room on the second
+ floor, generally used as his sitting-room.
+ She had lit a fire there, and as it smoked she had opened the window.
+ No sound was heard from the room until eleven-twenty, the hour of the return
+ of Lady Maynooth and her daughter.
+ Desiring to say good-night, she attempted to enter her son's room.
+ The door was locked on the inside, and no answer could be got to their
+ cries and knocking.
+ Help was obtained, and the door forced.
+ The unfortunate young man was found lying near the table.
+ His head had been horribly mutilated by an expanding revolver bullet, but
+ no weapon of any sort was to be found in the room.
+\end_layout
+\begin_layout End Multiple Columns
-\backslash
-newdimen
-\backslash
-varunit
\end_layout
-\begin_layout Plain Layout
-
+\begin_layout Standard
-\backslash
-setlength{
-\backslash
-varunit}{4.5in}
+\lang english
+You can also use a section heading as the preface if you use a section command
+ as TeX Code.
+ For example the command
\end_layout
-\end_inset
+\begin_layout Standard
+\series bold
+\lang english
+\backslash
+subsection{subsection title}
\end_layout
\begin_layout Standard
-\noindent
+
+\lang english
+creates a subsection.
+ In this example the preface is a subsubsection:
+\end_layout
+
+\begin_layout Begin Multiple Columns
+2
+\begin_inset Argument post:1
+status open
+
+\begin_layout Plain Layout
+
+\lang english
\begin_inset ERT
status collapsed
\backslash
-parshape 19 0.45
-\backslash
-varunit 0.367
-\backslash
-varunit
+subsubsection{
\end_layout
-\begin_layout Plain Layout
+\end_inset
-0.40
-\backslash
-varunit 0.335
-\backslash
-varunit
-\end_layout
+This is a subsubsection heading as a preface
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-0.35
-\backslash
-varunit 0.328
-\backslash
-varunit
+}
\end_layout
-\begin_layout Plain Layout
-
-0.30
-\backslash
-varunit 0.335
-\backslash
-varunit
-\end_layout
+\end_inset
-\begin_layout Plain Layout
-0.25
-\backslash
-varunit 0.352
-\backslash
-varunit
\end_layout
-\begin_layout Plain Layout
+\end_inset
+
-0.20
-\backslash
-varunit 0.377
-\backslash
-varunit
\end_layout
-\begin_layout Plain Layout
+\begin_layout Standard
-0.15
-\backslash
-varunit 0.408
-\backslash
-varunit
+\size small
+\lang english
+A minute examination of the circumstances served only to make the case more
+ complex.
+ In the first place, no reason could be given why the young man should have
+ fastened the door upon the inside.
+ There was the possibility that the murderer had done this, and had afterwards
+ escaped by the window.
+ The drop was at least twenty feet, however, and a bed of crocuses in full
+ bloom lay beneath.
+ Neither the flowers nor the earth showed any sign of having been disturbed,
+ nor were there any marks upon the narrow strip of grass which separated
+ the house from the road.
+ Apparently, therefore, it was the young man himself who had fastened the
+ door.
+ But how did he come by his death? No one could have climbed up to the window
+ without leaving traces.
+ Suppose a man had fired through the window, he would indeed be a remarkable
+ shot who could with a revolver inflict so deadly a wound.
+ Again, Park Lane is a frequented thoroughfare; there is a cab stand within
+ a hundred yards of the house.
+ No one had heard a shot.
\end_layout
-\begin_layout Plain Layout
+\begin_layout End Multiple Columns
-0.10
-\backslash
-varunit 0.445
-\backslash
-varunit
\end_layout
-\begin_layout Plain Layout
+\begin_layout Standard
-0.05
-\backslash
-varunit 0.488
-\backslash
-varunit
-\end_layout
+\lang english
+If there is less vertical space than 6
+\begin_inset space ~
+\end_inset
-\begin_layout Plain Layout
+text lines is left on the page at the beginning of the multiple columns,
+ a page break will be inserted before the multiple columns.
+ Depending on the number of lines of the preface text, you might want to
+ change this space.
+ This is done by inserting the optional parameter
+\family sans
+Space before page break
+\family default
+ behind the preface.
+ There insert the amount of space like e.
+\begin_inset space \thinspace{}
+\end_inset
-0.00
-\backslash
-varunit 0.535
-\backslash
-varunit
-\end_layout
+g.
+\begin_inset space \space{}
+\end_inset
-\begin_layout Plain Layout
-0.05
-\backslash
-varunit 0.488
-\backslash
-varunit
-\end_layout
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Plain Layout
+5cm
+\begin_inset Quotes erd
+\end_inset
-0.10
-\backslash
-varunit 0.445
-\backslash
-varunit
-\end_layout
+.
+ In this example the space is set to 7
+\begin_inset space ~
+\end_inset
-\begin_layout Plain Layout
+text lines by using
+\begin_inset Quotes eld
+\end_inset
-0.15
-\backslash
-varunit 0.408
+7
\backslash
-varunit
-\end_layout
+baselineskip
+\begin_inset Quotes erd
+\end_inset
-\begin_layout Plain Layout
+ (where the command
+\series bold
-0.20
-\backslash
-varunit 0.377
\backslash
-varunit
+baselineskip
+\series default
+ needs to be inserted as TeX code):
\end_layout
+\begin_layout Begin Multiple Columns
+2
+\begin_inset Argument post:1
+status open
+
\begin_layout Plain Layout
-0.25
-\backslash
-varunit 0.352
-\backslash
-varunit
-\end_layout
+\lang english
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-0.30
-\backslash
-varunit 0.335
+
\backslash
-varunit
+subsubsection{
\end_layout
-\begin_layout Plain Layout
+\end_inset
-0.35
-\backslash
-varunit 0.328
-\backslash
-varunit
-\end_layout
+This is the sectioning command
+\begin_inset Newline newline
+\end_inset
-\begin_layout Plain Layout
+as a preface and
+\begin_inset Newline newline
+\end_inset
-0.40
-\backslash
-varunit 0.335
-\backslash
-varunit
-\end_layout
+with multiple text lines
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-0.45
-\backslash
-varunit 0.367
-\backslash
-varunit
+}
\end_layout
-\begin_layout Plain Layout
+\end_inset
+
\end_layout
\end_inset
-Il y a des fois où il faut en finir avec la tyrannie des paragraphes rectangulai
-res.
- Dans de telles situations, il faut recourir à la délicieuse commande TeX
-
-\family typewriter
+
+\begin_inset Argument post:2
+status open
+
+\begin_layout Plain Layout
+7
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
\backslash
-parshape
-\family default
-.
- Comme vous voyez, on peut construire des formes complètement arbitraires
- en déclarant un ensemble de longueurs de ligne.
- Cette forme de paragraphe peut sembler un peu idiote et sans utilité, mais
- on peut imaginer des situations, comme des lettrines finement ajustées,
- l'enrobage de graphiques non rectangulaires, etc.
- qui bénéficieraient d'une telle opération.
-
+baselineskip
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
\end_layout
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size small
+\lang english
+On the evening of the crime, he returned from the club exactly at ten.
+ His mother and sister were out spending the evening with a relation.
+ The servant deposed that she heard him enter the front room on the second
+ floor, generally used as his sitting-room.
+ She had lit a fire there, and as it smoked she had opened the window.
+ No sound was heard from the room until eleven-twenty, the hour of the return
+ of Lady Maynooth and her daughter.
+ Desiring to say good-night, she attempted to enter her son's room.
+ The door was locked on the inside, and no answer could be got to their
+ cries and knocking.
+ Help was obtained, and the door forced.
+ The unfortunate young man was found lying near the table.
+ His head had been horribly mutilated by an expanding revolver bullet, but
+ no weapon of any sort was to be found in the room.
+\end_layout
+
+\begin_layout End Multiple Columns
+
+\end_layout
+
+\begin_layout Subsubsection
+
+\lang english
+Surrounding Space
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The amount of space before and after multiple columns can be changed by
+ changing the length
+\series bold
+
+\backslash
+multicolsep
+\series default
+.
+ For example the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+
+\backslash
+setlength{
+\backslash
+multicolsep}{3cm}
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+in TeX Code changes its value to 3
+\begin_inset space \thinspace{}
+\end_inset
+
+cm.
+ The change must be made before the multiple columns' start.
+ The predefined value is 13
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+For this example
+\series bold
+
+\backslash
+multicolsep
+\series default
+ was set to 2.5
+\begin_inset space \thinspace{}
+\end_inset
+
+cm:
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+multicolsep}{2.5cm}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Begin Multiple Columns
+2
+\end_layout
+
+\begin_layout Standard
+
+\size small
+\lang english
+All day I turned these facts over in my mind, endeavouring to hit upon some
+ theory which could reconcile them all, and to find that line of least resistanc
+e which my poor friend had declared to be the starting-point of every investigat
+ion.
+ I confess that I made little progress.
+ In the evening I strolled across the Park, and found myself about six o'clock
+ at the Oxford Street end of Park Lane.
+ A group of loafers upon the pavements, all staring up at a particular window,
+ directed me to the house which I had come to see.
+ A tall, thin man with coloured glasses, whom I strongly suspected of being
+ a plain-clothes detective, was pointing out some theory of his own, while
+ the others crowded round to listen to what he said.
+ I got as near him as I could, but his observations seemed to me to be absurd,
+ so I withdrew again in some disgust.
+ As I did so I struck against an elderly, deformed man, who had been behind
+ me, and I knocked down several books which he was carrying.
+\end_layout
+
+\begin_layout End Multiple Columns
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\lang english
+Note:
+\series default
+ The values you set with
+\series bold
+
+\backslash
+setlength
+\series default
+ will be used for all following multiple columns until to change them again.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+multicolsep}{13pt}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+go back to the default
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsubsection
+
+\lang english
+Column Separation
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The width of the columns is automatically calculated, but you can modify
+ the space between the columns.
+ This is done by changing the length
+\series bold
+
+\backslash
+columnsep
+\series default
+.
+ Its predefined value is 10
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+ Here is an example where
+\series bold
+
+\backslash
+columnsep
+\series default
+ is set to 3
+\begin_inset space \thinspace{}
+\end_inset
+
+cm:
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+columnsep}{3cm}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Begin Multiple Columns
+2
+\end_layout
+
+\begin_layout Standard
+
+\size small
+\lang english
+My observations of No.
+\begin_inset space \space{}
+\end_inset
+
+427 Park Lane did little to clear up the problem in which I was interested.
+ The house was separated from the street by a low wall and railing, the
+ whole not more than five feet high.
+ It was perfectly easy, therefore, for anyone to get into the garden, but
+ the window was entirely inaccessible, since there was no water pipe or
+ anything which could help the most active man to climb it.
+ More puzzled than ever, I retraced my steps to Kensington.
+ I had not been in my study five minutes when the maid entered to say that
+ a person desired to see me.
+ To my astonishment it was none other than my strange old book collector,
+ his sharp, wizened face peering out from a frame of white hair, and his
+ precious volumes, a dozen of them at least, wedged under his right arm.
+\end_layout
+
+\begin_layout End Multiple Columns
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+columnsep}{10pt}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+go back to the default
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsubsection
+
+\lang english
+Vertical Lines
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Between the columns a rule with a width of the length
+\series bold
+
+\backslash
+columnseprule
+\series default
+ is placed.
+ If this rule width is set to 0
+\begin_inset space \thinspace{}
+\end_inset
+
+pt (this is the default), the rule is suppressed.
+ In the following example, the line separating the columns is 2
+\begin_inset space \thinspace{}
+\end_inset
+
+pt wide.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+columnseprule}{2pt}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Begin Multiple Columns
+2
+\end_layout
+
+\begin_layout Standard
+
+\size small
+\lang english
+\begin_inset Quotes eld
+\end_inset
+
+You're surprised to see me, sir,
+\begin_inset Quotes erd
+\end_inset
+
+ said he, in a strange, croaking voice.
+\end_layout
+
+\begin_layout Standard
+
+\size small
+\lang english
+I acknowledged that I was.
+\end_layout
+
+\begin_layout Standard
+
+\size small
+\lang english
+\begin_inset Quotes eld
+\end_inset
+
+Well, I've a conscience, sir, and when I chanced to see you go into this
+ house, as I came hobbling after you, I thought to myself, I'll just step
+ in and see that kind gentleman, and tell him that if I was a bit gruff
+ in my manner there was not any harm meant, and that I am much obliged to
+ him for picking up my books.
+\begin_inset Quotes erd
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size small
+\lang english
+\begin_inset Quotes eld
+\end_inset
+
+You make too much of a trifle,
+\begin_inset Quotes erd
+\end_inset
+
+ said I.
+
+\begin_inset Quotes eld
+\end_inset
+
+May I ask how you knew who I was?
+\begin_inset Quotes erd
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\size small
+\lang english
+\begin_inset Quotes eld
+\end_inset
+
+Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
+ you'll find my little bookshop at the corner of Church Street, and very
+ happy to see you, I am sure.
+ Maybe you collect yourself, sir.
+ Here's
+\noun on
+British
+\begin_inset space ~
+\end_inset
+
+Birds
+\noun default
+, and
+\noun on
+Catullus
+\noun default
+, and
+\noun on
+The Holy War
+\noun default
+--a bargain, every one of them.
+ With five volumes you could just fill that gap on that second shelf.
+ It looks untidy, does it not, sir?
+\begin_inset Quotes erd
+\end_inset
+
+
+\end_layout
+
+\begin_layout End Multiple Columns
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+columnseprule}{0pt}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+go back to the default
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Paragraphes de forme inhabituelle
+\end_layout
+
+\begin_layout Standard
+\noindent
+
+\lang english
+LaTeX as well as any other text processor uses by default rectangular paragraphs.
+ For special cases like for example posters, invitation cards or poems you
+ can modify the paragraph shape to one of your choice.
+ This can be done by using the LaTeX-package
+\series bold
+shapepar
+\series default
+ which is loaded by using in the document settings the module
+\family sans
+Custom paragraph shapes
+\family default
+.
+\end_layout
+
+\begin_layout Subsection
+
+\lang english
+Predefined shapes
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+shapepar
+\series default
+ provides the following shapes:
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\begin_inset Tabular
+<lyxtabular version="3" rows="13" columns="3">
+<features rotate="0" booktabs="true" islongtable="true" longtabularalignment="center">
+<column alignment="center" valignment="middle" width="16col%">
+<column alignment="center" valignment="middle" width="40col%">
+<column alignment="center" valignment="middle" width="35col%">
+<row endhead="true">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Name
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Description
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Annotation
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+CDlabel
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Circle with circular hole (in the size of a CD/DVD)
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Cannot be scaled, take care there is not too much text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Circle
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Circle
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Fragile, calculation might fail
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Diamond
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Rhomboid (symbolizing a
+\begin_inset Quotes eld
+\end_inset
+
+diamond
+\begin_inset Quotes erd
+\end_inset
+
+)
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Heart
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Heart-like shape
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Hexagon
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Hexagon
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Nut
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Nut for bolt (hexagon with circular hole)
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Square
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Square
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Star
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Five-point star
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Candle
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Burning candle
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Drop down/up
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Normal/reversed rain drop
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Fragile, calculation might fail
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+TeX
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+The TeX logo
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Triangle up/down/
+\begin_inset Newline newline
+\end_inset
+
+left/right
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+Triangles in different orientations
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\lang english
+-
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+To use a shape for your paragraph, simply select it in LyX's pull-down box
+ for environments in the toolbar.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Here is an example paragraph in the shape of a nut:
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Nut
+
+\lang latin
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\lang english
+Note
+\series default
+: shapepar paragraphs cannot run over a page break.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+shapepar
+\series default
+ takes care that the shape will always be preserved, no matter how much
+ text is in the paragraph.
+ Therefore the paragraph size changes with the amount of contained text.
+ This can lead to paragraph sizes exceeding the page margins.
+ To demonstrate the size scaling, here is the same example paragraph but
+ with twice as much text:
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Nut
+
+\lang latin
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+An exception is the shape
+\family sans
+CDlabel
+\family default
+.
+ It cannot be scaled because it must fit the size of a CD/DVD.
+ Therefore the amount of text that fits into the shape is limited.
+\begin_inset Newline newline
+\end_inset
+
+The
+\family sans
+drop
+\family default
+ shapes and the
+\family sans
+circle
+\family default
+ shape are fragile, meaning that the calculation of their size can fail,
+ depending on the amount of text.
+ You will then get the LaTeX error
+\begin_inset Quotes eld
+\end_inset
+
+Arithmetic overflow
+\begin_inset Quotes erd
+\end_inset
+
+.
+ In this case one can try to remove or add some text; if nothing works one
+ has to use another shape.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+For shapes with tips you will maybe see that LaTeX's hyphenation routine
+ fails for text in the tips.
+ Therefore it is often necessary to add hyphenation points
+\family sans
+(
+\begin_inset Info
+type "shortcut"
+arg "specialchar-insert hyphenation"
+\end_inset
+
+
+\family default
+) to the corresponding text parts.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Shapepar paragraphs are either always centered or placed on the page so
+ that their left border touches the left page margin.
+ You can therefore not use the paragraph dialog to align such paragraphs.
+ A solution is to put the paragraph into a minipage or parbox and align
+ the box.
+ The problem is hereby to find the right width for the box.
+ Because if it is too wide and you center the box, the paragraph is not
+ centered too because it sticks at the left side of the box.
+ So you might have to play a bit with the width until it fits.
+ Here are two heart-shaped paragraphs, the first one is not aligned, the
+ second one is right-aligned:
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Heart
+\noindent
+
+\lang latin
+Lo\SpecialChar \-
+rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align right
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 1
+use_makebox 0
+width "42col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+\begin_layout Heart
+\noindent
+
+\lang latin
+Lo\SpecialChar \-
+rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+
+\lang english
+Custom shapes
+\end_layout
+
\begin_layout Standard
-La syntaxe est
-\family typewriter
-\backslash
-parshape nombre_lignes #1indentation #1longueur #2indentation #2longueur
- \SpecialChar \ldots{}
- #nindentation #nlongueur
+\lang english
+You can define any shape you want.
+ Doing this manually is a lot of work because every coordinate must be specified.
+ But there is a way to let the computer calculate the coordinates:
+\end_layout
+
+\begin_layout Enumerate
+
+\lang english
+Install the program
+\lang french
+
+\begin_inset CommandInset href
+LatexCommand href
+name "Jpgfdraw"
+target "http://www.ctan.org/tex-archive/graphics/jpgfdraw"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Enumerate
+
+\lang english
+In
+\family sans
+Jpgfdraw
\family default
-, où
-\family typewriter
-nombre_lignes
+ go to the menu
+\family sans
+Te
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+{}
+\end_layout
+
+\end_inset
+
+X/LaT
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+{}
+\end_layout
+
+\end_inset
+
+eX\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Set Normal Size
\family default
- est le nombre de lignes du texte qui définit le paragraphe.
- S'il n'y a pas assez de lignes, la forme est tronquée ; s'il y en a trop,
- les lignes en surplus ont les mêmes dimensions que la dernière ligne ainsi
- définie.
- Les entrées
-\family typewriter
-#nindentation
+ and select the font size you are using in your document.
+ For example this document uses the size 12
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+\end_layout
+
+\begin_layout Enumerate
+
+\lang english
+Draw a shape.
+\end_layout
+
+\begin_layout Enumerate
+
+\lang english
+Use the menu
+\family sans
+Te
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+{}
+\end_layout
+
+\end_inset
+
+X/LaT
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+{}
+\end_layout
+
+\end_inset
+
+eX\SpecialChar \menuseparator
+Shapepar
\family default
- et
-\family typewriter
-#nlongueur
+ to export the shape to coordinates.
+ In the appearing dialog use either the outline of your shape for the coordinate
+s or the path itself.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+For more information see
+\begin_inset CommandInset href
+LatexCommand href
+target "http://www.dickimaw-books.com/apps/jpgfdraw/manual/shapepar.html"
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The coordinates are written into a TeX-file.
+ To use it for your LyX document
+\end_layout
+
+\begin_layout Enumerate
+
+\lang english
+Place the cursor before the first character of your paragraph (or into a
+ new empty one).
+\end_layout
+
+\begin_layout Enumerate
+
+\lang english
+Open in LyX the menu
+\family sans
+Insert\SpecialChar \menuseparator
+File\SpecialChar \menuseparator
+Child
+\begin_inset space ~
+\end_inset
+
+Document
+\family default
+, select the file and use
+\family sans
+Input
\family default
- spécifient l'indentation de la ligne à compter de la marge de gauche, et
- la longueur de la ligne à partir de ce point.
- La forme ne s'applique qu'au paragraphe en cours ; tout est remis à la
- normale pour le paragraphe suivant.
+ as
+\family sans
+Include Type.
\end_layout
\begin_layout Standard
-\begin_inset ERT
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\lang english
+Note
+\series default
+: The changed shape only applies to the current paragraph; everything is
+ reset to normal for the next paragraph.
+ Therefore the shape definition file must be input into every paragraph
+ with the desired shape.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Here is an example:
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset CommandInset include
+LatexCommand input
+filename "../SpecialParagraphShape.tex"
+
+\end_inset
+
+
+\lang latin
+Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+ At vero eos et accusam et justo duo dolores et ea rebum.
+ Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
+ sit amet.
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
+ eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
+ voluptua.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+A tip:
+\series default
+ to draw complexer shapes in
+\family sans
+Jpgfdraw
+\family default
+ you can draw the shape in a program of your choice and import the resulting
+ image to
+\family sans
+Jpgfdraw
+\family default
+.
+ Then you only need to draw a line or spline along the outline of the image.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The module
+\family sans
+Custom paragraph shapes
+\family default
+ also provides the two commands
+\family sans
+shapepar
+\family default
+ and
+\family sans
+Shapepar
+\family default
+ which can be used to define custom shapes coordinate by coordinate.
+\begin_inset Foot
status collapsed
\begin_layout Plain Layout
+\lang english
+These commands are internally used for all shapes described here.
+\end_layout
+
+\end_inset
+
+ For information how these styles are used and about further customization
+ possibilities, have a look at the documentation of the package
+\series bold
+\lang french
+shapepar
+\series default
+,
+\begin_inset CommandInset citation
+LatexCommand cite
+key "shapepar"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "multicol"
+
+\end_inset
+
+Documentation du paquetage LaTeX
+\begin_inset CommandInset href
+LatexCommand href
+name "multicol"
+target "http://mirror.ctan.org/macros/latex/required/tools/multicol.pdf"
+
+\end_inset
+
-\backslash
-end{sloppypar}
\end_layout
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "shapepar"
+
+\end_inset
+
+Documentation du paquetage LaTeX
+\begin_inset CommandInset href
+LatexCommand href
+name "shapepar"
+target "http://mirrors.ctan.org/macros/latex/contrib/shapepar/shapepar.pdf"
+
\end_inset