From ripley at stats.ox.ac.uk  Thu Aug  8 17:30:43 2013
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Thu, 08 Aug 2013 16:30:43 +0100
Subject: [Rd] Error in building pdf manual with Rtools
In-Reply-To: <1375900168.25455.YahooMailNeo@web124504.mail.ne1.yahoo.com>
References: <1375790331.3973.YahooMailNeo@web124506.mail.ne1.yahoo.com>
	<520232AA.4070306@stats.ox.ac.uk>
	<1375900168.25455.YahooMailNeo@web124504.mail.ne1.yahoo.com>
Message-ID: <5203B9A3.1050202@stats.ox.ac.uk>

On 07/08/2013 19:29, Tonio wrote:
> Many thanks for your reply.
>
> Actually such entry --the one for ts1-zi4r, and the other one for ts1-zi4b as well-- are both included in the zi4.map
>
> I agree that this is an issue for the TeX community, and in particular for MiKTeX users. However it seems that there is not a clear answer yet on this issue, and this brings some consequences in transforming the Rd files.

Not for users with properly configured systems ....

> Best regards,
> Tonio
>
>
>
>
>
> ________________________________
>   Fra: Prof Brian Ripley <ripley at stats.ox.ac.uk>
> Til: r-devel at r-project.org
> Sendt: 13:42 onsdag den 7. august 2013
> Emne: Re: [Rd] Error in building pdf manual with Rtools
>
>
> On 06/08/2013 12:58, Tonio wrote:
>> Dear list,
>>
>> I am trying to produce a pdf manual using Rtools (version 3.1.0.1936) 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 Rd2pdfmypack
>> 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
> [[elided Yahoo spam]]
>>
>> 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
> <Inconsolata-zi4r.pfb
>
> 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
>
>
>
>
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>


-- 
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



[Rd] Error in building pdf manual with Rtools
Prof Brian Ripley