[OS X TeX] How to make aquamacs find Sweave without needing to specify location

Maarten Sneep maarten.sneep at xs4all.nl
Fri Nov 21 10:50:27 EST 2008


On 21 nov 2008, at 16:45, Herbert Schulz wrote:

>
> On Nov 21, 2008, at 9:39 AM, Maarten Sneep wrote:
>
>> In the terminal:
>>
>> mkdir -P ~/Library/texmf/tex/latex/
>> cd ~/Library/texmf/tex/latex/
>> ln -s /Library/Frameworks/R.framework/Resources/share/texmf/Sweave
>>
>> This makes a symbolic link to the package so that if you update the  
>> R application, tex will find the updated version as well. I took  
>> the liberty of placing Sweave in the latex tree, as your syntax  
>> seems to indicate that usage. This tree is searched without index  
>> files, so there is no need for mktexlsr calls.
>>
>> Maarten
>
>
> Howdy,
>
> Shouldn't that be .../Sweave.sty since I assume it is a standard  
> package?

Probably, but then I don't know what else is in that tree, probably  
safer to do

mkdir -P ~/Library/texmf/tex/latex
cd ~/Library/texmf/tex/latex
ln -s /Library/Frameworks/R.framework/Resources/share/texmf Sweave

Maarten




More information about the MacOSX-TeX mailing list