[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex
From: |
Ralf Angeli |
Subject: |
Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex |
Date: |
Tue, 23 Jun 2009 21:07:21 +0200 |
* Andreas Breitbach (2009-06-23) writes:
> Am Dienstag, den 23.06.2009, 01:10 +0200 schrieb Andreas Breitbach:
>> Am Sonntag, den 21.06.2009, 16:49 +0200 schrieb Ralf Angeli:
>> >
>> > This could be due to an old reftex-vars.el shadowing the new one. Which
>> > would mean that the installation was unsuccessful. What's the output of
>> > `M-x list-load-path-shadows <RET>' with respect to the RefTeX files?
>>
>> /usr/local/share/emacs/site-lisp/reftex/reftex-index
>> hides /usr/share/emacs/22.2/lisp/textmodes/reftex-index
>> /usr/local/share/emacs/site-lisp/reftex/reftex-sel
>> hides /usr/share/emacs/22.2/lisp/textmodes/reftex-sel
>> /usr/local/share/emacs/site-lisp/reftex/reftex-toc
>> hides /usr/share/emacs/22.2/lisp/textmodes/reftex-toc
>> /usr/local/share/emacs/site-lisp/reftex/reftex-dcr
>> hides /usr/share/emacs/22.2/lisp/textmodes/reftex-dcr
>> /usr/local/share/emacs/site-lisp/reftex/reftex-global
>> hides /usr/share/emacs/22.2/lisp/textmodes/reftex-global
>> /usr/local/share/emacs/site-lisp/reftex/reftex-cite
>> hides /usr/share/emacs/22.2/lisp/textmodes/reftex-cite
>> /usr/local/share/emacs/site-lisp/reftex/reftex-auc
>> hides /usr/share/emacs/22.2/lisp/textmodes/reftex-auc
>> /usr/local/share/emacs/site-lisp/reftex/reftex
>> hides /usr/share/emacs/22.2/lisp/textmodes/reftex
>> /usr/local/share/emacs/site-lisp/reftex/reftex-ref
>> hides /usr/share/emacs/22.2/lisp/textmodes/reftex-ref
>> /usr/local/share/emacs/site-lisp/reftex/reftex-parse
>> hides /usr/share/emacs/22.2/lisp/textmodes/reftex-parse
>> /usr/local/share/emacs/site-lisp/reftex/reftex-vars
>> hides /usr/share/emacs/22.2/lisp/textmodes/reftex-vars
Assuming you installed the CVS version of RefTeX below /usr/local this
looks alright.
>> The files seem to be some leftovers of my former AUCTeX-install(once
>> upon a time I used the TeXLive distributed by Ubuntu, and AUCTeX must
>> have been installed automatically.), the reftex.elc says "Compiled by
>> address@hidden on Fri Sep 5 21:27:46 2008" in the first lines.
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.
>> Upon moving them to a directory in my ~, the complaints are gone.
Which files?
>> Setting up the Makefile with the above mentioned directory turns out
>> "2009-04-29" on "C-h v reftex-version <RET>".
Which directory?
>> But on C-c [ the result stays the same: It's not working. The backtrace
>> gives out the following:
>> "Debugger entered--Lisp error: (args-out-of-range 21 37)
>> replace-match("[32]" t t #("\\footcite[]{masala_kenneth_2005}" 0 12
>> nil 12 31 (face font-lock-constant-face) 31 32 nil))
>> reftex-do-citation(nil nil nil)\\Clicking here browses to L658 in
>> reftex-cite.el, which starts with "(defun reftex-do-citation..."
>> reftex-citation()\\Clicking here browses to L620 in reftex-cite.el,
>> which starts with "(defun reftex-citation..."
>> call-interactively(reftex-citation)"
>>
>> Upon composing a minimal example file(and thus shortening the original,
>> more voluminous document) and concurrently rechecking for my error, it
>> suddenly inserted something, but it's distorted:
>> \footcite{Internati[3]mmer.2000} where there should have been
>> \footcite[3]{InternationalSecurity.1Summer.2000}. And there's yet some
>> more strange behavior: If I try to insert a book, the original error
>> comes back.
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.
Also, I am still not convinced that the CVS version of RefTeX is
installed correctly on your computer.
>> A remark about the source of the files may be interesting: The MA.bib
>> contains references I collected using Zotero(zotero.org), while
>> Theorie-Texte.bib was composed using JabRef(as it also states).
Note to others reading this: He sent the files to me in private.
--
Ralf
- [Bug-AUCTeX] 11.85; Biblatex vs. RefTex, Andreas Breitbach, 2009/06/03
- Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex, Ralf Angeli, 2009/06/03
- Re: [Bug-AUCTeX] 11.85; Biblatex vs. RefTex, Andreas Breitbach, 2009/06/05
- [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 <=
- 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, 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/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