Re: Reinitialization of kpathsea after \write18

Zhang Lin-bo <[email protected]> Thu, 9 Dec 2004 15:15:35 +0800 (CST)
Newsgroups gmane.comp.tex.tetex.beta
Message-ID <[email protected]>
Thanks for the hint.
I'm sorry I know too few about the TEXMF databases :(

I solved my problem by using a wrapper program which removes
$HOMETEXMF/ls-R before launching tex.

It might be interesting to add a few more functionalities to
kpse (without breaking existing rules and compitibility with
other tools such as MikTeX). E.g., reload the ls-R's upon
receiving the HUP signal. Then the mktextfm (or \write18)
script can simply do a 'kill -HUP PPID' to tell kpse to
refresh its filenames database when needed ...

Thanks again.

LB

On Thu, 9 Dec 2004, Thomas Esser wrote:

>> a directory listed in $TEXMF doesn't have the '!!' prefix
>> it should be skipped by 'mktexlsr' (unless when it's
>
> Well, the meaning of !! is different. To get what you want, you have
> to set
>  TEXMFDBS
> in a way that excludes your $HOMETEXMF, e.g.
>  TEXMFDBS = {!!$TEXMFLOCAL,!!$TEXMFMAIN,!!$TEXMFDIST};$VARTEXFONTS
>
> Thomas
>

--