Reinitialization of kpathsea after \write18

Zhang Lin-bo <[email protected]> Mon, 6 Dec 2004 21:38:43 +0800 (CST)
Newsgroups gmane.comp.tex.tetex.beta
Message-ID <[email protected]>
Hi, All,

This may be regarded as a feature request. It might have been
implemented or discussed before, but I don't know where to find :(
(I'm using teTeX 2.0.2-21 from FC3).

I'm trying to use the \write18 function to implement a feature to
create on the fly the configuration files and font metric files for
a given Chinese font (the newly created files are stored in the
HOMETEXMF tree), and I run into a trouble that the newly created
files are not seen by the running instance of the TeX program.

I think a possible remedy to this problem is to reinitialize the
kpathsea library each time \write18 is called, which allows new
files created during the execution of the external command to
be found by subsequent TeX code.

So my question is: is it possible to add the above feature to
the incoming new version of teTeX (3.0?)? (or maybe I'm not doing
things the right way?)

Thanks in advance for any information/comments.

Best regards,
LB

--