[R-SIG-Mac] building a package on a Mac: pdflatex

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Jul 6 07:27:03 CEST 2011


Yes, most open-source software on Mac OS X is old.  One issue is 
GPL-3: texinfo was an early adopter, and AFAIR texinfo 4.8 was the 
last GPL-2 release.

My point was (and remains) that if you have your paths set up 
correctly, tools::texi2dvi will use the texi2dvi script and not 
pdflatex directly.  And that this is all in the R-admin manual.

On Wed, 6 Jul 2011, Berend Hasselman wrote:

>
> On 05-07-2011, at 17:39, Prof Brian Ripley wrote:
>
>> On Tue, 5 Jul 2011, Federico Calboli wrote:
>>
>>> On 5 Jul 2011, at 16:26, Kasper Daniel Hansen wrote:
>>>>>
>>>>> which texi2dvi
>>>>> /usr/bin/texi2dvi
>>>>>
>>>>> and
>>>>>
>>>>> $:/usr/local/texlive/2010/bin/x86_64-darwin$ ls texi*
>>>>> texindy
>>>>>
>>>>> but no texi2dvi. I did ask other mactex users and they also do not have texi2dvi
>>>>
>>>> Well, I have texi2dvi and I use MacTex and I am on a fresh install
>>>> (new laptop) of snow leopard + latest mactex.  I am using the big
>>>> 1.6GB "all of mactex" package you can download.
>>>
>>>
>>> Me too. Have you tried
>>>
>>> which texi2dvi
>>>
>>> and
>>>
>>> find /usr/local/texlive/ -name texi2dvi
>>>
>>> I do not have a texi2dvi binary in the texlive directory.
>>
>> Well, I did say it is a script, and on my Mac it is in /usr/bin/texi2dvi .
>
> The texi2dvi issue has been discussed in the past:
>
> http://macosx-tex.576846.n2.nabble.com/Duplicate-texi-executables-on-Leopard-td623925.html
>
>
> I inspected the macTeX-2010.mkpg with Pacifist. It does not contain the texi2dvi script.
> MacTeX uses the latexmk perl script.
>
> /usr/texbin is on my PATH and running which -a texi2dvi gives: /usr/bin/texi2dvi
>
>
> AFAICT, texi2dvi is Apple provided. It is also quite old (at least if the 2004 refers to texi2dvi):
>
> Running texi2dvi --version in Terminal gives:
>
> texi2dvi (GNU Texinfo 4.8) 1.34
>
> Copyright (C) 2004 Free Software Foundation, Inc.
> There is NO warranty.  You may redistribute this software
> under the terms of the GNU General Public License.
> For more information about these matters, see the files named COPYING.
>
> Result of ls -l /usr/bin/texi*
>
> -rwxr-xr-x  1 root  wheel   28218 12 Nov  2010 /usr/bin/texi2dvi
> -rwxr-xr-x  1 root  wheel   28218 24 Sep  2007 /usr/bin/texi2dvi.old
> -rwxr-xr-x  1 root  wheel  557096 12 Nov  2010 /usr/bin/texi2html
> -rwxr-xr-x  1 root  wheel  557096 24 Sep  2007 /usr/bin/texi2html.old
> -rwxr-xr-x  1 root  wheel     660 12 Nov  2010 /usr/bin/texi2pdf
> -rwxr-xr-x  1 root  wheel     660 24 Sep  2007 /usr/bin/texi2pdf.old
> -rwxr-xr-x  1 root  wheel  109520 12 Nov  2010 /usr/bin/texindex
> -rwxr-xr-x  1 root  wheel  102048 24 Sep  2007 /usr/bin/texindex.old
>
> I don't know where the .old versions come from.
>
> Berend
>
> Running Mac OS X 10.6.8 and R version 2.13.0 Patched (2011-04-26 r55655)
>
>

-- 
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-SIG-Mac mailing list