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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37171 in the body.
You can then email your comments to 37171 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-auctex <at> gnu.org
:
bug#37171
; Package
auctex
.
(Sat, 24 Aug 2019 00:55:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
reinhard.kotucha <at> web.de
:
New bug report received and forwarded. Copy sent to
bug-auctex <at> gnu.org
.
(Sat, 24 Aug 2019 00:55:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
------------------------------------------------------------------
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#37171
; Package
auctex
.
(Sat, 24 Aug 2019 11:49:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 37171 <at> debbugs.gnu.org (full text, mbox):
Hi Reinhard,
Reinhard Kotucha <reinhard.kotucha <at> web.de> writes:
> 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.
AUCTeX comes with plenty of options for configure. I think you want to
set `--with-lispdir', `--with-tex-dir' and `--with-doc-dir' to
directories of your choice. Please check the manaul for more
details[1]. I use AUCTeX directly out of my local git repo and don't
install it at all :-)
Best, Arash
Footnotes:
[1] https://www.gnu.org/software/auctex/manual/auctex.html#Configure
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#37171
; Package
auctex
.
(Sat, 24 Aug 2019 14:04:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 37171 <at> debbugs.gnu.org (full text, mbox):
>>>>> Arash Esbati <arash <at> gnu.org> writes:
> Hi Reinhard,
> Reinhard Kotucha <reinhard.kotucha <at> web.de> writes:
>> 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.
> AUCTeX comes with plenty of options for configure. I think you want to
> set `--with-lispdir', `--with-tex-dir' and `--with-doc-dir' to
> directories of your choice. Please check the manaul for more
> details[1].
I always do
./configure --with-texmf-dir=/usr/local/texlive/texmf-local
and it works well. That place is common to all versions of TeXLive.
>>>>> Reinhard Kotucha <reinhard.kotucha <at> web.de> writes:
> 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.
You might be interested in syncing with rsync: https://rsync.samba.org/
Regards,
Ikumi Keita
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#37171
; Package
auctex
.
(Sat, 24 Aug 2019 22:44:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 37171 <at> debbugs.gnu.org (full text, mbox):
On 2019-08-24 at 13:48:16 +0200, Arash Esbati wrote:
> Hi Reinhard,
>
> Reinhard Kotucha <reinhard.kotucha <at> web.de> writes:
>
> > 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.
>
> AUCTeX comes with plenty of options for configure. I think you want to
> set `--with-lispdir', `--with-tex-dir' and `--with-doc-dir' to
> directories of your choice. Please check the manaul for more
> details[1]. I use AUCTeX directly out of my local git repo and don't
> install it at all :-)
Sorry for the noise and thank you for the link.
Regards,
Reinhard
--
------------------------------------------------------------------
Reinhard Kotucha Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover mailto:reinhard.kotucha <at> web.de
------------------------------------------------------------------
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#37171
; Package
auctex
.
(Sun, 25 Aug 2019 19:48:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 37171 <at> debbugs.gnu.org (full text, mbox):
Ikumi Keita <ikumi <at> ikumi.que.jp> writes:
> I always do
> ./configure --with-texmf-dir=/usr/local/texlive/texmf-local
> and it works well. That place is common to all versions of TeXLive.
I vaguely remember that texmf-local used to be under texlive/YEAR and
parallel to texmf-dist. The separation came sometimes after 2003. But
again, I might be wrong here.
Best, Arash
Reply sent
to
Arash Esbati <arash <at> gnu.org>
:
You have taken responsibility.
(Sun, 25 Aug 2019 19:48:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
reinhard.kotucha <at> web.de
:
bug acknowledged by developer.
(Sun, 25 Aug 2019 19:48:03 GMT)
Full text and
rfc822 format available.
Message #22 received at 37171-done <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#37171
; Package
auctex
.
(Mon, 26 Aug 2019 05:47:01 GMT)
Full text and
rfc822 format available.
Message #25 received at 37171 <at> debbugs.gnu.org (full text, mbox):
>>>>> Arash Esbati <arash <at> gnu.org> writes:
> I vaguely remember that texmf-local used to be under texlive/YEAR and
> parallel to texmf-dist. The separation came sometimes after 2003. But
> again, I might be wrong here.
Ah, then I should have added "at least for recent years" to my comment.
Thanks for letting me know.
Best,
Ikumi Keita
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 23 Sep 2019 11:24:07 GMT)
Full text and
rfc822 format available.
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.