T. EDOUARD wrote: > Bonjour, > > Je souhaite installer le paquetage "lettre" de l'observatoire de Gen�ve > sur mon installation (linux, debian) > Dans quel r�pertoire dois-je installer les fichiers "lettre.cls" et > "default.ins" > > Plus generalement ou puis-je trouver des explications sur l'installation > des paquetages et autres pour lyx. > > Tout eclaircissement sera le bienvenu. > > Merci
Pour Debian, c'est tr�s simple il suffit d'installer le paquet tetex-frogg
qui comporte la classe lettre.
Pour l'adaptation � LyX,vous pouvez utiliser les fichiers attach�s
(lettre.layout stdlettre.inc) de Yann Mor�re modifi�s par moi � placer dans
votre r�pertoire home dans .lyx/layouts/
Le mod�le (lettre.lyx) attach� de Yann Mor�re peut aussi se placer
dans .lyx/templates/
I faudrait le modifier pour utiliser ses coordonn�es sous la forme de la
classe lettre (cf. la documentation). C'est-�-dire les placer dans un
fichier Monadresse.ins et dans la lettre en ERT faire
\institut{Monadresse}.
Attention, Monadresse.ins doit se trouver dans le m�me r�pertoire que le
fichier lyx de votre lettre
Les limitations du layout LyX par rapport � la classe lettre sont les
suivantes :
- une seule lettre par fichier. Si vous voulez faire un mailing, faites le
directement en latex
- on ne peut pas cr�er les �tiquettes pour les enveloppes
Charles
--
http://www.kde-france.org#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass{lettre}
# Lettre textclass definition file.
# Adapt� de letter.layout par N. Hathout (2 f�vrier 2001)
# Author : Matthias Ettrich <[EMAIL PROTECTED]>
# Heavily modifed and enhanced by serveral developers.
# Input general definitions
Input stdlettre.inc
Input stdlists.inc
Input stdlayout.inc
Input lyxmacros.inc
# Remove some unwanted styles.
#NoStyle Right_Address
#NoStyle Address
lettre.lyx
Description: application/lyx
# Lettre textclass definition file.
# Adapt� de stdletter.inc par N. Hathout (2 f�vrier 2001)
# Modifi� par Yann Mor�re (13 fev 2001) Charles de Miramon (20/11/2003)
# Author : Matthias Ettrich <[EMAIL PROTECTED]>
# Heavily modifed and enhanced by several developers.
# General textclass parameters
Columns 1
Sides 1
PageStyle Empty
# This is just to show how to declare the default font.
# The defaults are exactly those shown here.
DefaultFont
Family Roman
Series Medium
Shape Up
Size Normal
Color None
EndFont
# Standard style definition
Style Standard
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
# DestinataireSend_To_Address style definition
#Style Send_To_Address
Style Destinataire
# Margin Static
# Margin Right_Address_Box
Latextype Command
LatexName begin
LatexParam {letter}
#Ugly hack!
Preamble
\AtEndDocument{\end{letter}}
EndPreamble
KeepEmpty 1
ParSkip 0.4
BottomSep 1.5
ParSep 1.5
Align Right
# AlignPossible Block, Left, Right, Center
LabelType No_Label
End
# Expediteur My Address style
#Style My_Address
Style Expediteur
Margin Static
# Margin Right_Address_Box
LatexType Command
LatexName address
ParSkip 0.4
BottomSep 1.5
ParSep 1.5
Align Left
AlignPossible Left
End
# Telephone style definition
Style Telephone
Margin Static
LatexType Command
LatexName telephone
LeftMargin Signature:xx
LabelSep xx
TopSep 0.4
BottomSep 0.4
ParSep 0.4
Align Block
AlignPossible Block, Left
LabelType Static
LabelString T�l�phone:
# Spacing Other 1.5
End
# Fax style definition
Style Fax
Margin Static
LatexType Command
LatexName fax
LeftMargin Signature::xx
LabelSep xx
TopSep 0.4
BottomSep 0.4
ParSep 0.4
Align Block
AlignPossible Block, Left
LabelType Static
LabelString Fax:
# Spacing Other 1.5
End
# Email style definition
Style Email
Margin Static
LatexType Command
LatexName email
LeftMargin Signature::xx
LabelSep xx
TopSep 0.4
BottomSep 0.4
ParSep 0.4
Align Block
AlignPossible Block, Left
LabelType Static
LabelString Email:
# Spacing Other 1.5
End
# Lieu style definition
Style Lieu
Margin Static
LatexType Command
LatexName lieu
LeftMargin Signature::xx
LabelSep xx
TopSep 0.4
BottomSep 0.4
ParSep 0.4
Align Block
AlignPossible Block, Left
LabelType Static
LabelString Lieu:
# Spacing Other 1.5
End
# Vref style definition
Style Vref
Margin Static
LatexType Command
LatexName vref
LeftMargin Signature::xx
LabelSep xx
TopSep 0.4
BottomSep 0.4
ParSep 0.4
Align Block
AlignPossible Block, Left
LabelType Static
LabelString Vref:
Spacing Other 1.5
End
# Nref style definition
Style Nref
Margin Static
LatexType Command
LatexName nref
LeftMargin Signature::xx
LabelSep xx
TopSep 0.4
BottomSep 0.4
ParSep 0.4
Align Block
AlignPossible Block, Left
LabelType Static
LabelString Nref:
Spacing Other 1.5
End
# Sujet style definition
Style Objet
Margin Static
LatexType Command
LatexName conc
LeftMargin Signature::xx
LabelSep xx
TopSep 0.4
BottomSep 0.4
ParSep 0.4
Align Block
AlignPossible Block, Left
LabelType Static
LabelString Objet:
Spacing Other 1.5
# label font definition
LabelFont
Series Bold
Shape Italic
# Latex Latex
EndFont
End
# Opening style definition
Style Opening
Margin Static
LatexType Command
LatexName opening
KeepEmpty 1
LeftMargin Signature::xx
LabelSep xx
TopSep 0.4
BottomSep 0.4
ParSep 0.4
Align Block
AlignPossible Block, Left
LabelType Static
LabelString Ouverture:
# label font definition
LabelFont
Series Bold
Shape Italic
# Latex Latex
EndFont
End
# Signature style definition
Style Signature
Margin Static
LatexType Command
LatexName signature
LeftMargin Signature::xx
LabelSep xx
TopSep 0.4
BottomSep 0.4
ParSep 0.4
Align Block
AlignPossible Block, Left
LabelType Static
LabelString Signature:
# label font definition
LabelFont
Series Bold
Shape Italic
# Latex Latex
EndFont
End
# Closing style definition
Style Closing
Margin Static
LatexType Command
LatexName closing
LeftMargin Signature::xx
LabelSep xx
TopSep 0.4
BottomSep 0.4
ParSep 0.4
Align Block
AlignPossible Block, Left
LabelType Static
LabelString Fermeture:
# label font definition
LabelFont
Series Bold
Shape Italic
# Latex Latex
EndFont
End
# cc style definition
Style cc
Margin Static
LatexType Command
LatexName cc
LeftMargin cc:xx
LabelSep xx
TopSep 0.4
BottomSep 0.4
ParSep 0.4
Align Block
AlignPossible Block, Left
LabelType Static
LabelString cc:
End
# encl style definition
Style encl
Margin Static
LatexType Command
LatexName encl
LeftMargin encl:xx
LabelSep xx
TopSep 0.4
BottomSep 0.4
ParSep 0.4
Align Block
AlignPossible Block, Left
LabelType Static
LabelString encl:
Spacing Other 1.5
End
