unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Sven Bretfeld <sven.bretfeld@gmx.ch>
To: help-gnu-emacs@gnu.org
Subject: reftex-citation doesn't ask for pages
Date: Sun, 20 May 2007 20:56:30 +0200	[thread overview]
Message-ID: <20070520185630.GG6235@relwi.unibe.ch> (raw)

Hello

I have a little problem here. Possibly I have misunderstood
something. I've made my own citation-format to make reftex work
together with biblatex:

(setq reftex-cite-format
  '((?\C-m . "\\cite[]{%l}")
   (?t    . "\\textcite[]{%l}")
   (?p    . "\\parencite[]{%l}")
   (?o    . "\\citepr[]{%l}")
   (?n    . "\\nocite{%l}")))
(setq reftex-cite-prompt-optional-args t)

I was thinking the last line makes reftex ask for the page number
after hitting C-c [, but it doesn't work. After asking me for the
cite-key, reftex inserts the cite-command with empty [], so that I
have to jump back to insert the page number manually. It's the same
when I define the cite-format with two pairs of braces.

What have I done wrong?

Thanks for help
Sven

             reply	other threads:[~2007-05-20 18:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-20 18:56 Sven Bretfeld [this message]
     [not found] <mailman.885.1179687397.32220.help-gnu-emacs@gnu.org>
2007-05-20 20:24 ` reftex-citation doesn't ask for pages Ralf Angeli
2007-05-20 22:47   ` Sven Bretfeld
2007-05-20 22:49     ` Sven Bretfeld
     [not found]     ` <mailman.894.1179701380.32220.help-gnu-emacs@gnu.org>
2007-05-21  6:03       ` Ralf Angeli
2007-05-21 10:33         ` Sven Bretfeld
2007-05-21 11:34           ` Seweryn Kokot
     [not found]         ` <mailman.903.1179743642.32220.help-gnu-emacs@gnu.org>
2007-05-21 12:34           ` Gernot Hassenpflug
2007-05-21 20:42           ` Ralf Angeli

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20070520185630.GG6235@relwi.unibe.ch \
    --to=sven.bretfeld@gmx.ch \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).