From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Citation syntax: Underscore MUST(?) be allowed in cite keys? Date: Tue, 10 Mar 2015 01:37:23 +0100 Message-ID: <87egoxu1q4.fsf@gmx.us> References: <87pp8o1t9f.fsf@gmx.us> <87pp8o6nt9.fsf@berkeley.edu> <87fv9i9z8s.fsf@nicolasgoaziou.fr> <87bnk60zhc.fsf@berkeley.edu> <54FA9AA9.9070505@gmail.com> <87r3t05okc.fsf@nicolasgoaziou.fr> <87ioeci6f6.fsf@gmx.us> <87r3szk6q9.fsf@gmx.us> <87oao3yluf.fsf@berkeley.edu> <87k2yqyx55.fsf@berkeley.edu> <871tkyxgjg.fsf@ucl.ac.uk> <87h9tuyph6.fsf@berkeley.edu> <87r3sxubgl.fsf@gmx.us> <874mptztpu.fsf@berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YV8B1-0004cw-Fp for emacs-orgmode@gnu.org; Mon, 09 Mar 2015 20:37:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YV8Aw-00030H-Gb for emacs-orgmode@gnu.org; Mon, 09 Mar 2015 20:37:39 -0400 Received: from plane.gmane.org ([80.91.229.3]:59233) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YV8Aw-00030A-9s for emacs-orgmode@gnu.org; Mon, 09 Mar 2015 20:37:34 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YV8Au-0002RZ-Mr for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 01:37:32 +0100 Received: from tsn109-201-154-143.dyn.nltelcom.net ([109.201.154.143]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Mar 2015 01:37:32 +0100 Received: from rasmus by tsn109-201-154-143.dyn.nltelcom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Mar 2015 01:37:32 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Richard Lawrence writes: > Oh dear, you're right. Where do that initial comma and space come from? > I guess BibLaTeX inserts them automatically? Does that happen in all > styles? The default value is determined by \postnotedelim. So assuming spaces not stripped \renewcommand{\postnotedelim}{} would probably work in most cases. More fancily one could check the next space like xspace. There's a mighty cool example using higher level functions here: http://tex.stackexchange.com/questions/125358/automating-processing-of-trailing-punctuation-if-any-for-hyperlinks > From what I can see, Pandoc does not implicitly insert punctuation like > this: > > As @Fenner2012a [, cf. sec. 2] showed ... > > renders as > > As Fenner (2012, cf. sec. 2) showed ... I prefer the biblatex behavior then. > Can you turn off the automatic addition of commas in BibLaTeX by setting > something in the preamble? Preamble or using \AtNextCite > If so, would that be the right solution here? It might be easier to > remove punctuation on the LaTeX side than to get other backends to > duplicate LaTeX's implicit punctuating behavior. Perhaps. Either looks like the famous can of worms. I guess we should promote the option above in the manual and that's it. -- However beautiful the theory, you should occasionally look at the evidence