Héllo,
Like Maria, I've got problem with custom LyX layout files converted from 1.3
to 1.4
I have a layout file for the class lettre (French letter) that I attach that
does not work in 1.4. Adding Include numarticle.inc in the layout file does
not solve the problem.
LyX 1.4 on a .lyx with custom layouts file from 1.3 is also causing
problems. When you try to open help, LyX explains that it cannot find the
book class. Erasing the .lyx/layouts/ solbve the problem
Cheers,
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 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