auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-devel] Re: rfe: dtk.cls support


From: Stephan Hennig
Subject: [AUCTeX-devel] Re: rfe: dtk.cls support
Date: Mon, 02 Oct 2006 11:29:42 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.4.0 Hamster/2.1.0.11

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]