Auctex pkg: summary and state of art

Stephen J. Turnbull stephen at xemacs.org
Mon Sep 6 21:21:20 EDT 2004


>>>>> "Uwe" == Uwe Brauer <oub at mat.ucm.es> writes:

    Uwe> Note please that I write $prefix/xemacs-packages and not
    Uwe> $prefix/lib. The former is chosen in my Debian installation.

For making the package itself, it doesn't matter.  The package is
created relative to xemacs-packages, and should be untarred with cwd =
.../xemacs-packages.  Is this (absolute) directory referred to from
inside AUCTeX?  If so, in XEmacs it should be changed to a form based
on `locate-data-directory', as you have in (6).

Also, $prefix refers to /usr/local by (XEmacs) default, and usually to
/usr, or something under /opt, in OS distros that package XEmacs.  In
particular, in Debian it is /usr, while the packages are in
/usr/share/xemacs21/{xemacs,mule}-packages as far as I know.  Is that
incorrect, or are we using different ideas of $prefix?

    Uwe>         (6) now the tex-site.el file has to be edited. Using
    Uwe> Steve Y idea, we will have.

    Uwe> (defvar TeX-lisp-directory 
    Uwe> (file-name-as-directory
    Uwe>    (expand-file-name "style" (locate-data-directory "auctex")))
    Uwe>    "*The directory where the AUCTeX lisp files are located.")

    Uwe>         (7) the *real* problem is the _variable_ 

    Uwe> (defcustom TeX-macro-global
[...]

    Uwe> I have no idea what to do here. This is the directory where
    Uwe> part of the tex installation is located. It is machine
    Uwe> dependent and has been found in this case by configure. This
    Uwe> looks really wired anybody has an idea?

Find out what configure does.  It's probably something based on
kpsewhich.  In any case, tex-site should be able to do it at run-time,
at negligible cost.



-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.




More information about the XEmacs-Beta mailing list