Skip to content

Sweave documents have corrupted double quotes

4 messages · Ben Bolker, Vincent Goulet, Paul Johnson

#
I'm attaching a file foo.Rnw and I'm hoping some of you might run it
through your R & latex systems to find out if the double-quotes in
typewriter font turn out as black boxes (as they do for me).  If you
don't use Sweave, but you have a system with a working version of R
and LaTeX, the file gives the instructions you need to use to process
the file. The

The file itself explains the problem. You can see the flawed output on
my web site

http://pj.freefaculty.org/latex/foo.pdf

I'm running Ubuntu Linux 8.10 with R 2.8.1 and TexLive 2007 (which is
provided with the distribution).

This is not a new problem, I noticed it two years ago while using
TeTeX on Fedora Linux, and so I doubt that this is specific to
TeXLive.  Back then, I took the path of resistance and stopped using
the typewriter font.  That is becoming inconvenient, however.

I would sincerely appreciate any pointers you have.
#
Paul Johnson <pauljohn32 <at> gmail.com> writes:
I can't help except to say that I replicated the problem (but I'm
running exactly the same OS/R combination so maybe that's not too 
surprising.  Oddly enough upquote.sty says explicitly

     It does not affect \tt, \texttt, etc.

But that seems to be false.

  Ben Bolker
#
Paul,

The file did not make it to the list.

Did you try loading Sweave with the 'noae' option, that is:

	\usepackage[noae]{Sweave}

This *may* solve your issue.

HTH Vincent

Le ven. 16 janv. ? 11:31, Paul Johnson a ?crit :
---
   Vincent Goulet
   Acting Chair, Associate Professor
   ?cole d'actuariat
   Universit? Laval, Qu?bec
   Vincent.Goulet at act.ulaval.ca   http://vgoulet.act.ulaval.ca
#
On Fri, Jan 16, 2009 at 11:06 AM, Vincent Goulet
<vincent.goulet at act.ulaval.ca> wrote:
Wow. That does fix it. I bow to you.  I need to learn how this option
can be put into the Rnw file itself .

Are you the same Vincent Goulet who offers the customized Emacs for
windows? (http://vgoulet.act.ulaval.ca/ressources/emacs).  If so,
thanks again for that. Keep up the good work.  It has saved me and my
students tons of time setting up Windows systems.