Hello,

I discovered a bug in the recent lettre.layout file that I proposed for
integration in 1.6.8.

Command
\input pdftexconfig.tex
(introduced to make option a4paper work with lettre.cls) triggers a failure in
plain latex mode, because the pdf file is created instead of the dvi one:
the viewer fails because the dvi file is not created.
The layout works fine in pdf mode.

Here is a patch:

--- lib/layouts/lettre.layout.orig      2010-11-20 08:52:53.000000000 +0100
+++ lib/layouts/lettre.layout   2010-11-20 08:59:39.000000000 +0100
@@ -126,8 +126,10 @@
     \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

--
Jean-Pierre


Reply via email to