[Rd] Error in building pdf manual with Rtools

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Aug 7 13:42:34 CEST 2013

On 06/08/2013 12:58, Tonio wrote:
> Dear list,
> I am trying to produce a pdf manual using Rtools (version on Windows 8 (64-bit). I am also aware of the inconsolata issue posted in the forum (https://stat.ethz.ch/pipermail/r-devel/2013-June/066850.html), and then I have installed the patched version of R-3.0.1. However I still have some errors with the following message:
> R CMD Rd2pdf mypack
> Hmm ... looks like a package
> Converting Rd files to LaTeX ....
> Creating pdf output from LaTeX ...
> Warning: running command '"C:\PROGRA~1\MIKTEX~1.9\miktex\bin\x64\texi2dvi.exe"
> --pdf "Rd2.tex"  -I "C:/PROGRA~1/R/R-30~1.1PA/share/texmf/tex/latex" -I "C:/PROG
> RA~1/R/R-30~1.1PA/share/texmf/bibtex/bst"' had status 1
> Error : running 'texi2dvi' on 'Rd2.tex' failed
> LaTeX errors:
> !pdfTeX error: pdflatex.EXE (file ts1-zi4r): Font ts1-zi4r at 540 not found
>   ==> Fatal error occurred, no output PDF file produced!
> Error in running tools::texi2pdf()
> The MiKTeX I use is 2.9 and apparently it has no problem in building files with the inconsolata-zi4 packages, since there is the ts1-zi4r.tfm file.

Evidently there is such a problem.  My guess is that your MiKTeX is 
missing an entry for the inconsolata map: zi4.map contains

ts1-zi4r Inconsolata-zi4r " zi4TS1Encoding ReEncodeFont " <i4-ts1.enc 

This is neither an Rtools nor an R-devel issue, but a TeX one.

> Any help with this issue will be much appreciated.
> Best,
> Antonio

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