- Ubuntu 8.04 According to http://wiki.contextgarden.net/ConTeXt_Minimals I installed the context minimals in /opt/context then ( after some research about its definition and use ) created a .bash_profile file (using gedit) to which were added the following instructions #!/bin/bash source /opt/context/tex/setuptex /opt/context/tex saved it in /home/alan then logged in again and... bash doesn't seem to execute ~/.bash_profile because when launching texexec on a test file, I'm still receiving as output ConTeXt ver: 2007.09.28 16:52 MKII fmt: 2008.6.18 int: english/english which, as far as I remember, corresponds to the ubuntu context installation. What's missing ? Alan
On Mon, Jun 23, 2008 at 7:03 PM, Alan Stone wrote:
- Ubuntu 8.04
According to http://wiki.contextgarden.net/ConTeXt_Minimals I installed the context minimals in
/opt/context
then ( after some research about its definition and use ) created a
.bash_profile
.bash_profile works for Mac OS X. Maybe it's .bashrc on your distro? I have no idea what Linux distributions out there use to initialize bash. (Are you using bash or sh or maybe something else?) In any case you need to open a new terminal once you do the changes. An alternative should be to put the binary path into PATH. Mojca
There's a /home/alan/.bashrc so I've put the command line there... doesn't work either. Will research about how to proceed with the PATH alternative. On Mon, Jun 23, 2008 at 7:11 PM, Mojca Miklavec < mojca.miklavec.lists@gmail.com> wrote:
On Mon, Jun 23, 2008 at 7:03 PM, Alan Stone wrote:
- Ubuntu 8.04
According to http://wiki.contextgarden.net/ConTeXt_Minimals I installed the context minimals in
/opt/context
then ( after some research about its definition and use ) created a
.bash_profile
.bash_profile works for Mac OS X. Maybe it's .bashrc on your distro? I have no idea what Linux distributions out there use to initialize bash. (Are you using bash or sh or maybe something else?)
In any case you need to open a new terminal once you do the changes.
An alternative should be to put the binary path into PATH.
Mojca
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
There's a /home/alan/.bashrc so I've put the command line there... doesn't work either.
You really need to be more specific. Are you sure you relaunched bash after editing .bashrc? Bash only reads the configuration file once, at startup, so if you simply edited it you would have missed the change. Then you should have an environment variable called TEXROOT; check that "echo $TEXROOT" returns /opt/context or /opt/context/tex or something like that. If so, you should be able to make the formats ("texexec --make --all" for Mark II, "context --make --all" for Mark IV). Arthur
In any case you need to open a new terminal once you do the changes.
There's a /home/alan/.bashrc so I've put the command line there... doesn't work either.
Strange, terminal window says...
Setting "/opt/context/tex" as TEXROOT.
and nevertheless the ubuntu tex/context gets invoked.
On Mon, Jun 23, 2008 at 7:32 PM, Alan Stone
Will research about how to proceed with the PATH alternative.
On Mon, Jun 23, 2008 at 7:11 PM, Mojca Miklavec < mojca.miklavec.lists@gmail.com> wrote:
On Mon, Jun 23, 2008 at 7:03 PM, Alan Stone wrote:
- Ubuntu 8.04
According to http://wiki.contextgarden.net/ConTeXt_Minimals I installed the context minimals in
/opt/context
then ( after some research about its definition and use ) created a
.bash_profile
.bash_profile works for Mac OS X. Maybe it's .bashrc on your distro? I have no idea what Linux distributions out there use to initialize bash. (Are you using bash or sh or maybe something else?)
In any case you need to open a new terminal once you do the changes.
An alternative should be to put the binary path into PATH.
Mojca
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
'which context' should tell you which file is being executed. I'm running Hardy and all what I needed is to add that line in my ~/.bashrc. On Mon, Jun 23, 2008 at 07:46:03PM +0200, Alan Stone wrote:
In any case you need to open a new terminal once you do the changes.
There's a /home/alan/.bashrc so I've put the command line there... doesn't work either.
Strange, terminal window says...
Setting "/opt/context/tex" as TEXROOT.
and nevertheless the ubuntu tex/context gets invoked.
On Mon, Jun 23, 2008 at 7:32 PM, Alan Stone
wrote: Will research about how to proceed with the PATH alternative.
On Mon, Jun 23, 2008 at 7:11 PM, Mojca Miklavec < mojca.miklavec.lists@gmail.com> wrote:
On Mon, Jun 23, 2008 at 7:03 PM, Alan Stone wrote: > - Ubuntu 8.04 > > According to http://wiki.contextgarden.net/ConTeXt_Minimals > I installed the context minimals in > > /opt/context > > then ( after some research about its definition and use ) created a > > .bash_profile
.bash_profile works for Mac OS X. Maybe it's .bashrc on your distro? I have no idea what Linux distributions out there use to initialize bash. (Are you using bash or sh or maybe something else?)
In any case you need to open a new terminal once you do the changes.
An alternative should be to put the binary path into PATH.
Mojca ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- Khaled Hosny Arabic localizer and member of Arabeyes.org team
It should be ~/.bashrc (unless you are using another shell than bash), you need to "source ~/.bashrc" to get immediate effect in the current shell session. On Mon, Jun 23, 2008 at 07:32:08PM +0200, Alan Stone wrote:
There's a /home/alan/.bashrc so I've put the command line there... doesn't work either.
Will research about how to proceed with the PATH alternative.
On Mon, Jun 23, 2008 at 7:11 PM, Mojca Miklavec
wrote:
On Mon, Jun 23, 2008 at 7:03 PM, Alan Stone wrote: > - Ubuntu 8.04 > > According to http://wiki.contextgarden.net/ConTeXt_Minimals > I installed the context minimals in > > /opt/context > > then ( after some research about its definition and use ) created a > > .bash_profile
.bash_profile works for Mac OS X. Maybe it's .bashrc on your distro? I have no idea what Linux distributions out there use to initialize bash. (Are you using bash or sh or maybe something else?)
In any case you need to open a new terminal once you do the changes.
An alternative should be to put the binary path into PATH.
Mojca ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- Khaled Hosny Arabic localizer and member of Arabeyes.org team
you need to "source ~/.bashrc
In which file do I put that ?
On Mon, Jun 23, 2008 at 7:46 PM, Khaled Hosny
It should be ~/.bashrc (unless you are using another shell than bash), you need to "source ~/.bashrc" to get immediate effect in the current shell session.
On Mon, Jun 23, 2008 at 07:32:08PM +0200, Alan Stone wrote:
There's a /home/alan/.bashrc so I've put the command line there... doesn't work either.
Will research about how to proceed with the PATH alternative.
On Mon, Jun 23, 2008 at 7:11 PM, Mojca Miklavec < mojca.miklavec.lists@gmail.com
wrote:
On Mon, Jun 23, 2008 at 7:03 PM, Alan Stone wrote: > - Ubuntu 8.04 > > According to http://wiki.contextgarden.net/ConTeXt_Minimals > I installed the context minimals in > > /opt/context > > then ( after some research about its definition and use ) created a > > .bash_profile
.bash_profile works for Mac OS X. Maybe it's .bashrc on your distro? I have no idea what Linux distributions out there use to initialize bash. (Are you using bash or sh or maybe something else?)
In any case you need to open a new terminal once you do the changes.
An alternative should be to put the binary path into PATH.
Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an
entry to
the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to
___________________________________________________________________________________ the Wiki!
maillist : ntg-context@ntg.nl /
http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
-- Khaled Hosny Arabic localizer and member of Arabeyes.org team
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIX+F2RoqITGOuyPIRApK1AJsHZRiDsHNb3qo0KVWXG4xochERDQCcCj3G R3/p4e0GzYyMIZqW4OU0p/w= =l2bA -----END PGP SIGNATURE-----
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
participants (4)
-
Alan Stone
-
Arthur Reutenauer
-
Khaled Hosny
-
Mojca Miklavec