Re: Professional and Scientific Writing Book

2009-11-03 Thread Graham M Smith
Rob But are there other things that you would like to see? The standard LyX documentation is so good that I've found myself struggling to find other topics that need to be covered, other than a tremendously quick overview of the program and instructions on where to find the docs. I wonder if

Re: Professional and Scientific Writing Book

2009-11-04 Thread Graham M Smith
In addition, I'd really like some instructions/examples on how to create business like documents. When I've tried, I've found it difficult and annoying to try to get the appearance the way the company wants it. (With logos, lines and legaleese..). So tips and instructions on that would

Lattice library and sweave

2009-11-26 Thread Graham M Smith
Should the lattice library work with Lyx? Ubuntu 9.04, Lyx 1.6.2, R 2.10 with latest version of lattice. It seems to compile OK, but although the code appears I get no plot. fig=T,echo=T= library(lattice) xyplot(light.trans~simpson) @ Anyone any ideas? Thanks, Graham -- -- Graham M Smith

Re: Lattice library and sweave

2009-11-26 Thread Graham M Smith
Actually, I now realise I had this problem before and it was solved by changing the encoding to UTF8, but its not working this time. Graham Graham M Smith wrote: Should the lattice library work with Lyx? Ubuntu 9.04, Lyx 1.6.2, R 2.10 with latest version of lattice. It seems to compile OK

Re: Lattice library and sweave

2009-11-26 Thread Graham M Smith
OK, with help from Mateo, you need to add a print command as below: fig=T,echo=T= library(lattice) print(xyplot(light.trans~simpson)) @ Graham Graham M Smith wrote: Actually, I now realise I had this problem before and it was solved by changing the encoding to UTF8, but its not working

Re: [LyX] Lattice library and sweave

2009-11-26 Thread Graham M Smith
Kevin, As you will now have seen, problem was solved. Thanks, Graham Kevin Middleton wrote: Wrap the xyplot line in an explicit print() statement: print(xyplot(light.trans~simpson)) On Nov 26, 2009, at 8:53 AM, Graham M Smith wrote: Should the lattice library work with Lyx

adding appendix before Bibliography

2009-12-04 Thread Graham M Smith
to have these commands wrapped in an appendix box, but I can't work out how to do this. I would appreciate some help. Thanks, Graham -- -- Graham M Smith graham.sm...@myotis.co.uk

Re: adding appendix before Bibliography

2009-12-04 Thread Graham M Smith
OK, The appendix box was a red herring as this wasn't what I wanted and removing [titletoc] from the load package line seems to let it work. Graham Graham M Smith wrote: After searching the forum I have downloaded a sample file illustrating using the appendix package. I want the appendices

Sweave - R command line running off edge of page

2009-12-05 Thread Graham M Smith
the line runs off the edge of the page and the single ctrl+return I can see, prints out as \n rather than wrapping the text. As always, I could do with some suggestions as to how to fix this. Graham -- -- Graham M Smith graham.sm...@myotis.co.uk

Re: Sweave - R command line running off edge of page

2009-12-06 Thread Graham M Smith
Graham Graham M Smith wrote: I have an Sweave/lyx document with a long line of code . As an article (noweb), ctrl+return allows me to break up the code and allow it to fit the page and still work as code. I have pasted the text from the article class file into a new file that uses the book class

organisation as author not cited properly

2009-12-07 Thread Graham M Smith
I have a bibtex file created in Jabref The entry in the author field is {R Development Core Team} but Lyx is citing it as Team (2009). As I understand it, the curly brackets around the name should stop the contents being parsed like this. Can I fix this. Graham -- -- Graham M Smith

Re: organisation as author not cited properly

2009-12-07 Thread Graham M Smith
. Thanks, Graham -- -- Graham M Smith graham.sm...@myotis.co.uk

Optimising PDF file size - graphics management

2009-12-19 Thread Graham M Smith
-- -- Graham M Smith

Re: Optimising PDF file size - graphics management

2009-12-19 Thread Graham M Smith
Paul A suggestion Graham: try to produce vectorial graphics with R (and not screen-shots); this will reduce the size of your graphics and improve dramatically their quality. Mmmm, yes :-) Except, I am only using screen grabs when I need to illustrate what the screen looks like. Looking at

