unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jim Ottaway <j.ottaway@lse.ac.uk>
To: help-gnu-emacs@gnu.org
Subject: Re: citation separation in reftex
Date: Fri, 16 Feb 2007 09:44:26 +0000	[thread overview]
Message-ID: <874ppmtp1h.fsf@lse.ac.uk> (raw)
In-Reply-To: slrneta8e1.tjg.tyler.smith@blackbart.mynetwork

On 16 Feb 2007, Tyler Smith wrote:

On 2007-02-15, Jim Ottaway <j.ottaway@lse.ac.uk> wrote:
> On 15 Feb 2007, Tyler Smith wrote:

>>> I'm having a small problem with Auctex/Reftex. I often have multiple
>>> citations to include, and since the default separation is a comma
>>> with no space, the citation extends beyond the limits of the
>>> paragraph and autofill can't deal with it. How can I set reftex to
>>> insert citations separated by ', ' instead of ',' ?
>>>
>>> I tried the info manuals, but I couldn't find the answer there.
>>
>> Unfortunately, it appears to be hard-coded that way in reftex-cite.el
>> in the function reftex-citation and passim.
>>
>
> Thanks! I found the relevant section in reftex-do-citation:
>
> (let ((concat-keys (mapconcat 'car selected-entries ",")))
>
> and switched it to:
>
> (let ((concat-keys (mapconcat 'car selected-entries ", ")))

You might also want to change reftex-figure-out-cite-format similarly.  

Regards,

-- 
Jim Ottaway

  parent reply	other threads:[~2007-02-16  9:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-15 16:10 citation separation in reftex Tyler Smith
2007-02-15 20:33 ` Jim Ottaway
     [not found] ` <mailman.4566.1171571649.2155.help-gnu-emacs@gnu.org>
2007-02-16  3:15   ` Tyler Smith
2007-02-16  7:50     ` Kevin Rodgers
2007-02-16  9:44     ` Jim Ottaway [this message]
     [not found]     ` <mailman.4580.1171612232.2155.help-gnu-emacs@gnu.org>
2007-02-16 13:12       ` Tyler Smith
2007-02-21  3:04         ` Kevin Rodgers
     [not found]         ` <mailman.4828.1172027079.2155.help-gnu-emacs@gnu.org>
2007-02-21 15:49           ` Tyler Smith
2007-02-21 17:00             ` Jim Ottaway
     [not found]             ` <mailman.4855.1172077233.2155.help-gnu-emacs@gnu.org>
2007-02-21 20:38               ` Tyler Smith
2007-02-22  4:44                 ` Kevin Rodgers

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=874ppmtp1h.fsf@lse.ac.uk \
    --to=j.ottaway@lse.ac.uk \
    --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).