I found this package for latex that gives me the ability to typeset organic structural formulae and reaction schemes for chemistry. I'm having trouble with installing it though.
I read through the installation steps in the manual and it tells me that I need to edit the
install.cfg.UNIX file which contains:
[PATH] BINDIR=/usr/local/ochem M4BINDIR=/usr/bin INCDIR=/usr/local/ochem DVIPSDIR=/usr/local/tetex/dvips/ochem STYLEDIR=/usr/local/tetex/tex/latex/ochem MODULDIR=/usr/local/ochem DOCDIR=/usr/local/ochem/doc [SYSTEM] SYSTEM=UNIX
So I edited the file to this:
[PATH] BINDIR=/usr/share/ochem M4BINDIR=/usr/bin INCDIR=/usr/share/ochem DVIPSDIR=/usr/share/texmf-texlive/dvips/ochem STYLEDIR=/usr/share/texmf-texlive/tex/latex/ochem MODULDIR=/usr/share/ochem DOCDIR=/usr/share/ochem/doc [SYSTEM] SYSTEM=UNIX
When I try to install the package, it says that it works, but when I try to typeset one of the examples, it tells me that it can't find
ochem.sty. I then tried navigating to the directories that the install was supposed to make and they didn't exist. So I made the directories manually and tried the install again. I still get the missing
Did I edit
install.cfg.UNIX correctly? My latex distribution is texlive 2009 on Ubuntu 10.10.
EDIT: I did try running
sudo texhash and it still doesn't work.