emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#37171: closed (preview-latex TeX files)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#37171: closed (preview-latex TeX files)
Date: Sun, 25 Aug 2019 19:48:02 +0000

Your message dated Sun, 25 Aug 2019 21:44:12 +0200
with message-id <address@hidden>
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
address@hidden.)


-- 
37171: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37171
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: preview-latex TeX files Date: Sat, 24 Aug 2019 02:53:54 +0200
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:address@hidden
------------------------------------------------------------------



--- End Message ---
--- Begin Message --- Subject: Re: bug#37171: preview-latex TeX files Date: Sun, 25 Aug 2019 21:44:12 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50
Reinhard Kotucha <address@hidden> writes:

> Sorry for the noise and thank you for the link.

No problem, I'm closing this one then.

Best, Arash


--- End Message ---

reply via email to

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