Re: Optimising PDF file size - graphics management

2009-12-19 Thread Graham M Smith
José Matos Except, I am only using screen grabs when I need to illustrate what the screen looks like. Looking at my original post I should probably have had a comma after screen grabs. With screen grab do you mean a screen shot of R's output? No, when I said that I need to illustrate

Beamer background image on one slide only

2009-12-20 Thread Graham M Smith
this is one of those things that is easy to do, just difficult to find. Thanks, Graham -- -- Graham M Smith

Re: Beamer background image on one slide only

2009-12-20 Thread Graham M Smith
, but is there a better way? Graham Graham M Smith wrote: Using an ERT box I can add a background image to Beamer presentation with \usebackgroundtemplate{\includegraphics[width=\paperwidth] {/home/graham/Dropbox/Lectures/R-Intro/Images/Moon.png}} But this adds it to every slide, and I only want

Re: Sweave with Beamer and Koma Script book

2009-06-20 Thread Graham M Smith
Jean-Marc Lasgouttes wrote: Le 20 juin 09 à 12:02, Graham Smith a écrit : Showing my ignorance of how all this works, but how do you get Sweave to work with Beamer and the Koma Script book class? There is a Sweave module that has been posted to lyx-devel (I do not have it at hand) and that is

changing margins in article class when using Beamer

2009-08-11 Thread Graham M Smith
I'm using Beamer, and producing a presentation handout by switching to the beamer article class, which defaults to wide margins. If I change the margins in documents settings, this then prevents the beamer slides being produced (I get a compile error). I assume I can put something in the

Re: changing margins in article class when using Beamer

2009-08-11 Thread Graham M Smith
rh If you can find some macro that is defined in this case, but not in the other case, then all you need is: \ifx\thatmacro\undefined\relax\else your stuff here \fi I don't know what \thatmacro might be, though. Thanks, but unfortunately, this doesn't mean very much to

Re: changing margins in article class when using Beamer

2009-08-12 Thread Graham M Smith
Paul Any particular reason you are switching to the article class for handouts, as opposed to using the handout option in the class options field? Mmmm, I'm not switching to the article class, I'm switching to the article (Beamer) class. I realise now that I described this as beamer article

Re: changing margins in article class when using Beamer

2009-08-12 Thread Graham M Smith
Paul That's ok, I understood what you meant -- just not why you did it. I don't use article (Beamer), but my impression is that it's purpose is to facilitate turning a slideshow into a paper (either after the fact or in parallel development). I don't think it's really intended to

Re: changing margins in article class when using Beamer

2009-08-13 Thread Graham M Smith
Pau lI thank you for bringing the beamer(article) to my attention. That is very handy for me as well. I can see that if I insert some branches, then I can really customize which material is included in the article output. Nice! Yes, its a superb capability, I was also hoping to use the

Re: changing margins in article class when using Beamer

2009-08-13 Thread Graham M Smith
Paul Well, I have something to propose. I still have no idea how you managed to change margins before (it should have been grayed out), unless maybe you're on an older version of LyX. Since I could not change margins, I could not reproduce your results. If you are using 1.6.x, though, I

Re: changing margins in article class when using Beamer

2009-08-13 Thread Graham M Smith
Jürgen Graham M Smith wrote: After changing to Beamer(article) class. I used the Document Settings|Page Margins tab I unticked the default and changed the margin sizes. I was hoping that Lyx would magically remember this was just the default for the Beamer (article) bit, but it also took

Re: changing margins in article class when using Beamer

2009-08-13 Thread Graham M Smith
Paul I'm using 1.6.2, on Ubuntu 9.04 and none of the margin/page controls are greyed out, so I can already adjust paper type/size and margins in article (beamer) as in any article. It was just that these then needed set back to default when switching back t Beamer. Strange isn't it.

Re: How many use Linux: was[LyX] explicit mail subject

2009-09-11 Thread Graham M Smith
Paul A. Rubin wrote: Steve Litt wrote: On Friday 11 September 2009 09:58:04 Murray Eisenberg wrote: But only a fraction of folks use Unix/Linux! I've always assumed that fraction was about 4/5 but never examined that assumption. Does anyone know the percentages of LyX users on: Linux

