[Top][All Lists]

[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: Sat, 30 Sep 2006 17:15:34 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/20060909 Thunderbird/ Mnenhy/ Hamster/

Ralf Angeli schrieb:
> * Stephan Hennig (2006-09-30) writes:
>> d:/localtexmf
>> is not covered by TeX-macro-global automatically.  Is this to prevent
>> AUCTeX from getting trouble with directories with no access permissions?
> Is d:/localtexmf configured as $TEXMLOCAL?

No.  I've never got in touch with TEXMFLOCAL before.  I wonder if MiKTeX
uses that variable at all.  Only the following variables are documented
to be read by MiKTeX:

Extra paths to locate .bib files.

Extra paths to locate .bst files.

Extra paths to locate METAFONT input and openin files.

Location of the package repository. This can be either a fully qualified
path name (a local package repository) or an URL (a remote package

Comma-separated list of trace stream names (see Chapter 9, Trace
Streams). If this variable is set, then MiKTeX programs will write trace
messages into the DebugView window.

Extra paths to locate MetaPost input files.

Extra paths to locate TeX \input and \openin files.

Extra paths to locate TeX font metric files

> 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

H:\home>kpsewhich --progname latex --expand-path "$TEXMFLOCAL"
C:/Dokumente und Einstellungen/All Users/Anwendungsdaten/MiKTeX/2.5


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
> [...]

If that's a portable solution I don't know.  But I don't know about
kpsewhich either, since both switches used in your call, --progname and
--expand-path, are listed as deprecated in MiKTeX:

H:\home>kpsewhich --help
Usage: kpsewhich [OPTION...]
  -alias=APP              Pretend to be APP, i.e., use APP's configuration
                          settings when searching for files.
  -expand-path=PATH       Deprecated.
  -expand-var=VAR         Deprecated.
  -engine=ENGINE          Unsupported.
  -file-type=FILETYPE     The type of the file to search for.
  -format=FORMAT          Deprecated.
  -list-file-types        List known file types.
  -must-exist             Run the package installer, if necessary.
  -progname=PROGNAME      Deprecated.
  -show-path=FILETYPE     Show the search path for a certain file type.
  -start                  Start the associated program.
  -version                Print version information and exit.

Help options:
  -?, --help              Show this help message
  --usage                 Display brief usage message


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.

Best regards,
Stephan Hennig

reply via email to

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