From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "N. Raghavendra" Newsgroups: gmane.emacs.help Subject: RefTeX inserting citations in wrong place Date: Mon, 11 Oct 2010 13:01:45 +0530 Organization: X-Organization Message-ID: <86r5fxjice.fsf@griffin.campus.hri> Reply-To: "N. Raghavendra" NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291869443 10157 80.91.229.12 (9 Dec 2010 04:37:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 04:37:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 05:37:18 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQYFq-0005tP-KD for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 05:37:18 +0100 Original-Received: from localhost ([127.0.0.1]:48073 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQYFp-0006tt-NI for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 23:37:17 -0500 Original-Path: usenet.stanford.edu!goblin1!goblin2!goblin.stu.neva.ru!news.net.uni-c.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) X-Organization: Harish-Chandra Research Institute (HRI) X-Address: Chhatnag Road, Jhusi, Allahabad 211 019, India X-URL: http://www.mri.ernet.in/ and http://www.retrotexts.net/ X-Phone: +91 (532) 2667 509, 2667 318, 2667 578, 2567 746, 2567 747 X-Fax: +91 (532) 2667 576, 2567 748, 2567 444, 2568 036 X-OpenPGP-Key-ID: 0x03618806 X-OpenPGP-Key-Fingerprint: C75D D0AF 457E 7454 BEC2 37AD C6E1 0407 0361 8806 X-OpenPGP-Public-Key-Available-At: http://www.keyserver.net/ Cancel-Lock: sha1:YlS8uX+2Yb2N/RcwStHrcMQtK28= Original-Lines: 30 Original-NNTP-Posting-Host: 210.212.50.14 Original-X-Trace: news.sunsite.dk DXC=WV9mSGdg1El]OI4DlPLEfeYSB=nbEKnkk5DMU8coHF@lID5_U; QN1Yc=JDn=l3B; km=PmGG9FJ?clYDSVlKj8S2oj[N[Ph9<93m Original-X-Complaints-To: staff@sunsite.dk Original-Xref: usenet.stanford.edu gnu.emacs.help:181713 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76659 Archived-At: I am using the RefTeX package that comes with Emacs 24.0.50.1. In a LaTeX buffer if I do `C-c [' for inserting a citation it is placing the citation in a wrong place. For example, if I have the following text ---------------------------------------------------------------------- Foo bar \begin{thebibliography}{0123} \bibitem[BT1]{BT1} N.~Bourbaki, \emph{General topology. Chapters 1--4}, Springer Verlag, Berlin, 1989. \end{thebibliography} ---------------------------------------------------------------------- in a buffer, and with point just after "bar", press `C-c [', the citation is inserted at "\end{thebibliography}", like this: ---------------------------------------------------------------------- \cite{BT1}\end{thebibliography} ---------------------------------------------------------------------- and not next to "bar". I would appreciate if someone can tell me a solution to the problem. Thanks and regards, Raghavendra. -- N. Raghavendra | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information.