GNU bug report logs -
#37171
preview-latex TeX files
Previous Next
Reported by: reinhard.kotucha <at> web.de
Date: Sat, 24 Aug 2019 00:55:01 UTC
Severity: normal
Done: Arash Esbati <arash <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sun, 25 Aug 2019 21:44:12 +0200
with message-id <86v9ulqbcj.fsf <at> gnu.org>
and subject line Re: bug#37171: preview-latex TeX files
has caused the debbugs.gnu.org bug report #37171,
regarding preview-latex TeX files
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
37171: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37171
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hello everybody,
I assume that the preview-latex TeX files are not shipped with TeX Live
or MiKTeX because they have to be kept in sync with AUCTeX in the
first place.
When I install AUCTeX with "./configure && make && make install" these
files are installed into the current TeX Live installation. This is
fine if there is only one TeX Live installation but I have all TeX
Live releases as of 2003 installed and thus have to run at least "make
install" on all of them.
Furthermore, I'm using Emacs on various machines and thus I install
local additions in ~/.emacs.d/site-lisp rather than in /usr/local and
use version control (Subversion) in order to keep all my machines in
sync. You can't imagine how convenient this is.
I'm now wondering whether it's possible to maintain the preview-latex
TeX files within the auctex directory i.e., make auctex/preview-latex
self-contained. Given that preview-latex makes only sense when
invoked from within Emacs, then the TeX files can be put into the
auctex directory and something like
(setenv "TEXINPUTS" (concat "<path/to/auctex/preview>:" (getenv "TEXINPUTS")))
makes the files accessible to TeX. Please note the trailing colon.
It's necessary in order to tell kpathsea to append path components
derived from texmf.cnf.
It works here with
(setenv "TEXINPUTS"
(concat "~/.emacs.d/site-lisp/auctex/preview:" (getenv "TEXINPUTS")))
and the file preview.sty is found. For general use it's necessary to
determine the location of the auctex directory in order to set
TEXINPUTS. In my case the location is static.
Can't we make AUCTeX and preview-latex self-contained (decouple them
from TeX distributions) this way? I suppose that the semantics of
TEXINPUTS are the same in TeX Live and MiKTeX but testing can't hurt.
Regards,
Reinhard
--
------------------------------------------------------------------
Reinhard Kotucha Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover mailto:reinhard.kotucha <at> web.de
------------------------------------------------------------------
[Message part 3 (message/rfc822, inline)]
Reinhard Kotucha <reinhard.kotucha <at> web.de> writes:
> Sorry for the noise and thank you for the link.
No problem, I'm closing this one then.
Best, Arash
This bug report was last modified 5 years and 349 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.