help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: citation separation in reftex


From: Jim Ottaway
Subject: Re: citation separation in reftex
Date: Fri, 16 Feb 2007 09:44:26 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]