[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Help needed with latex/R doc font issue



Patrice Dumas wrote:
On Wed, Jan 14, 2009 at 01:18:33PM -0700, Orion Poplawski wrote:
I'm trying to update R-lmtest to the latest release, but am having trouble during the documentation build step:

Now, the shipped docs are in ISO-8599 encoding, so I convert the to UTF-8 with:

for x in lmtest/man/*.Rd
do
   iconv -f iso-8859-1 -t utf-8 < ${x} | tr -d '\r' > ${x}.utf-8
   touch -r ${x} ${x}.utf-8
   mv ${x}.utf-8 ${x}
done

This worked fine the last time I built the package (2008-06-25 for F-10).

I think that you should not do that. The encoding is specified in the file when needed, so you should not change the encoding. You can change the encoding and also the command that sets it, but I think this is not needed, and complicates matter for no gain.

So how do I fix:

R-lmtest.i386: W: file-not-utf8 /usr/lib/R/library/lmtest/latex/valueofstocks.tex

Fedora guidelines require UTF-8 files.

--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion cora nwra com
Boulder, CO 80301              http://www.cora.nwra.com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]