Re: Professional and Scientific Writing Book

2009-11-03 Thread Graham M Smith
Rob But are there other things that you would like to see? The standard LyX documentation is so good that I've found myself struggling to find other topics that need to be covered, other than a tremendously quick overview of the program and instructions on where to find the docs. I wonder if

Re: Professional and Scientific Writing Book

2009-11-04 Thread Graham M Smith
In addition, I'd really like some instructions/examples on how to create business like documents. When I've tried, I've found it difficult and annoying to try to get the appearance the way the company wants it. (With logos, lines and legaleese..). So tips and instructions on that would

Lattice library and sweave

2009-11-26 Thread Graham M Smith
Should the lattice library work with Lyx? Ubuntu 9.04, Lyx 1.6.2, R 2.10 with latest version of lattice. It seems to compile OK, but although the code appears I get no plot. fig=T,echo=T= library(lattice) xyplot(light.trans~simpson) @ Anyone any ideas? Thanks, Graham -- -- Graham M Smith

Re: Lattice library and sweave

2009-11-26 Thread Graham M Smith
Actually, I now realise I had this problem before and it was solved by changing the encoding to UTF8, but its not working this time. Graham Graham M Smith wrote: Should the lattice library work with Lyx? Ubuntu 9.04, Lyx 1.6.2, R 2.10 with latest version of lattice. It seems to compile OK

Re: Lattice library and sweave

2009-11-26 Thread Graham M Smith
OK, with help from Mateo, you need to add a print command as below: fig=T,echo=T= library(lattice) print(xyplot(light.trans~simpson)) @ Graham Graham M Smith wrote: Actually, I now realise I had this problem before and it was solved by changing the encoding to UTF8, but its not working

Re: [LyX] Lattice library and sweave

2009-11-26 Thread Graham M Smith
Kevin, As you will now have seen, problem was solved. Thanks, Graham Kevin Middleton wrote: Wrap the xyplot line in an explicit print() statement: print(xyplot(light.trans~simpson)) On Nov 26, 2009, at 8:53 AM, Graham M Smith wrote: Should the lattice library work with Lyx

adding appendix before Bibliography

2009-12-04 Thread Graham M Smith
to have these commands wrapped in an appendix box, but I can't work out how to do this. I would appreciate some help. Thanks, Graham -- -- Graham M Smith graham.sm...@myotis.co.uk

Re: adding appendix before Bibliography

2009-12-04 Thread Graham M Smith
OK, The appendix box was a red herring as this wasn't what I wanted and removing [titletoc] from the load package line seems to let it work. Graham Graham M Smith wrote: After searching the forum I have downloaded a sample file illustrating using the appendix package. I want the appendices

Sweave - R command line running off edge of page

2009-12-05 Thread Graham M Smith
the line runs off the edge of the page and the single ctrl+return I can see, prints out as \n rather than wrapping the text. As always, I could do with some suggestions as to how to fix this. Graham -- -- Graham M Smith graham.sm...@myotis.co.uk

Re: Sweave - R command line running off edge of page

2009-12-06 Thread Graham M Smith
Graham Graham M Smith wrote: I have an Sweave/lyx document with a long line of code . As an article (noweb), ctrl+return allows me to break up the code and allow it to fit the page and still work as code. I have pasted the text from the article class file into a new file that uses the book class

organisation as author not cited properly

2009-12-07 Thread Graham M Smith
I have a bibtex file created in Jabref The entry in the author field is {R Development Core Team} but Lyx is citing it as Team (2009). As I understand it, the curly brackets around the name should stop the contents being parsed like this. Can I fix this. Graham -- -- Graham M Smith

Re: organisation as author not cited properly

2009-12-07 Thread Graham M Smith
. Thanks, Graham -- -- Graham M Smith graham.sm...@myotis.co.uk

Optimising PDF file size - graphics management

2009-12-19 Thread Graham M Smith
-- -- Graham M Smith

Re: Optimising PDF file size - graphics management

