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: Sat, 30 Sep 2006 17:15:34 +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:
> 
>> 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:

BIBINPUTS
Extra paths to locate .bib files.

BSTINPUTS
Extra paths to locate .bst files.

MFINPUTS
Extra paths to locate METAFONT input and openin files.

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

MIKTEX_TRACE
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.

MPINPUTS
Extra paths to locate MetaPost input files.

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

TFMFONTS
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
TEXMFLOCAL=d:/localtexmf

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

H:\home>

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

H:\home>


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]