[tex-live] AUCTeX state
Reinhard Kotucha
reinhard.kotucha at web.de
Sat May 10 22:59:00 CEST 2008
Ralf Angeli writes:
> * Reinhard Kotucha (2008-05-07) writes:
>
> > I now upgraded to Emacs 22.2 now and removed obsolete stuff.
>
> Does the upgrade include image libraries?
Yes, stolen from your last alpha version.
$ ls -1 bin/*.dll
bin/libXpm.dll
bin/libpng13.dll
bin/libtiff3.dll
bin/zlib1.dll
I've also stolen the license file COPYING-IMAGELIBS.
What is still missing is jpeg62.dll which we did't include in the past
but I found a Windows dll on sourceforge. No problem for me to
include it too.
> > Coming back to the question I asked David in Bachotek: Unless some
> > MinGW programs are installed, Emacs is the only program on Windows
> > which can display manpages and info files.
> >
> > Is there any possibility to make Emacs aware of TeX Live's MANPATH and
> > INFOPATH? It can be done somehow using kpsewhich. man/ and info/ are
> > relative to $SELFAUTOPARENT.
>
> Emacs checks for the environment variables MANPATH and INFOPATH and uses
> them if set. On Windows Emacs honors such variables if set in the
> registry in Software/Gnu/Emacs, see (info "(emacs)MS-Windows Registry").
> (I'm not sure if this is true for all such variables.)
Yes, but it's better to avoid the registry. Suppose you want to run
Emacs from a USB stick, then you don't want to 'install' anything.
It's already possible with TeX Live. It's accomplished by a shell
script/batch file which adds the TL bin directory to PATH and invokes
a new shell. Even Ghostscript and Perl are not installed anymore on
Windows. Programs which need them are invoked by wrapper scripts.
http://tug.org/svn/texlive/trunk/Master/tlpkg/doc/tlinst-BT08.pdf
> One can also set the variables `woman-manpath' and
> `Info-directory-list'.
Yes, this is what I had in mind, but instead of hard-code the TeX Live
paths here, determine them by using kpsewhich.
On Unix:
infodir=`kpsewhich --var-value=SELFAUTOPARENT`/texmf/doc/info
mandir=`kpsewhich --var-value=SELFAUTOPARENT`/texmf/doc/man
This would be quite convenient and I suppose that auctex already
determines the path to the LaTeX macro packages this way.
Don't know whether it makes much sense for TL-2008 because it will be
released in a few weeks, but it would be nice to have such a feature
in the future.
> I'm not sure if one really wants to go through the pain of configuring
> the respective variables during installation of TeX Live. Perhaps it
> would be easier and more intuitive for a Windows user if opening a man
> or info file from the Windows Explorer opened the respective viewer,
> i.e. Emacs if there is no other. But I haven't checked if this works or
> could be made to work.
It will certainly work for info files, for manpages it is a bit more
difficult because they have different extensions [1-9]. But as I said
before, running TeX Live from a USB stick without installing anything
is a great thing, and it would be great to have a portable Emacs for
Windows too.
Regards,
Reinhard
--
----------------------------------------------------------------------------
Reinhard Kotucha Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------
More information about the tex-live
mailing list