From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jim Ottaway Newsgroups: gmane.emacs.help Subject: Re: citation separation in reftex Date: Fri, 16 Feb 2007 09:44:26 +0000 Message-ID: <874ppmtp1h.fsf@lse.ac.uk> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1171619492 30221 80.91.229.12 (16 Feb 2007 09:51:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Feb 2007 09:51:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 16 10:51:26 2007 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.50) id 1HHzkS-0000m3-Ix for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Feb 2007 10:51:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HHzkS-0006QS-6h for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Feb 2007 04:51:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HHzeA-00049O-EV for help-gnu-emacs@gnu.org; Fri, 16 Feb 2007 04:44:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HHze7-00047y-UR for help-gnu-emacs@gnu.org; Fri, 16 Feb 2007 04:44:53 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HHze7-00047g-0J for help-gnu-emacs@gnu.org; Fri, 16 Feb 2007 04:44:51 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HHze6-0004cw-B2 for help-gnu-emacs@gnu.org; Fri, 16 Feb 2007 04:44:50 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HHzdu-00058p-Dc for help-gnu-emacs@gnu.org; Fri, 16 Feb 2007 10:44:38 +0100 Original-Received: from 53-186.adsl.zetnet.co.uk ([194.247.53.186]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Feb 2007 10:44:38 +0100 Original-Received: from j.ottaway by 53-186.adsl.zetnet.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Feb 2007 10:44:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 53-186.adsl.zetnet.co.uk User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) Cancel-Lock: sha1:hODB/nsJGfJVM2qpk6HomO4qSEo= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:41252 Archived-At: On 16 Feb 2007, Tyler Smith wrote: On 2007-02-15, Jim Ottaway 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