[OS X TeX] How to make aquamacs find Sweave without needing to specify location
Maarten Sneep
maarten.sneep at xs4all.nl
Fri Nov 21 17:36:13 CET 2008
On 21 nov 2008, at 16:58, Christopher David Desjardins wrote:
> On Nov 21, 2008, at 9:50 AM, Maarten Sneep wrote:
>
>> 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
>
>
> I tried those commands but I'm still getting
>
> ERROR: LaTeX Error: File `Sweave.sty' not found.
>
> Thanks in advance,
Is that TeXLive 2008 installed directly from the DVD, and not MacTeX
2008? In that case:
mkdir -P ~/texmf/tex/latex
cd ~/texmf/tex/latex
ln -s /Library/Frameworks/R.framework/Resources/share/texmf Sweave
Maarten
More information about the macostex-archives
mailing list