Brian Elmegaard <address@hidden> writes:
Hi Brian,
This is the output of
C-x C-e (TeX-macro-global) RET
("c:/Users/brel/AppData/Local/Programs/MiKTeX 2.9/tex/"
"c:/Users/brel/AppData/Local/Programs/MiKTeX 2.9/bibtex/bst/")
so this looks correct, I guess.
Yes, looks good to me, too.
I also have kpsewhich in %PATH%.
On the other hand I do not have the environment variable SYSTEXMF
set. MikTeX does not use this. Is that a problem?
No, I don't think so. TeX-macro-global queries for "$SYSTEXMF"
"$TEXMFLOCAL" "$TEXMFMAIN" "$TEXMFDIST".
Ok, so lets see further. The list of LaTeX packages for completion are
gathered by
(TeX-search-files-by-type 'texinputs 'global t t)
What does that return in one of you tex buffers?
In my case, that function calls
(TeX-search-files-kpathsea "${TEXINPUTS.latex}"
("tex" "sty" "cls" "ltx" "texi" "txi" "texinfo" "dtx")
'global t t)
which returns the list of all packages.
Maybe in your case TeX-search-files-kpathsea doesn't return anything
because the TeX-kpathsea-path-delimiter couldn't be configured
automatically?
In case you know how to use M-x edebug, this is the corner where you
should have a look at.
Bye,
Tassilo