[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: latex packages



* Sebastiaan <sebas@sacred-key.org>, 2001-04-18 11:19 +0200:
> I have a program that comes with addiditional packages for latex2e. I want
> to use them system wide (and not copy them to the current dir), so I made
> a directory in /usr/share/texmf/tex/latex/maple and copied the files to
> that directory. Unfortunately, latex does not see them. I also tried to
> rename the directory to the package name (maple2e) and a few other things,
> without succes.
> 
> Does latex contain a database somewhere, or what am I doing wrong?

You'd better set up a tree in /usr/local/share/, it's cleaner and
prevents possible problems on upgrades. Then, edit /etc/texmf/texmf.cnf
to reflect your new settings. Last, run "texhash" as root, which will
update the database tetex maintains. (You could also run "fmtutil --all"
just in case). BTW there's also "texconfig", a graphical frontend to
tetex's settings.

The beginning of my /etc/texmf/texmf.cnf for reference.

% texmf.cnf -- runtime path configuration file for kpathsea.
TEXMFMAIN = /usr/share/texmf
TEXMFLOCAL = /usr/local/share/texmf
HOMETEXMF = $HOME/Texmf
TEXMF = {!!HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN}
SYSTEXMF = $TEXMF
VARTEXFONTS  = /var/spool/texmf
TEXMFDBS = $TEXMF;$VARTEXFONTS

[Rest of the setup file uncachged]

Andre Berger                                [andre.berger@topmail.de]

Attachment: pgpwoQf9XCRgj.pgp
Description: PGP signature


Reply to: