Hello:)
First, actually I work with TexMate and gwtex based on TL 2007 but I need for my work at school a portable PC (with Ubuntu )
With Ubuntu, I installed (by hand) TL2007, because Debian and Ubuntu works only in "experimental" with TL 2005.
I would like to have the same distibution on OS X and Ubuntu, The only solution is to install TL2007 on the MAC but i would like to know if they are some difficulties :
With linux i've texmf in /$HOME and texlive in /usr/local/texlive with now 2007/ and texmf-local/
I think there is no problem to work with TextMate and TL2007 but can you confirm that !
Actually with gwtex, i have a problem with "documentation for package", perhaps i need to make some adaptations for this with TL2007
Greetings Alain Matthes
Hi Alain,
On Apr 12, 2007, at 6:23 AM, Alain Matthes wrote:
Hello:)
First, actually I work with TexMate and gwtex based on TL 2007 but I need for my work at school a portable PC (with Ubuntu )
With Ubuntu, I installed (by hand) TL2007, because Debian and Ubuntu works only in "experimental" with TL 2005.
I would like to have the same distibution on OS X and Ubuntu, The only solution is to install TL2007 on the MAC but i would like to know if they are some difficulties :
With linux i've texmf in /$HOME and texlive in /usr/local/texlive with now 2007/ and texmf-local/
I think there is no problem to work with TextMate and TL2007 but can you confirm that !
Not having installed TL2007 I can't really confirm it, but if you install via the MacTeX packages there should definitely not be a problem. If you install in some other way, you would have to set a symbolic link from /usr/texbin to wherever the TL2007 executables are (in particular, the executable kpsewhich).
Actually with gwtex, i have a problem with "documentation for package", perhaps i need to make some adaptations for this with TL2007
My TeX installation actually doesn't have the package documentation at all with it, so I can't even test the command at all. Brad Miller is more familiar with that command, perhaps he can answer the question.
I remember seeing in the mactex mailing list though, that there were some problems with the documentation links in TL2007, so that the "texdoc" command wouldn't work properly.
Greetings Alain Matthes
Haris Skiadas Department of Mathematics and Computer Science Hanover College
Hi Haris
Le 12 avr. 07 à 14:46, Charilaos Skiadas a écrit :
Not having installed TL2007 I can't really confirm it, but if you install via the MacTeX packages there should definitely not be a problem. If you install in some other way,
Yes i want the same way i used for ubuntu
you would have to set a symbolic link from /usr/texbin to wherever the TL2007 executables are (in particular, the executable kpsewhich).
Why i need /usr/texbin ? My only problem is how TextMate detects the TeX distrib ? With TeXlive without MacTeX, i think that kpsewhich and the other bin are in
/usr/local/texlive/2007/bin/powerpc-darwin/
Greetings Alain Matthes
On Apr 12, 2007, at 9:37 AM, Alain Matthes wrote:
Hi Haris
Le 12 avr. 07 à 14:46, Charilaos Skiadas a écrit :
Not having installed TL2007 I can't really confirm it, but if you install via the MacTeX packages there should definitely not be a problem. If you install in some other way,
Yes i want the same way i used for ubuntu
you would have to set a symbolic link from /usr/texbin to wherever the TL2007 executables are (in particular, the executable kpsewhich).
Why i need /usr/texbin ? My only problem is how TextMate detects the TeX distrib ?
TextMate first and foremost asks the shell directly for "which kpsewhich". If that fails, then it looks at a couple of hard-coded paths, namely:
/usr/texbin/ /usr/local/teTeX/bin/powerpc-apple-darwin-current/ /usr/local/teTeX/bin/i386-darwin /opt/local/bin/
Finally, it sources /etc/profile and then tries "which kpsewhich" again. This last one should work as long as the shell is configured to use this new distribution.
Let me try to understand your situation. Is this TeXLive distro the only one you will be using in this computer, or do you want to be able to go back and forth between than and MacTeX (tetex)? Because if it is the only one, then I see no reason why you wouldn't want to just set a symbolic link from /usr/texbin to it. That is probably the simplest solution I think.
On the other hand, if you already have a MacTeX distribution and this TeXLive distribution, and want to only use the TeXLive one for some files, then it gets more complicated, but let's sort it out only after we are sure this is your problem. Probably what we would have to do in that case is add a variable that would allow you to hard- code a distribution path to be used, probably called TM_LATEX_TEXPATH or some such.
With TeXlive without MacTeX, i think that kpsewhich and the other bin are in
/usr/local/texlive/2007/bin/powerpc-darwin/
Greetings Alain Matthes
Haris Skiadas Department of Mathematics and Computer Science Hanover College
Le 12 avr. 07 à 16:03, Charilaos Skiadas a écrit :
TextMate first and foremost asks the shell directly for "which kpsewhich". If that fails, then it looks at a couple of hard-coded paths, namely:
/usr/texbin/ /usr/local/teTeX/bin/powerpc-apple-darwin-current/ /usr/local/teTeX/bin/i386-darwin /opt/local/bin/
Finally, it sources /etc/profile and then tries "which kpsewhich" again. This last one should work as long as the shell is configured to use this new distribution.
Where are this code ?
perhaps now you can adapt this ...because for teTeX, now it is dead...
Let me try to understand your situation. Is this TeXLive distro the only one you will be using in this computer,
yes the only one and it's the "official" texlive for unix. The idea is to have the same on the mac and on the pc. with the same paths !
or do you want to be able to go back and forth between than and MacTeX (tetex)? Because if it is the only one, then I see no reason why you wouldn't want to just set a symbolic link from /usr/texbin to it. That is probably the simplest solution I think.
no i want one and only one distribution ! the path /usr/local/texlive/ 2007/bin/powerpc-darwin/
Greetings Alain Matthes
On Apr 12, 2007, at 10:56 AM, Alain Matthes wrote:
Le 12 avr. 07 à 16:03, Charilaos Skiadas a écrit :
TextMate first and foremost asks the shell directly for "which kpsewhich". If that fails, then it looks at a couple of hard-coded paths, namely:
/usr/texbin/ /usr/local/teTeX/bin/powerpc-apple-darwin-current/ /usr/local/teTeX/bin/i386-darwin /opt/local/bin/
Finally, it sources /etc/profile and then tries "which kpsewhich" again. This last one should work as long as the shell is configured to use this new distribution.
Where are this code ?
In the global Support/lib/LaTeXUtils.rb
perhaps now you can adapt this ...because for teTeX, now it is dead...
Yes but there are still a lot of people using it. The first thing we check is /usr/texbin. After a lot of discussion in the mactex mailing list we settled on making this directory be a symbolic link to the current LaTeX distribution, whatever it may be. So if that is set up properly, it will be used. To make it still work for old users who haven't moved with the times (and I am actually one of them) or are using MacPorts, we also check a series of particular paths.
Let me try to understand your situation. Is this TeXLive distro the only one you will be using in this computer,
yes the only one and it's the "official" texlive for unix. The idea is to have the same on the mac and on the pc. with the same paths !
or do you want to be able to go back and forth between than and MacTeX (tetex)? Because if it is the only one, then I see no reason why you wouldn't want to just set a symbolic link from /usr/ texbin to it. That is probably the simplest solution I think.
no i want one and only one distribution ! the path /usr/local/ texlive/2007/bin/powerpc-darwin/
Ok, in that case just set a symbolic link from /usr/texbin to it, and all will work just fine. Something like this should do it:
ln -s /usr/local/texlive/2007/bin/powerpc-darwin /usr/texbin
Probably needs "sudo" in front of it.
Greetings Alain Matthes
Haris Skiadas Department of Mathematics and Computer Science Hanover College
Hi Alain,
I am using TL2007 as well. Can you send me a copy of the error message you are getting and I will be happy to see what I can do about the documentation command.
It seems to work well for me, but I'm sure there are cases I have not thought of.
Thanks,
Brad
On 4/12/07, Alain Matthes alain.matthes@mac.com wrote:
Hello:)
First, actually I work with TexMate and gwtex based on TL 2007 but I need for my work at school a portable PC (with Ubuntu )
With Ubuntu, I installed (by hand) TL2007, because Debian and Ubuntu works only in "experimental" with TL 2005.
I would like to have the same distibution on OS X and Ubuntu, The only solution is to install TL2007 on the MAC but i would like to know if they are some difficulties :
With linux i've texmf in /$HOME and texlive in /usr/local/texlive with now 2007/ and texmf-local/
I think there is no problem to work with TextMate and TL2007 but can you confirm that !
Actually with gwtex, i have a problem with "documentation for package", perhaps i need to make some adaptations for this with TL2007
Greetings Alain Matthes
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate