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

Re: Setting Tex and metapost paths without env variables



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.

-- 
Ian Zimmerman, Oakland, California, U.S.A. 
if (sizeof(signed) > sizeof(unsigned) + 4) { delete this; }
GPG: 433BA087  9C0F 194F 203A 63F7 B1B8  6E5A 8CA3 27DB 433B A087



Reply to: