[OS X TeX] Man and info pages in gwTeX
Bruno Voisin
bvoisin at mac.com
Sun May 8 15:53:44 CEST 2005
Are there specific reasons why info and man pages are not added to
the corresponding default paths, in the same way as for the bin
executables, when the TeX and GS i-Packages are installed? Is this
security-connected?
I'm asking this because, with the default setup, it's not possible to
use "man" in Terminal, or in utilities like ManOpen, for TeX and
friends. Noticing that for DarwinPorts it's recommended to add in
~/.profile stuff like (for bash):
# DarwinPorts path additions
export PATH=$PATH:/opt/local/bin
export MANPATH=$MANPATH:/opt/local/share/man
export INFOPATH=$INFOPATH:/opt/local/share/info
I've been thinking of doing the same for gwTeX. Namely, replacing for
bash, in /etc/profile, the lines (added when the GS i-Package is
installed with CLI activation selected):
if [ `whoami` != "root" ]
then
PATH="$PATH:/usr/local/bin"
export PATH
fi
by:
if [ `whoami` != "root" ]
then
PATH="$PATH:/usr/local/bin"
export PATH
MANPATH="$MANPATH:/usr/local/man"
export MANPATH
INFOPATH="$INFOPATH:/usr/local/info"
export INFOPATH
fi
and the lines (added when the TeX i-Package is installed with CLI
activation selected):
if [ `whoami` != "root" ]
then
PATH="$PATH:/usr/local/teTeX/bin/powerpc-apple-darwin-current"
export PATH
fi
by:
if [ `whoami` != "root" ]
then
PATH="$PATH:/usr/local/teTeX/bin/powerpc-apple-darwin-current"
export PATH
MANPATH="$MANPATH:/usr/local/teTeX/man"
export MANPATH
INFOPATH="$INFOPATH:/usr/local/teTeX/info"
export INFOPATH
fi
and similarly in /etc/csh.login for csh.
Are there specific reasons why this should better not be done? If
not, could it be added to the default CLI activation options?
Bruno Voisin
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the macostex-archives
mailing list