Re: Setting Tex and metapost paths without env variables
Ian Zimmerman <itz@speakeasy.org> schrieb:
> Wookey> In order to initially package it I have done as suggested in
> Wookey> the developers reference and renamed the therion binary to
> Wookey> therion.bin and made 'therion' a shell script that sets these
> Wookey> variables (or uses existing settings if present), exports them
> Wookey> and then runs therion.bin.
>
> Wookey> However this seems like something of a hack, and is not
> Wookey> exactly encouraged as a practice in the docs, so I wonder if
> Wookey> it would be 'better' if therion were to add it's macros to the
> Wookey> Tex and metapost paths properly. Is there a nice Debian way to
> Wookey> do this (I know very little about either of these programs)?
>
> I would just put them in a suitable subdirectory/-ies of
> /usr/share/texmf (probably a new one) and run /usr/bin/texhash
> in postinst and postrm of the package.
An alternative would be to use files in /etc/texmf/texmf.d/. But I'd
prefer adding them at the appropriate places to $TEXMFMAIN,
i.e. /usr/share/texmf.
Bye, Frank
--
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie
Reply to: