all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "N. Raghavendra" <raghu@mri.ernet.in>
To: help-gnu-emacs@gnu.org
Subject: RefTeX inserting citations in wrong place
Date: Mon, 11 Oct 2010 13:01:45 +0530	[thread overview]
Message-ID: <86r5fxjice.fsf@griffin.campus.hri> (raw)

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 <raghu@mri.ernet.in> | http://www.retrotexts.net/
Harish-Chandra Research Institute   | http://www.mri.ernet.in/
See message headers for contact and OpenPGP information.


             reply	other threads:[~2010-10-11  7:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-11  7:31 N. Raghavendra [this message]
2010-10-11 19:47 ` RefTeX inserting citations in wrong place Ralf Angeli
2010-10-12  1:26   ` N. Raghavendra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86r5fxjice.fsf@griffin.campus.hri \
    --to=raghu@mri.ernet.in \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.