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

Berend Hasselman bhh at xs4all.nl
Wed Jul 6 06:19:45 CEST 2011


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)



More information about the R-SIG-Mac mailing list