[NTG-context] tetex3 ubuntu install (was : installing tetex on ubuntu : basics log)

2005-12-04 Thread olivier Turlier
Hi everybody,

I still have pbs for this (begin to be) hard to achieve task (compared
of unziping mswincontext.zip on a :\C drive...)

1) I can't succed in adding executables to the path, with my various
tryies, here is my .bash_profile :
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi

export
PATH=/usr/local/teTeX/bin/i686-pc-linux-gnu:/usr/local/teTeX/bin/i686-pc-linux-gnu:/usr/local/teTeX/bin/i686-pc-linux-gnu:/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/games

2) emacs+ auctex nor scite (installed before : maybe a reinstall ?) are
not context aware, so I can only texexec via the terminal
2) is texmfstart working on linux ? 


PS : when everything will be fine, (tetex3 install, same .pdf results
between mswincontext and tetex3, scite linux integration (hard to change
editor now), i'll add this to ubuntu wiki section

TIA, olivier


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] tetex3 ubuntu install (was : installing tetex on ubuntu : basics log)

2005-12-04 Thread Taco Hoekwater

Hi,

olivier Turlier wrote:

Hi everybody,

I still have pbs for this (begin to be) hard to achieve task (compared
of unziping mswincontext.zip on a :\C drive...)

1) I can't succed in adding executables to the path, with my various
tryies, here is my .bash_profile :


Have you tried to put your PATH= and export statements on two separate
lines? Like so:

  if [ -f ~/.bashrc ]; then
 source ~/.bashrc
  fi

  PATH=/usr/local/teTeX/bin/i686-pc-linux-gnu:$PATH
  export PATH


(I wouldn't be very surprised if the 'exportassignment' shortcut
only works in an interactive shell. )



2) emacs+ auctex nor scite (installed before : maybe a reinstall ?) are
not context aware, so I can only texexec via the terminal
2) is texmfstart working on linux ? 



PS : when everything will be fine, (tetex3 install, same .pdf results
between mswincontext and tetex3, scite linux integration (hard to change
editor now), i'll add this to ubuntu wiki section


It works OK for me (using a from-scratch teTeX 3.0).

Cheers, Taco

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] tetex3 ubuntu install (was : installing tetex on ubuntu : basics log)

2005-12-04 Thread Thomas A. Schmitz
OK, since you're having so much trouble, I'll try to explain a few  
things:


1. Your trouble with Ubuntu: you copied the command as is from the  
document INSTALL in tetex:


gzip -dc
tetex-texmf.tar.gz \| (umask 0; cd /usr/local/teTeX/share/texmf-dist;
tar xvf -)

In the tetex document, the \ was just there because the line was  
continued, it wasn't meant to be retyped by you in the middle of the  
line. Rewrite the command without it, and you'll be fine. Please  
don't put anything along the lines you tried into the wiki, Ubuntu is  
working fine here, that was just a user error.


2. .bash_profile is read by login shells only, so if you set your  
$PATH there, you have to either log out and then back in or run the  
command


source .bash_profile

3. I have a dim memory that the way auctex is set up on Ubuntu, it  
calls sh and doesn't take your current path into account. This is  
easy to fix: in emacs, type

M-x customize-variable RET TeX-command-list
In the buffer that opens, scroll down till you see the variable for  
ConTeXt, which is set to texexec --pdf --nonstop --texutil %t
instead of texexec, give the full path: /usr/local/teTeX/bin/i686-pc- 
linux-gnu/tetex

and you should be fine.

Most of what you're experiencing are not real ConTeXt problems, but  
general shell/path/auctex problems. If they are to appear in the Wiki  
(I'm not sure they should), this should be in a section of its own.  
They're definitely not special or restricted to Ubuntu.


HTH

Thomas

On Dec 4, 2005, at 4:19 PM, olivier Turlier wrote:


Hi everybody,

I still have pbs for this (begin to be) hard to achieve task (compared
of unziping mswincontext.zip on a :\C drive...)

1) I can't succed in adding executables to the path, with my various
tryies, here is my .bash_profile :
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi

export
PATH=/usr/local/teTeX/bin/i686-pc-linux-gnu:/usr/local/teTeX/bin/ 
i686-pc-linux-gnu:/usr/local/teTeX/bin/i686-pc-linux-gnu:/usr/local/ 
bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/ 
games


2) emacs+ auctex nor scite (installed before : maybe a reinstall ?)  
are

not context aware, so I can only texexec via the terminal
2) is texmfstart working on linux ?


PS : when everything will be fine, (tetex3 install, same .pdf results
between mswincontext and tetex3, scite linux integration (hard to  
change

editor now), i'll add this to ubuntu wiki section

TIA, olivier


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context