Re: [R] Sweave produces gibberish instead of apostrophe in pdf

2008-02-27 Thread Gavin Simpson
On Wed, 2008-02-27 at 11:35 +0100, Paul Hiemstra wrote: Dear All, I try to use Sweave to make a document. But when I use the Sweave() command on it and build a pdf with pdflatex (3.141592-1.40.3) my apostrophes are replaced by some gibberish (an 'a' with a hat on it, a capital A with a

[R] Sweave produces gibberish instead of apostrophe in pdf

2008-02-27 Thread Paul Hiemstra
Dear All, I try to use Sweave to make a document. But when I use the Sweave() command on it and build a pdf with pdflatex (3.141592-1.40.3) my apostrophes are replaced by some gibberish (an 'a' with a hat on it, a capital A with a arc pointing upwards on it and a capital Y with two points on

Re: [R] Sweave produces gibberish instead of apostrophe in pdf

2008-02-27 Thread Paul Hiemstra
Hi Gavin, I worked perfectly. Thank you so much. cheers, Paul Gavin Simpson wrote: On Wed, 2008-02-27 at 11:35 +0100, Paul Hiemstra wrote: Dear All, I try to use Sweave to make a document. But when I use the Sweave() command on it and build a pdf with pdflatex (3.141592-1.40.3) my

Re: [R] Sweave produces gibberish instead of apostrophe in pdf

2008-02-27 Thread Prof Brian Ripley
These are not 'apostrophe's: it's (that is an apostrophe) misleading to call them that. They are single quotes, and there are two sorts if you look carefully. Probably you are using a UTF-8 locale and not telling LaTeX (or us) so. There are several ways to do so, depending on the age of your

Re: [R] Sweave produces gibberish instead of apostrophe in pdf

2008-02-27 Thread Prof Brian Ripley
On Wed, 27 Feb 2008, Gavin Simpson wrote: On Wed, 2008-02-27 at 11:35 +0100, Paul Hiemstra wrote: Dear All, I try to use Sweave to make a document. But when I use the Sweave() command on it and build a pdf with pdflatex (3.141592-1.40.3) my apostrophes are replaced by some gibberish (an 'a'

Re: [R] Sweave produces gibberish instead of apostrophe in pdf

2008-02-27 Thread Gavin Simpson
On Wed, 2008-02-27 at 20:33 +, Prof Brian Ripley wrote: On Wed, 27 Feb 2008, Gavin Simpson wrote: On Wed, 2008-02-27 at 11:35 +0100, Paul Hiemstra wrote: snip / Stick this in your preamble and see if it works (you might need to install a TexLive package from your usual Debian