[Rd] R 3.0.2 and LaTeX changes

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Sep 25 10:28:31 CEST 2013


R 3.0.2 has some changes to work (or work better) with current versions 
of LaTeX style files: this can cause problems for those with older versions.

So the main message is to update your TeX system: all of TeXLive 2013, 
MacTeX 2013 and MiKTeX 2.9 work as expected if up-to-date.


1) In around June the inconsolata package was changed, a lot, and 
changed again in July.  For older versions things appear to work but it 
has been reported recently that in some cases single quotes are silently 
omitted from the PDF file.  To work around this incompatibility, update 
the inconsolata package.  If you cannot do that for your LaTeX 
distribution, you should be able to do so for your own account:

- download the current package from 
http://mirrors.ctan.org/systems/texlive/tlnet/archive/inconsolata.tar.xz

- locate your personal texmf directory by

kpsewhich -var-value=TEXMFHOME

usually ~/texmf (and it may need to be created) and cd there.

- install the current version by something like

tar xf inconsolata.tar.xz

or use untar('inconsolata.tar.xz') in R;

(if there is an ls-R file in that directory, run

mktexlsr .

) then

updmap --enable Map=zi4.map

Alternatively, set environment variable R_RD4PDF to an option such as 
times,beramono,hyper or times,hyper . See
http://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Making-the-manuals


2) R used to contain a very old upquote.sty file, but this has been 
removed.  If you have LaTeX style files which refer to upquote.sty or 
use it directly in your package, you may need to remove the usage as 
some recent versions conflict with the ae fonts (the default for 
Sweave).  In particular, remove any old copies of Sweave.sty.


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list