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

Re: Help needed with latex/R doc font issue



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.

--
Pat


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