[tex-k] first steps with libkpathsea
te at dbs.uni-hannover.de
Mon Jun 13 20:19:38 CEST 2005
> I have no idea if I am at the right place to ask. I currently try my
> fist steps with libkpathsea and I wonder why I get "not found" in the
> following program:
Well, you might need to place your new program into the same directory
as your other TeX related programs are. Reason: there might be uses of
$SELFAUTO* variables in kpathsea/paths.h and $TEXMF/web2c/texmf.cnf.
If you replace these variables by fixes paths, your program will work
independend from the location of the binary.
> So the question would be: how do I get the main TeX tree searched
> without reconfiguring texmf.cnf?
The following should work:
- move the binary
- set TEXMF in your environment, e.g. like this
export TEXMF=`kpsewhich -var-value TEXMF`
- if necessary, set TEXMFCNF in your environment, so that all your
texmf.cnf files are found
The following does not work:
- set SELFAUTOPARENT etc. in your environment
More information about the tex-k