[OS X TeX] TeXLive-install-recipe download
Claus Gerhardt
gerhardt at math.uni-heidelberg.de
Sun Nov 19 14:22:36 EST 2006
On my second hard disk I still have Gerben's TeXLive installed. Thus,
I tried to rename it first to gwTeXLive and found that I had to do it
from the shell or through an Applescript, see the Applescript below,
which you would also have to use when trying to rename TeXLive in /
usr/local of your boot volume.
Switching then from TeXLive (TUG) to gwTeXLive worked flawlessly.
Also texdoc gave the documents in gwTeXLive.
I shall also add the renaming script to my download though of course
copying and saving it in Script Editor shouldn't be a problem.
Claus
-- Applescript
-- Claus Gerhardt
(*This script renames files or directories with adminstrator priviliges.
Notice that the administrator privileges will be valid for a few
seconds after you entered your password, so don't play around with
the script, it won't ask for your password again in those circumstances.
*)
set newname to "gwTeXLive"
set dirName to "/usr/local"
set shellScript to "cd " & dirName & ";"
set shellScript to shellScript & "mv TeXLive" & " " & newname
do shell script shellScript with administrator privileges
-- End of script
On Nov 19, 2006, at 19:31, Claus Gerhardt wrote:
> As a further test I switched from TeXLive (TUG) to a tetex
> installation on a second hard disk. Worked fine.
>
> The corresponding switch is
>
> set sourceName to "/Volumes/Gauss/usr/local/tetex/bin/powerpc-apple-
> darwin-current"
>
> Gauss is my second internal hard disk.
>
> Claus
>
>
> On Nov 19, 2006, at 19:05, Claus Gerhardt wrote:
>
>> Since I still have Gerben's old tetex installation I tried to
>> switch from TeXLive (TUG) to tetex which worked smoothly,
>> typesetting a document revealed that I indeed used Gerben's old
>> installation. Switching back worked as simply.
>>
>> An affair of a few seconds.
>>
>> Here is the definition for switching to tetex (for powerpc)
>>
>> set sourceName to "/usr/local/tetex/bin/powerpc-apple-darwin-current"
>>
>> Notice that you shouldn't try to switch from TeXLive (TUG) to
>> TeXLive (Gerben) because of the renaming of Gerben's TeXLive
>> folder; of course one could try to use the changed name
>>
>> gwTeXLive
>>
>> but I don't know, if this would work, and I don't have Gerben's
>> TeXLive installed anymore for testing.
>>
>> Claus
>> ------------------------- Info --------------------------
>> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>> & FAQ: http://latex.yauh.de/faq/
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Archive: http://tug.org/pipermail/macostex-archives/
>>
>
> ------------------------- Info --------------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
> & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Archive: http://tug.org/pipermail/macostex-archives/
>
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
More information about the MacOSX-TeX
mailing list