Hi all,

Corcelle wrote:


No. I have a similar problem with Sage TeXmacs plugin, which I can solve exporting the $PATH variable to the place where Sage binary was located. I tried something similar with this two lines:

[off...@hackendo ~]$ export TEXGRAPH_PATH=/usr/local/share/TeXgraph/
[off...@hackendo ~]$ export $PATH=/usr/local/share/TeXgraph/

and I get:

bash: export: `/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core=/usr/local/share/TeXgraph/': not a valid identifier
The defaut installation in /usr/local/share/TeXgraph/ creates the startTeXgraph and CmdTeXgraph files in the /usr/local/bin directory which isn't known by your system.

There is a little error in your second line. For only one session, it should have been :
[off...@hackendo ~]$ export PATH=$PATH:/usr/local/bin
So your PATH is now unreadable with the =.

To correct it try :
[off...@hackendo ~]$ PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core [off...@hackendo ~]$ echo `export PATH=$PATH:/usr/local/bin` >> ~/.bashrc
if you use BASH shell


Thanks for your help. I tried yours and the Andreas method. None of them worked. Finally I made this:

export PATH=$PATH:/usr/local/share/TeXgraph/

Now I can launch TeXgraph from shell because the TeXgraph and TeXgraphCmd are now in my path. But I get a lot of message about the content of "/offray/macros" not being present and the TeXgraph GUI opens without any problem. I made a symlink from the macros directory to /home/offray and after that I didn't get any other message and TeXgraph is launching fine, but still I can't use TeXgraph inside TeXmacs.

Cheers,

Offray


_______________________________________________
Texmacs-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to