2009-12-19 Thread Graham M Smith
Paul A suggestion Graham: try to produce vectorial graphics with R (and not screen-shots); this will reduce the size of your graphics and improve dramatically their quality. Mmmm, yes :-) Except, I am only using screen grabs when I need to illustrate what the screen looks like. Looking at

Re: Optimising PDF file size - graphics management

2009-12-19 Thread Graham M Smith
José Matos Except, I am only using screen grabs when I need to illustrate what the screen looks like. Looking at my original post I should probably have had a comma after screen grabs. With screen grab do you mean a screen shot of R's output? No, when I said that I need to illustrate

Beamer background image on one slide only

2009-12-20 Thread Graham M Smith
this is one of those things that is easy to do, just difficult to find. Thanks, Graham -- -- Graham M Smith

Re: Beamer background image on one slide only

2009-12-20 Thread Graham M Smith
, but is there a better way? Graham Graham M Smith wrote: Using an ERT box I can add a background image to Beamer presentation with \usebackgroundtemplate{\includegraphics[width=\paperwidth] {/home/graham/Dropbox/Lectures/R-Intro/Images/Moon.png}} But this adds it to every slide, and I only want

Re: Sweave with Beamer and Koma Script book

2009-06-20 Thread Graham M Smith
Jean-Marc Lasgouttes wrote: Le 20 juin 09 à 12:02, Graham Smith a écrit : Showing my ignorance of how all this works, but how do you get Sweave to work with Beamer and the Koma Script book class? There is a Sweave module that has been posted to lyx-devel (I do not have it at hand) and that is

changing margins in article class when using Beamer

2009-08-11 Thread Graham M Smith
I'm using Beamer, and producing a presentation handout by switching to the beamer article class, which defaults to wide margins. If I change the margins in documents settings, this then prevents the beamer slides being produced (I get a compile error). I assume I can put something in the

Re: changing margins in article class when using Beamer

2009-08-11 Thread Graham M Smith
rh If you can find some macro that is defined in this case, but not in the other case, then all you need is: \ifx\thatmacro\undefined\relax\else your stuff here \fi I don't know what \thatmacro might be, though. Thanks, but unfortunately, this doesn't mean very much to

Re: changing margins in article class when using Beamer

2009-08-12 Thread Graham M Smith
Paul Any particular reason you are switching to the article class for handouts, as opposed to using the handout option in the class options field? Mmmm, I'm not switching to the article class, I'm switching to the article (Beamer) class. I realise now that I described this as beamer article

Re: changing margins in article class when using Beamer

2009-08-12 Thread Graham M Smith
Paul That's ok, I understood what you meant -- just not why you did it. I don't use article (Beamer), but my impression is that it's purpose is to facilitate turning a slideshow into a paper (either after the fact or in parallel development). I don't think it's really intended to

Re: changing margins in article class when using Beamer

2009-08-13 Thread Graham M Smith
Pau lI thank you for bringing the beamer(article) to my attention. That is very handy for me as well. I can see that if I insert some branches, then I can really customize which material is included in the article output. Nice! Yes, its a superb capability, I was also hoping to use the

Re: changing margins in article class when using Beamer

2009-08-13 Thread Graham M Smith
Paul Well, I have something to propose. I still have no idea how you managed to change margins before (it should have been grayed out), unless maybe you're on an older version of LyX. Since I could not change margins, I could not reproduce your results. If you are using 1.6.x, though, I

Re: changing margins in article class when using Beamer

2009-08-13 Thread Graham M Smith
Jürgen Graham M Smith wrote: After changing to Beamer(article) class. I used the Document Settings|Page Margins tab I unticked the default and changed the margin sizes. I was hoping that Lyx would magically remember this was just the default for the Beamer (article) bit, but it also took

Re: changing margins in article class when using Beamer

2009-08-13 Thread Graham M Smith
Paul I'm using 1.6.2, on Ubuntu 9.04 and none of the margin/page controls are greyed out, so I can already adjust paper type/size and margins in article (beamer) as in any article. It was just that these then needed set back to default when switching back t Beamer. Strange isn't it.

Re: How many use Linux: was[LyX] explicit mail subject

