Re: Citation problems

Ralf Angeli <[email protected]>
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
* Erik Frisk (2005-02-28) writes:

> I am not sure if this is a reftex (reftex-version says 4.26)

Here as well.

> or an 
> auctex problem. My first guess was reftex, but since the problem has 
> appeared rather recently and I have updated auctex but not reftex I am 
> not sure.
>
> Anyway, if I press C-c [ in the small document below and choose a 
> rerefence in references.bib, it inserts something like 
> \cite[]{Murota:2000}, i.e. there is an extra pair of brackets that I do 
> not want.

I cannot reproduce this here.

> Anyone got a clue what is happening here? Who is at fault, me, auctex, 
> or reftex?

`C-c [' calls `reftex-citation' which is a RefTeX function.  Regarding
the example file you provided I cannot see a connection of AUCTeX or
one of its style files interacting here.  So I'd guess this is related
to RefTeX.

Did you customize `reftex-cite-format'?

What happens if you start Emacs with `emacs -q -no-site-file', put the
lines

(require 'tex-site)
(add-hook 'LaTeX-mode-hook 'turn-on-reftex)
(setq reftex-plug-into-AUCTeX t)

into the *scratch* buffer, type `M-x eval-buffer RET', load your LaTeX
file and try `C-c ['?

-- 
Ralf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.