Le 09/12/2009 16:51, Rob Oakes a écrit :
Dear LyX-Developers,
As a follow-up to my earlier email about the sweave module in SVN, I
have created a patch that addresses two concerns. First, I have
specified the “noae” option by default. This prevents Sweave.sty from
loading the fontenc and ae packages by default. Making this change
allows for this sweave module to be used with pdflatex and xelatex
successfully. It also allows for any of the system fonts to be used when
compiling with xetex.
This part is fine, because we do not want these automatically loaded
packages.
Second, I noticed a to-do in the layout in regards to setting the width
of plots. I have added this code in an “AddToPreamble” block. I have
also updated the description so it explains these two additions.
For this one, I'd prefer a flex inset with
LatexCommand "setkeys"
LatexOption "{Gin}"
in which one could enter "width=\textwidth". The name could be
graphics options. It would be even better to support this
natively in LyX (we have a dialog that could do that), but this
is more work.
JMarc