2009-09-11 Thread Graham M Smith
Paul A. Rubin wrote: Steve Litt wrote: On Friday 11 September 2009 09:58:04 Murray Eisenberg wrote: But only a fraction of folks use Unix/Linux! I've always assumed that fraction was about 4/5 but never examined that assumption. Does anyone know the percentages of LyX users on: Linux

Re: Professional and Scientific Writing Book

2009-11-03 Thread Graham M Smith
Rob But are there other things that you would like to see? The standard LyX documentation is so good that I've found myself struggling to find other topics that need to be covered, other than a tremendously quick overview of the program and instructions on where to find the docs. I wonder if

Re: Professional and Scientific Writing Book

2009-11-04 Thread Graham M Smith
>In addition, I'd really like some instructions/examples on how to create "business" like >documents. When I've tried, I've found it difficult and annoying to try to get the appearance the >way the company wants it. (With logos, lines and legaleese..). So tips and instructions on that >would

Lattice library and sweave

2009-11-26 Thread Graham M Smith
Should the lattice library work with Lyx? Ubuntu 9.04, Lyx 1.6.2, R 2.10 with latest version of lattice. It seems to compile OK, but although the code appears I get no plot.

Re: Lattice library and sweave

2009-11-26 Thread Graham M Smith
Actually, I now realise I had this problem before and it was solved by changing the encoding to UTF8, but its not working this time. Graham Graham M Smith wrote: Should the lattice library work with Lyx? Ubuntu 9.04, Lyx 1.6.2, R 2.10 with latest version of lattice. It seems to compile OK

Re: Lattice library and sweave

2009-11-26 Thread Graham M Smith
OK, with help from Mateo, you need to add a print command as below:

Re: [LyX] Lattice library and sweave

2009-11-26 Thread Graham M Smith
Kevin, As you will now have seen, problem was solved. Thanks, Graham Kevin Middleton wrote: Wrap the xyplot line in an explicit print() statement: print(xyplot(light.trans~simpson)) On Nov 26, 2009, at 8:53 AM, Graham M Smith wrote: Should the lattice library work with Lyx

adding appendix before Bibliography

2009-12-04 Thread Graham M Smith
to have these commands wrapped in an "appendix" box, but I can't work out how to do this. I would appreciate some help. Thanks, Graham -- -- Graham M Smith graham.sm...@myotis.co.uk

Re: adding appendix before Bibliography

2009-12-04 Thread Graham M Smith
OK, The appendix box was a red herring as this wasn't what I wanted and removing [titletoc] from the load package line seems to let it work. Graham Graham M Smith wrote: After searching the forum I have downloaded a sample file illustrating using the appendix package. I want the appendices

Sweave - R command line running off edge of page

2009-12-05 Thread Graham M Smith
the line runs off the edge of the page and the single ctrl+return I can see, prints out as \n rather than wrapping the text. As always, I could do with some suggestions as to how to fix this. Graham -- -- Graham M Smith graham.sm...@myotis.co.uk

Re: Sweave - R command line running off edge of page

2009-12-06 Thread Graham M Smith
I'm ashamed to say, that continued searching has found that I had already been given the answer to this earlier this year. But in a different context and my initial searches didn't find it. The answer is to put the Sweave code into an ERT box and start it with: /SweaveOpts{keep.source=TRUE}

organisation as author not cited properly

2009-12-07 Thread Graham M Smith
I have a bibtex file created in Jabref The entry in the author field is {R Development Core Team} but Lyx is citing it as Team (2009). As I understand it, the curly brackets around the name should stop the contents being parsed like this. Can I fix this. Graham -- -- Graham M Smith

Re: organisation as author not cited properly

2009-12-07 Thread Graham M Smith
. Thanks, Graham -- -- Graham M Smith graham.sm...@myotis.co.uk

Optimising PDF file size - graphics management

2009-12-19 Thread Graham M Smith
-- -- Graham M Smith

Re: Optimising PDF file size - graphics management

2009-12-19 Thread Graham M Smith
Paul A suggestion Graham: try to produce vectorial graphics with R (and not screen-shots); this will reduce the size of your graphics and improve dramatically their quality. Mmmm, yes :-) Except, I am only using screen grabs when I need to illustrate what the screen looks like. Looking at

Re: Optimising PDF file size - graphics management

