Ralf Angeli schrieb: > * Stephan Hennig (2006-09-30) writes: > >>> AUCTeX calls kpsewhich to figure this out. You can check it by >>> executing >>> kpsewhich --progname latex --expand-path "$TEXMFLOCAL" >>> in a Windows prompt. >> >> That call fails even if I set TEXMFLOCAL: >> >> H:\home>set TEXMFLOCAL >> TEXMFLOCAL=d:/localtexmf >> >> H:\home>kpsewhich --progname latex --expand-path "$TEXMFLOCAL" >> C:/Dokumente und Einstellungen/All Users/Anwendungsdaten/MiKTeX/2.5 >> >> H:\home> > > It doesn't fail. On the contrary. It succeeds and shows you were the > TEXMFLOCAL tree is located.
If that succeeded, I cannot see any option to change TEXMFLOCAL within MiKTeX. Neither is there any mention of TEXMFLOCAL in the documentation nor did I find a configuration file containing the string TEXMFLOCAL. Especially non that set it to "C:/Dokumente und Einstellungen/All Users/Anwendungsdaten/MiKTeX/2.5". Of course I can see that path in "MiKTeX Options". But there are no means to register single texmf trees as local or global. For that reason I wonder that your call returns just the above mentioned path. > Your d:/localtexmf is actually a personal (per user) tree. That means > it shouldn't be part of `TeX-macro-global' but rather of > `TeX-macro-private'. No. I'm quite ignorant about MiKTeX's default texmf trees since those path names are rather long winded and contain spaces which I try to avoid. So TEX-macro-global should be the right variable for d:\localtexmf. It would be nice if AUCTeX could find that tree automatically. However, as I see it now that might well be a problem of MiKTeX's configuration concept rather than an issue with AUCTeX. >> As I already wrote all texmf trees known to MiKTeX can be found in the >> output of 'initexmf --report': >> >>> [...] >>> Root0: C:\Dokumente und Einstellungen\unknown\Anwendungsdaten\MiKTeX\2.5 >>> Root1: C:\Dokumente und Einstellungen\unknown\Lokale >>> Einstellungen\Anwendungsdaten\MiKTeX\2.5 >>> Root2: C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\MiKTeX\2.5 >>> Root3: D:\localtexmf >>> Root4: D:\texmf >>> [...] > > Apart from reporting all sort of unrelated junk it lists personal > trees as well, which is undesirable for `TeX-macro-global'. Of course, but aren't we dealing with computers? It shouldn't be difficult to identify the relevant information in the output. But then again there is no way to distinguish between local and global trees. >> To summarize: With MiKTeX AUCTeX doesn't see all texmf trees available. >> After all I've been able to set TEX-macro-global manually. However, it >> would be nice if AUCTeX were able to recognize local trees automatically. > > If MiKTeX provided a clean interface returning global and personal > trees ... Sigh. Thanks to you and David for pointers and assistance. Best regards, Stephan Hennig _______________________________________________ auctex-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex-devel
