-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/09/10 13:20, Graham Smith wrote:
> Liviu
>
>> Have you tried to use \SweaveOpts{echo=T} for the with_code document,
>> and 'echo=F' for the document with no code? You can also use this
>> option on specific chunks as follows
>> <<echo=F>>=
>> @
>
> I have used this in specific chunks but it isn't practical for a full
> report.
Well - you could open the LyX document in a text editor, and do a
search-replace, so that all chunks have the same option? Also something
I did in the past.
> Howver, I haven't tried it as an option in the pre-amble. I
> will give it a go.
If I remember correctly, I tried to set it in the preamble, but it was
overwritten again - so I put it into an ert block at the beginning of
the document and it was working.
Cheers,
Rainer
>
> Thanks,
>
> Graham
>
- --
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)
Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa
Tel: +33 - (0)9 53 10 27 44
Cell: +27 - (0)8 39 47 90 42
Fax (SA): +27 - (0)8 65 16 27 82
Fax (D) : +49 - (0)3 21 21 25 22 44
Fax (FR): +33 - (0)9 58 10 27 44
email: [email protected]
Skype: RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkyKFEEACgkQoYgNqgF2egr85ACcCG9Xp1QuFD3ay2UNqsbUKDJr
SY0AnRyVLmg39KKNwaH10c6ivI+s218z
=LIkk
-----END PGP SIGNATURE-----