X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Flettre.layout;h=4908fb33e3033e94e06540ea468e75fc7c3e2081;hb=fb225b26f1a080ff999e8f7f7733961a6aeb7d10;hp=6c9844d37fbfb0857689ac28ce7a4f720c3009b2;hpb=eaf7c6c6ebfb89c644d76ea9fb6afdd9f2256035;p=lyx.git diff --git a/lib/layouts/lettre.layout b/lib/layouts/lettre.layout index 6c9844d37f..4908fb33e3 100644 --- a/lib/layouts/lettre.layout +++ b/lib/layouts/lettre.layout @@ -1,5 +1,6 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass{letter (lettre)} +# \DeclareLaTeXClass{French Letter (lettre)} +# \DeclareCategory{Letters} # French Letter textclass definition file. # Author : Alain Castera # Modifies only some things from letter.layout @@ -24,7 +25,7 @@ # - ordering control left at the beginning (any other way ?) -Format 29 +Format 48 #(pre)declarations (just to impose some order on the menus) Style Standard @@ -126,12 +127,17 @@ Preamble \fi % if needSendFax } %findemessage +% to get the specified pagesize +% (workaround for an a4paper/lettre problem in pdf mode) +\@ifpackageloaded{ifpdf}{}{\usepackage{ifpdf}} +\ifpdf\input pdftexconfig.tex\fi + EndPreamble # My Address style used to specify sender name and coordinates Style My_Address CopyStyle My_Address - Category Headings + Category "Postal Data" Margin Static LatexType Command LatexName MyAddress