British Pound symbol problem in Sweave PDF output

2011-10-19 Thread Graham Smith
I'm not exactly sure where the problem lies with this, but if I include a £ symbol in an graph legend, I get £ in the PDF. I am on Snow Leopard and Lyx 2.0.0. It doesn't happen when I generate graphs from R and save as PDF, so it seems to be a Lyx/Latex/Sweave thing. As so often is the case

Re: British Pound symbol problem in Sweave PDF output

2011-10-19 Thread Graham Smith
Ok, to reply to myself, I have just realised that the first time I compiled this file I got a dialog box asking about encoding, and I chose the default UTF -8 encoding. Could this be where the problem lies and, if it does, how do i now sort it. Which encoding should I have chosen, if that is the

Re: British Pound symbol problem in Sweave PDF output

2011-10-19 Thread Liviu Andronic
On Wed, Oct 19, 2011 at 11:45 AM, Graham Smith myotis...@gmail.com wrote: I'm not exactly sure where the problem lies with this, but if I include a £ symbol in an graph legend, I get £ in the PDF. I am on Snow Leopard and Lyx 2.0.0. It doesn't happen when I generate graphs from R and save as

British Pound symbol problem in Sweave PDF output

2011-10-19 Thread Graham Smith
I'm not exactly sure where the problem lies with this, but if I include a £ symbol in an graph legend, I get £ in the PDF. I am on Snow Leopard and Lyx 2.0.0. It doesn't happen when I generate graphs from R and save as PDF, so it seems to be a Lyx/Latex/Sweave thing. As so often is the case

Re: British Pound symbol problem in Sweave PDF output

2011-10-19 Thread Graham Smith
Ok, to reply to myself, I have just realised that the first time I compiled this file I got a dialog box asking about encoding, and I chose the default UTF -8 encoding. Could this be where the problem lies and, if it does, how do i now sort it. Which encoding should I have chosen, if that is the

Re: British Pound symbol problem in Sweave PDF output

2011-10-19 Thread Liviu Andronic
On Wed, Oct 19, 2011 at 11:45 AM, Graham Smith myotis...@gmail.com wrote: I'm not exactly sure where the problem lies with this, but if I include a £ symbol in an graph legend, I get £ in the PDF. I am on Snow Leopard and Lyx 2.0.0. It doesn't happen when I generate graphs from R and save as

British Pound symbol problem in Sweave PDF output

2011-10-19 Thread Graham Smith
I'm not exactly sure where the problem lies with this, but if I include a "£" symbol in an graph legend, I get "£" in the PDF. I am on Snow Leopard and Lyx 2.0.0. It doesn't happen when I generate graphs from R and save as PDF, so it seems to be a Lyx/Latex/Sweave thing. As so often is the

Re: British Pound symbol problem in Sweave PDF output

2011-10-19 Thread Graham Smith
Ok, to reply to myself, I have just realised that the first time I compiled this file I got a dialog box asking about encoding, and I chose the default UTF -8 encoding. Could this be where the problem lies and, if it does, how do i now sort it. Which encoding should I have chosen, if that is the

Re: British Pound symbol problem in Sweave PDF output

2011-10-19 Thread Liviu Andronic
On Wed, Oct 19, 2011 at 11:45 AM, Graham Smith wrote: > I'm not exactly sure where the problem lies with this, but if I include a > "£" symbol in an graph legend, I get "£" in the PDF. > I am on Snow Leopard and Lyx 2.0.0. > It doesn't happen when I generate graphs from R