diff --git a/lib/layouts/lettre.layout b/lib/layouts/lettre.layout index 3404672553..05a50fd640 100644 --- a/lib/layouts/lettre.layout +++ b/lib/layouts/lettre.layout @@ -126,8 +126,10 @@ Preamble \fi % if needSendFax } %findemessage -% to get the specified pagesize (workaround for a lettre problem) -\input pdftexconfig.tex +% to get the specified pagesize +% (workaround for an a4paper/lettre problem in pdf mode) +\@ifpackageloaded{ifpdf}{}{\usepackage{ifpdf}} +\ifpdf\input pdftexconfig.tex\fi EndPreamble