From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Citation syntax: a revised proposal Date: Tue, 03 Mar 2015 10:13:34 +0100 Message-ID: <877fuya1fl.fsf@gmx.us> References: <87k2zjnc0e.fsf@berkeley.edu> <87bnkvm8la.fsf@berkeley.edu> <87zj8co3se.fsf@berkeley.edu> <87ioezooi2.fsf@berkeley.edu> <87mw4bpaiu.fsf@nicolasgoaziou.fr> <8761aznpiq.fsf@berkeley.edu> <87twyjnh0r.fsf@nicolasgoaziou.fr> <87oaopx24e.fsf@berkeley.edu> <87k2zd4f3w.fsf@nicolasgoaziou.fr> <87egpkv8g9.fsf@berkeley.edu> <877fv6xfaq.fsf@gmail.com> <87twya2ak0.fsf@berkeley.edu> <87zj81aa97.fsf@nicolasgoaziou.fr> <87ioep2r6p.fsf@berkeley.edu> <87y4ngbgm7.fsf@nicolasgoaziou.fr> <87bnkbi61v.fsf@gmail.com> <87lhjfb0yv.fsf@nicolasgoaziou.fr> <878ufeaj1a.fsf@berkeley.edu> <87zj7ua31j.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSitz-0001GH-Dv for emacs-orgmode@gnu.org; Tue, 03 Mar 2015 04:14:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSitv-0002Gc-Da for emacs-orgmode@gnu.org; Tue, 03 Mar 2015 04:14:07 -0500 Received: from plane.gmane.org ([80.91.229.3]:60913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSitv-0002Fo-7B for emacs-orgmode@gnu.org; Tue, 03 Mar 2015 04:14:03 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YSits-0003xu-QA for emacs-orgmode@gnu.org; Tue, 03 Mar 2015 10:14:00 +0100 Received: from 46.166.186.217 ([46.166.186.217]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Mar 2015 10:14:00 +0100 Received: from rasmus by 46.166.186.217 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Mar 2015 10:14:00 +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 Nicolas Goaziou writes: > Richard Lawrence writes: > >> Sorry, I may not have emphasized this enough, but in the grammar, I wrote: >> >> - A KEY optionally begins with `-', and obligatorily contains `@' or >> `&' followed by a string of characters which begins with a letter >> or `_', and may contain alphanumeric characters and the following >> *internal* punctuation characters: >> :.#$%&-+?<>~/ AFAIK Bibtex keys don't understand '#%~', so I'd remove those. I would leave out '$' as well, as it's also the math symbol (think of display support). The regexp used by bibtex.el is bibtex-entry-head and keys are matched by: \\([][[:alnum:].:;?!`'/*@+|()<>&_^$-]+\\) > What about "@_" and "@a" ? Are they valid keys? What is wrong with @a? That seems like a perfectly legit key and one that you would even use in real life, for a one-citation document, say. @_ Would be supported by bibtex, but I don't see a reason for supporting it here (what is "@_1"? Why would citations take precedence over subscripts?) -- Together we'll stand, divided we'll fall