< > I have tried to use Sweave within LyX* and found two ways to accomplish
> for those who didn't get the attachments. LyX looks actually much
> better and stable then when I last had a look a couple of years ago.
Well, I am satisfied with it, actaully I wrote my graduation thesis in it and it was much, much more stable than let's say MS Word. Of course one does not need to know much about LaTeX.
>> To add to the discussion: One might even get better integration >> between Sweave and LyX because LyX allows specification of file >> converters: > Edit->Preferences->Converters > Edit->Preferences->File Formats
> After registering .Stex as a file format for Sweave I can import .Stex
> files using conversion command
> reLyX -f $$i && mv $$i.lyx $$o
> and the move is necessary only because reLyX produces foo.Stex.lyx
> rather then foo.lyx.
> Using an Sweave shell script like Gregor's in combination with
> "lyx -e latex" might do the trick to have direct conversion to PDF
> from the LyX GUI.
Note that this is not the only possible way. As I showed, the other one i.e. noweb mode in LyX (look in file SweaveNoweb.lyx and its PDF at URL above) can deal with Sweave in all ways i.e. export or view to any supported formats by LyX.
This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:34:03 EST