Jürgen Spitzmüller a écrit :
I'm fine with the patch, since at least it removes a rather ungly workaround.
But I'm waiting if there is some feedback from the letter author.
In order to make things clear to him, I need to understand what is the logic
behind the lines added by LyX, either
"\\special{papersize=\\the\\paperwidth,\\the\\paperheight}\n";
or
"\\pdfpageheight\\paperheight\n"
"\\pdfpagewidth\\paperwidth\n";
The origin of the workaround is that with pdflatex, the latter commands lead to
a document not un A4 format:
Page size: 524.409 x 814.006 pts
instead of:
Page size: 595.276 x 841.89 pts (A4)
If I remove these two lines in the pdflatex export of the document, A4 is
obtained all right.
--
Jean-Pierre