Skip to content
Prev 42322 / 63424 Next

Rnw file generated strange symbols in pdf file

Zhu Wang <Zwang <at> ccmckids.org> writes:
This has come up before, I'm not sure what the current status is,
not what gets run on CRAN.  I know that if I use texi2pdf on my
(now fairly old) 10.04 version of Ubuntu, I get the 'tilde problem'
if I use texi2pdf but not if I use pdflatex.  If I \usepackage[english]{babel}
the problem also goes away.

References:

http://comments.gmane.org/gmane.comp.lang.r.debian/848

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534458

http://www2.it.lut.fi/wiki/doku.php/common/latex_hints  says:
If you use both natbib and babel packages, load natbib before babel to
prevent tilde showing up in citations. Loading natbib after babel and
using citep-command will make ?et al.? shown as ?et~al.?.