From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Lawrence Subject: Re: Citation syntax: a revised proposal Date: Tue, 03 Mar 2015 08:12:00 -0800 Message-ID: <87vbii83hr.fsf@berkeley.edu> References: <87k2zjnc0e.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> <877fuya1fl.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSpR8-0002gY-QW for emacs-orgmode@gnu.org; Tue, 03 Mar 2015 11:12:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSpR4-0003wd-HT for emacs-orgmode@gnu.org; Tue, 03 Mar 2015 11:12:46 -0500 Received: from plane.gmane.org ([80.91.229.3]:39088) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSpR4-0003ve-Bg for emacs-orgmode@gnu.org; Tue, 03 Mar 2015 11:12:42 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YSpR3-0007SO-6o for emacs-orgmode@gnu.org; Tue, 03 Mar 2015 17:12:41 +0100 Received: from c-67-169-117-151.hsd1.ca.comcast.net ([67.169.117.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Mar 2015 17:12:41 +0100 Received: from richard.lawrence by c-67-169-117-151.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Mar 2015 17:12:41 +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 Rasmus writes: > 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). I don't think we should remove these just because BibTeX doesn't support them. They might be used as keys by other citation databases, and removing them might break them. The syntax of KEYs (except for `&') is wholly borrowed from Pandoc, which I figured had a reason for permitting those characters. Note that Pandoc reads reference databases in a lot of different formats, including MODS, EndNote, etc., which might be more liberal with symbols in keys: http://pandoc.org/README.html#citations So unless we decide we don't want to support people who use these formats, I suggest we be more liberal here, too. This won't cause a problem for BibTeX users. Best, Richard