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

/usr/local/share/texmf



Hi list!

I needed to install ctable which as far as I know is not included in
Debian.

I found a script "getlatex" on
http://biostat.mc.vanderbilt.edu/twiki/pub/Main/DocProcess/getlatex
for installing additional latex packages. I modified it to use
$TEXMFLOCAL from /etc/texmf/texmf.cnf, and install into that dir.

I see that $TEXMFLOCAL defaults to /usr/local/share/texmf. However,
when the original author of getlatex tested my modified version of
getlatex it became apparent that /usr/local/share/texmf did not exist
on his Debian system. It seems that only /usr/local/lib/texmf is
created automatically in the postinst of tetex-base

$ grep /usr/local /var/lib/dpkg/info/tetex*
/var/lib/dpkg/info/tetex-base.postinst:mkdir /usr/local/lib/texmf 2> /dev/null || true
/var/lib/dpkg/info/tetex-base.postinst:chmod 2775 /usr/local/lib/texmf 2> /dev/null || true
/var/lib/dpkg/info/tetex-base.postinst:chown root:staff /usr/local/lib/texmf 2> /dev/null || true
/var/lib/dpkg/info/tetex-base.postinst:mkdir /usr/local/lib/texmf/doc 2> /dev/null || true
/var/lib/dpkg/info/tetex-base.postinst:chmod 2775 /usr/local/lib/texmf/doc 2> /dev/null || true
/var/lib/dpkg/info/tetex-base.postinst:chown root:staff /usr/local/lib/texmf/doc 2> /dev/null || true
/var/lib/dpkg/info/tetex-base.postinst:#(cd /usr/doc/texmf; rm -f local; ln -s /usr/local/lib/texmf/doc local 2> /dev/null)

Since $TEXMFLOCAL defaults to /usr/local/share/texmf, why not create
that dir automatically?

May I suggest that you include getlatex or another script with similar
functionality in /usr/share/doc/tetex-bin/examples/ ?

Kind regards,

-- 
Note that I use Debian version 3.1
Linux samir 2.6.9-1-386 #1 Thu Nov 25 02:52:40 EST 2004 i586 GNU/Linux

Hans Ekbrand (http://sociologi.cjb.net) <hans@sociologi.cjb.net>

Never trust a message that appears to come from me but is not signed
with GPG! It is most likely SPAM or a VIRUS sent by someone who has my
adress and got infected.

My public key, ID 7050614E, is available from the HKP key servers and
here: http://sociologi.cjb.net/~hans/key.txt

Attachment: signature.asc
Description: Digital signature


Reply to: