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

Federico Calboli f.calboli at imperial.ac.uk
Tue Jul 5 17:23:01 CEST 2011


On 5 Jul 2011, at 16:01, Prof Brian Ripley wrote:

> And note too that this is looking first for a script texi2dvi.  If you have that, *it* will look for pdflatex, possibly already knowing where to look.
> 
> Also note that both the usual texi2dvi and tools::texi2dvi will consult environment variables such as PDFLATEX.
> 
> If you have a standard Mac TeX installation such as MacTeX, it should contain texi2dvi.  So this seems to be entirely a path problem.

while it was entirely a path problem, the latest (2010) MacTex does *not* contain texi2dvi:

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

F

 


> 
> On Tue, 5 Jul 2011, Simon Urbanek wrote:
> 
>> Federico,
>> 
>> both are entirely irrelevant - run
>> system("pdflatex --version")
>> in R - that is the only thing that counts. If it shows an error, then you don't have pdflatex on your PATH which would be the problem. As a side note, you are showing two separate TeX packages which may not help you to find out what breaks in your setup in general ...
>> 
>> Cheers,
>> Simon
>> 
>> 
>> 
>> On Jul 5, 2011, at 5:51 AM, Federico Calboli wrote:
>> 
>>> On 5 Jul 2011, at 10:44, Federico Calboli wrote:
>>>> <snip>
>>>> My comment is, pdflatex *is* availiable:
>>>> 
>>>> $ :/usr/local/texlive/2010/bin/universal-darwin$ ls -l pdflatex
>>>> lrwxr-xr-x  1 root  wheel  6 21 Oct  2010 pdflatex -> pdftex
>>>> 
>>>> and
>>>> 
>>>> $ :/usr/local/texlive/2010/bin/x86_64-darwin$ ls -l pdflatex
>>>> lrwxr-xr-x  1 root  wheel  6 21 Oct  2010 pdflatex -> pdftex
>>> 
>>> Before anyone asks:
>>> 
>>> $ :/usr/local/texlive/2010/bin/x86_64-darwin$ ls /usr/texbin/pdflatex
>>> /usr/texbin/pdflatex
>>> 
>>> so that's not the issue.
>>> 
>>> bw
>>> 
>>> F
>>> 
>>> 
>>> 
>>> --
>>> Federico C. F. Calboli
>>> Department of Epidemiology and Biostatistics
>>> Imperial College, St. Mary's Campus
>>> Norfolk Place, London W2 1PG
>>> 
>>> Tel +44 (0)20 75941602   Fax +44 (0)20 75943193
>>> 
>>> f.calboli [.a.t] imperial.ac.uk
>>> f.calboli [.a.t] gmail.com
>>> 
>>> _______________________________________________
>>> R-SIG-Mac mailing list
>>> R-SIG-Mac at r-project.org
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>> 
>>> 
>> 
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>> 
> 
> -- 
> 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
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

--
Federico C. F. Calboli
Department of Epidemiology and Biostatistics
Imperial College, St. Mary's Campus
Norfolk Place, London W2 1PG

Tel +44 (0)20 75941602   Fax +44 (0)20 75943193

f.calboli [.a.t] imperial.ac.uk
f.calboli [.a.t] gmail.com



More information about the R-SIG-Mac mailing list