![](https://secure.gravatar.com/avatar/d0e94fb08d4620cfbd2f8f59a7868637.jpg?s=120&d=mm&r=g)
Hi all, especially Mojca, I guess, I have a somewhat bizarre problem with the setuptex script under the latest Fedora and zsh (version 5.02). Here's what happens: source ~/context/tex/setuptex "/mnt/shared/context/tex" is not a valid TEXROOT path. (There is no file "/mnt/shared/context/tex/texmf/tex/plain/base/plain.tex") provide a proper tex root (like '. setuptex /something/tex') The script works under bash; the error under Fedora is the same on two different computers, but I don't know if any other linux distribution has the same version of zsh. Can anyone else test and see if they have similar problems with zsh? All best Thomas
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
On Wed, Jul 10, 2013 at 10:16 AM, Thomas A. Schmitz wrote:
Hi all, especially Mojca, I guess,
I have a somewhat bizarre problem with the setuptex script under the latest Fedora and zsh (version 5.02). Here's what happens:
source ~/context/tex/setuptex "/mnt/shared/context/tex" is not a valid TEXROOT path. (There is no file "/mnt/shared/context/tex/texmf/tex/plain/base/plain.tex") provide a proper tex root (like '. setuptex /something/tex')
The script works under bash; the error under Fedora is the same on two different computers, but I don't know if any other linux distribution has the same version of zsh. Can anyone else test and see if they have similar problems with zsh?
I would gladly help, but I don't know how zhs works and I didn't find any hints during a quick search. My suggestion would be to put export PATH=$HOME/context/tex/texmf-linux-64/bin:$PATH or something similar into the file that you are sourcing. Mojca
![](https://secure.gravatar.com/avatar/d0e94fb08d4620cfbd2f8f59a7868637.jpg?s=120&d=mm&r=g)
On 07/10/2013 11:24 AM, Mojca Miklavec wrote:
I would gladly help, but I don't know how zhs works and I didn't find any hints during a quick search.
My suggestion would be to put export PATH=$HOME/context/tex/texmf-linux-64/bin:$PATH or something similar into the file that you are sourcing.
Mojca
Hi Mojca, I'm happy to say that a recent update in Fedora solved the problem; setuptex now works again. Bizarre, I still have no idea where the problem came from... All best Thomas
![](https://secure.gravatar.com/avatar/96a2b835dde0041c68f1803473d0b013.jpg?s=120&d=mm&r=g)
"Thomas A. Schmitz"
On 07/10/2013 11:24 AM, Mojca Miklavec wrote:
I would gladly help, but I don't know how zhs works and I didn't find any hints during a quick search.
My suggestion would be to put export PATH=$HOME/context/tex/texmf-linux-64/bin:$PATH or something similar into the file that you are sourcing.
Mojca
Hi Mojca,
I'm happy to say that a recent update in Fedora solved the problem; setuptex now works again. Bizarre, I still have no idea where the problem came from...
A tiny, random hunch: zsh treats its built-in "source" command differently from its "." command, and therefore sometimes one or the other works better. It's worth trying ". ~/context/tex/setuptex" when using zsh. However, I don't see really how it would have helped in this situation, and on my machine either one works fine. -- David R
participants (3)
-
David Rogers
-
Mojca Miklavec
-
Thomas A. Schmitz