bug-auctex
[Top][All Lists]
Advanced

[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: Thu, 25 Jun 2009 19:55:32 +0200

Am Dienstag, den 23.06.2009, 21:07 +0200 schrieb Ralf Angeli:
> * 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?
> >[List of shadowing files]
> 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.
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 
> >> 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



> >> 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.
That also works for me now.
> 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?
> 
> >> 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.
> 





reply via email to

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