2009-12-19 Thread Graham M Smith
José Matos Except, I am only using screen grabs when I need to illustrate what the screen looks like. Looking at my original post I should probably have had a comma after "screen grabs". With "screen grab" do you mean a screen shot of R's output? No, when I said that I need to illustrate

Beamer background image on one slide only

2009-12-20 Thread Graham M Smith
ent slides. Hopefully this is one of those things that is easy to do, just difficult to find. Thanks, Graham -- -- Graham M Smith

Re: Beamer background image on one slide only

2009-12-20 Thread Graham M Smith
, but is there a better way? Graham Graham M Smith wrote: Using an ERT box I can add a background image to Beamer presentation with \usebackgroundtemplate{\includegraphics[width=\paperwidth] {/home/graham/Dropbox/Lectures/R-Intro/Images/Moon.png}} But this adds it to every slide, and I only want

Re: Sweave with Beamer and Koma Script book

2009-06-20 Thread Graham M Smith
Jean-Marc Lasgouttes wrote: Le 20 juin 09 à 12:02, Graham Smith a écrit : Showing my ignorance of how all this works, but how do you get Sweave to work with Beamer and the Koma Script book class? There is a Sweave module that has been posted to lyx-devel (I do not have it at hand) and that is

changing margins in article class when using Beamer

2009-08-11 Thread Graham M Smith
I'm using Beamer, and producing a presentation handout by switching to the beamer article class, which defaults to wide margins. If I change the margins in documents settings, this then prevents the beamer slides being produced (I get a compile error). I assume I can put something in the

Re: changing margins in article class when using Beamer

2009-08-11 Thread Graham M Smith
rh If you can find some macro that is defined in this case, but not in the other case, then all you need is: \ifx\thatmacro\undefined\relax\else your stuff here \fi I don't know what \thatmacro might be, though. Thanks, but unfortunately, this doesn't mean very much to

Re: changing margins in article class when using Beamer

2009-08-12 Thread Graham M Smith
Paul Any particular reason you are switching to the article class for handouts, as opposed to using the handout option in the class options field? Mmmm, I'm not switching to the article class, I'm switching to the "article (Beamer)" class. I realise now that I described this as "beamer

Re: changing margins in article class when using Beamer

2009-08-12 Thread Graham M Smith
Paul That's ok, I understood what you meant -- just not why you did it. I don't use article (Beamer), but my impression is that it's purpose is to facilitate turning a slideshow into a paper (either after the fact or in parallel development). I don't think it's really intended to

Re: changing margins in article class when using Beamer

2009-08-13 Thread Graham M Smith
Pau lI thank you for bringing the beamer(article) to my attention. That is very handy for me as well. I can see that if I insert some branches, then I can really customize which material is included in the article output. Nice! Yes, its a superb capability, I was also hoping to use the

Re: changing margins in article class when using Beamer

2009-08-13 Thread Graham M Smith
Paul Well, I have something to propose. I still have no idea how you managed to change margins before (it should have been grayed out), unless maybe you're on an older version of LyX. Since I could not change margins, I could not reproduce your results. If you are using 1.6.x, though, I

Re: changing margins in article class when using Beamer

2009-08-13 Thread Graham M Smith
Jürgen Graham M Smith wrote: After changing to Beamer(article) class. I used the Document Settings|Page Margins tab I unticked the default and changed the margin sizes. I was hoping that Lyx would "magically" remember this was just the default for the Beamer (article) bit, but it

Re: changing margins in article class when using Beamer

2009-08-13 Thread Graham M Smith
Paul I'm using 1.6.2, on Ubuntu 9.04 and none of the margin/page controls are greyed out, so I can already adjust paper type/size and margins in article (beamer) as in any article. It was just that these then needed set back to "default" when switching back t Beamer. Strange isn't it.

Re: How many use Linux: was[LyX] explicit mail subject

2009-09-11 Thread Graham M Smith
Paul A. Rubin wrote: Steve Litt wrote: On Friday 11 September 2009 09:58:04 Murray Eisenberg wrote: But only a fraction of folks use Unix/Linux! I've always assumed that fraction was about 4/5 but never examined that assumption. Does anyone know the percentages of LyX users on: Linux