[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-fr
Subject:    Re: installation paquetage "lettre" de l'observatoire de geneve
From:       Charles de Miramon <cmiramon () kde-france ! org>
Date:       2005-04-11 9:11:05
Message-ID: d3decc$939$1 () sea ! gmane ! org
[Download RAW message or body]

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
["lettre.layout" (text/plain)]

#% 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 <ettrich@informatik.uni-tuebingen.de>
# 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" (application/x-lyx)]
["stdlettre.inc" (text/plain)]

# 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 <ettrich@informatik.uni-tuebingen.de>
# 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic