Re: British Pound symbol problem in Sweave PDF output
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 and save as PDF, so it seems > to be a Lyx/Latex/Sweave thing. > As so often is the case searching for an answer has proved fruitless,as a I > can't come up with meaningful search terms. > But I am sure this has cropped up before. > Any help much appreciated. > Have you tried to switch Doc Setting > Language > Encoding to something other than Default? Experiment with the various 'utf8' flavours, and also try compiling with XeTeX. Liviu
Re: British Pound symbol problem in Sweave PDF output
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 issues. Graham On 19 October 2011 10:45, 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 and save as PDF, so it > seems to be a Lyx/Latex/Sweave thing. > > As so often is the case searching for an answer has proved fruitless,as a I > can't come up with meaningful search terms. > > But I am sure this has cropped up before. > > Any help much appreciated. > > Graham >
British Pound symbol problem in Sweave PDF output
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 searching for an answer has proved fruitless,as a I can't come up with meaningful search terms. But I am sure this has cropped up before. Any help much appreciated. Graham