[OS X TeX] Novice needs your help in latex2html and latex2rtf
Peter Dyballa
Peter_Dyballa at Web.DE
Sun Nov 20 18:21:01 EST 2005
Am 20.11.2005 um 23:10 schrieb Yan:
> I'm using TexShop and iTexMac, is there any configuration here thus I
> can run
> the latex2html and
> latex2rtf by pressing some buttons?
There are no button ...
>
> Your help will be highly apprecaited!
>
You need to fix a problem with paths to the binaries or programmes.
There are about three ways. The most easiest one is determine what your
login shell is. In Terminal you might type
echo $SHELL
If the answer is /bin/tcsh, then you need to edit .tcshrc and add this
line to it:
source /sw/bin/init.csh
If the answer is /bin/bash, then you need to edit .bashrc and add this
line to it:
. /sw/bin/init.sh
When you now log-off and log-in again it might be fixed. If not, then
next method comes into action:
If your login shell is /bin/tcsh, then you need to edit /etc/csh.login
and add these lines to it:
if ("${uid}" != "0") then
source /sw/bin/init.csh
endif
If your login shell is /bin/bash, then you need to edit /etc/profile
and add these lines to it:
if [ `whoami` != "root" ]
then
. /sw/bin/init.sh
fi
If this fails too after logging off and logging in again, there is one
third option as described in this document:
http://developer.apple.com/qa/qa2001/qa1067.html. The key PATH should
have a value based of what Terminal reports when you type 'echo $PATH'
added by ':/sw/bin'. The setting in ~/.MacOSX/environment.plist should
work at once when you launch an application anew.
--
Greetings
Pete
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
-Benjamin Franklin, Historical Review of Pennsylvania.
------------------------- 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 Archive: http://tug.org/pipermail/macostex-archives/
More information about the MacOSX-TeX
mailing list