[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex
From: |
Andreas Breitbach |
Subject: |
Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex |
Date: |
Fri, 26 Jun 2009 11:49:29 +0200 |
Am Donnerstag, den 25.06.2009, 20:40 +0200 schrieb Ralf Angeli:
> * Andreas Breitbach (2009-06-25) writes:
>
> > Am Dienstag, den 23.06.2009, 21:07 +0200 schrieb Ralf Angeli:
> >>
> >> I'm not sure what you mean here. AUCTeX does not install RefTeX. But
> >> Emacs comes with RefTeX included. The files below
> >> /usr/share/emacs/22.2/lisp/textmodes/reftex likely belong to this latter
> >> version.
> > Yes, that's what I was originally assuming: RefTeX coming with AUCTeX, not
> > with Emacs(not considering that there's also a LaTeX mode in Emacs).
> >> >> Upon moving them to a directory in my ~, the complaints are gone.
> >>
> >> Which files?
> > The files in /usr/share/emacs/22.2/lisp/textmodes/reftex
>
> It's usually not a good idea to mess around in /usr/share because this
> is the domain of the package system. So as soon as you update Emacs,
> the changes will be gone.
>
> >> >> Setting up the Makefile with the above mentioned directory turns out
> >> >> "2009-04-29" on "C-h v reftex-version <RET>".
> >>
> >> Which directory?
> > That's how the Makefile looks now:
> > # Where local software is found
> > prefix=/usr/share
> > # Where local lisp files go.
> > lispdir=$(prefix)/emacs/22.2/lisp/textmodes
>
> Again, not a good idea. Especially the prefix setting is bad because
> installation routines usually expect to be directories like `bin',
> `share' or `man' below it. In case of the RefTeX Makefile this is not
> so much a problem as long as you change `lispdir' (what you did) and
> `infodir', but still ...
I assumed that's at least an unusual way in dealing with such stuff, but I also
assumed its the most direct way in getting to the desired result.
> If you want a clean installation I suggest you uninstall Emacs via the
> package system and clean any remains below /usr/share/emacs/22.2/lisp.
> Manually cleaning /usr/local/share/emacs/site-lisp from a previous
> RefTeX installation attempt might also be a good idea. Then install
> Emacs again via the package system and install RefTeX using the default
> Makefile, i.e. without making any changes in it. This should install
> RefTeX below /usr/local and the installation should override the one
> coming with Emacs.
Ok, that's exactly what I did.
Removed Emacs and anything connected with it, reinstalled it(The
respective packages were emacs22, emacs22-common, emacs,
emacs22-bin-common, emacs22-gtk, emacsen-common and emcas-goodies-el).
Then I downloaded the Makefile from CVS, having this content:
# Where local software is found
prefix=/usr/local
# Where info files go.
infodir=$(prefix)/share/info
# Where local lisp files go.
lispdir=$(prefix)/share/emacs/site-lisp/reftex
The fun starts when Emacs then gives "RefTeX version 4.31", and at the
same time "This manual documents RefTeX version 2009-04-29 from
2009-04-29."(as I did the proposals mentioned below) I also looked for
the library, reftex-base is not found,
but /usr/share/emacs/22.2/lisp/textmodes/reftex.elc, which is the
original one from the Emacs package done by Ubuntu.
> This is at least how it is working in my setup with the difference that
> I am using a self-compiled Emacs which is installed below /usr/local as
> well. If the installation of RefTeX in /usr/local does not work with an
> Emacs installed below /usr then this would likely be a bug in the
> installation procedure which should be fixed. (It could also be a
> problem with the Emacs package provided by Ubuntu.)
>
> >> I cannot reproduce the error with a CVS version of Emacs. Before I
> >> start testing with Emacs 22, could you please check if you can reproduce
> >> the error by starting Emacs with the following command line?
> >>
> >> emacs -Q -l auctex --eval "(progn (require 'reftex) (add-hook
> >> 'LaTeX-mode-hook 'turn-on-reftex) (setq reftex-plug-into-AUCTeX t
> >> reftex-cite-format \"\\\\footcite[]{%l}\" reftex-cite-prompt-optional-args
> >> t))" Emacs-bug.tex
> >>
> >> Then type `C-c [ 2 0 0 0 <RET> <RET> 3 <RET>'. In my case this inserts
> >> \footcite[3]{InternationalSecurity.1Summer.2000}
> >> into the buffer.
> > That also works for me now.
>
> That means everything is working now?
Yes, as I checked with the mentioned procedure yesterday(before doing any
changes to my setup) that worked.
To make sure the error is not in my .emacs, I will try to downsize that
one, throwing out unnecessary stuff.
> >> Also, I am still not convinced that the CVS version of RefTeX is
> >> installed correctly on your computer.
> > Which would be the litmus test to check for the installation?
>
> The version number is an indicator. Another one would be if other
> RefTeX Lisp files are found at the right spot which can be checked with
> something like `M-x locate-library <RET> reftex-base <RET>'. Yet
> another one would be if the documentation can be found with `C-h i d m
> RefTeX <RET>' and relates to the new version (there is a version number
> on the first page).
>
- [Bug-AUCTeX] Re: 11.85; Biblatex vs. RefTex, (continued)
- [Bug-AUCTeX] Re: 11.85; Biblatex vs. RefTex, Matthew Lundin, 2009/06/05
- Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex, Ralf Angeli, 2009/06/05
- Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex, Andreas Breitbach, 2009/06/08
- Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex, Ralf Angeli, 2009/06/11
- Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex, Andreas Breitbach, 2009/06/19
- Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex, Ralf Angeli, 2009/06/21
- Message not available
- Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex, Andreas Breitbach, 2009/06/23
- Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex, Ralf Angeli, 2009/06/23
- Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex, Andreas Breitbach, 2009/06/25
- Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex, Ralf Angeli, 2009/06/25
- Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex,
Andreas Breitbach <=
- Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex, Ralf Angeli, 2009/06/26
- Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex, Andreas Breitbach, 2009/06/26
- Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex, Ralf Angeli, 2009/06/26
- Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex, Andreas Breitbach, 2009/06/26
- Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex, Ralf Angeli, 2009/06/27
- Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex, Andreas Breitbach, 2009/06/27
- Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex, Ralf Angeli, 2009/06/27
- Message not available
- Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex, Ralf Angeli, 2009/06/27
- Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex, Andreas Breitbach, 2009/06/27