[tex-k] Speed of kpsewhich when querying the repertories of theTeX installation

Akira Kakuto kakuto at fuk.kindai.ac.jp
Sat May 2 18:13:25 CEST 2015


Hi,

> Although kpsewhich from TL2015 will be six times faster
> on Mac OS, it is still frustrating to have perhaps still 
> 75% of the launching time of AUCTeX mode explained by these 
> remaining 3 kpsewhich calls.

If you make your own command kpsevarinfo by replacing
cnf.c by cnf2.c, where in cnf2.c kpathsea_init_db (kpse);
in the line 250 is omitted,
kpsevarinfo -var-value=TEXMFHOME
may be about 10 times faster than
kpsewhich -var-value=TEXMFHOME

Note that kpsevarinfo may be usable only to obtain
information on variables.

Best,
Akira



More information about the tex-k mailing list