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

Re: ConTeXt installtion and Debian



On Mit, 25 Okt 2006, Ralf Stubner wrote:
> export TEXMFSYSCONFIG=/var/lib/texmf

Damned am I stupid, putting the stuff into /usr/share/texmf/web2c. Why
did NOBODY tell me that I am blind...

Correct solution is now in the code:
texmfsysvar=$(kpsewhich -expand-var '$TEXMFSYSVAR')
texmfvar=$(kpsewhich -expand-var '$TEXMFVAR')

if [ "$(id -u)" -eq 0 ] ; then
  TEXFORMATS=$texmfsysvar/web2c
else
  TEXFORMATS=$texmfvar/web2c
fi
export TEXFORMATS

That's all that is needed.

Thanks a lot!

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at>                    Università di Siena
Debian Developer <preining@debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
`Time is an illusion. Lunchtime doubly so.'
you should send that in to the
"Reader's Digest". They've got a page for people like you.'
                 --- Ford convincing Arthur to drink three pints in ten
                 --- minutes at lunchtime.
                 --- Douglas Adams, The Hitchhikers Guide to the Galaxy



Reply to: