From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Lawrence Subject: Re: Citation syntax: Underscore MUST(?) be allowed in cite keys? Date: Sat, 07 Mar 2015 09:09:42 -0800 Message-ID: <87vbiczqcp.fsf@berkeley.edu> References: <874mq0399a.fsf@gmx.us> <54F75222.8030805@gmail.com> <87pp8o1t9f.fsf@gmx.us> <87pp8o6nt9.fsf@berkeley.edu> <87fv9i9z8s.fsf@nicolasgoaziou.fr> <87bnk60zhc.fsf@berkeley.edu> <54FA9AA9.9070505@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51729) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUIFB-0007PJ-9K for emacs-orgmode@gnu.org; Sat, 07 Mar 2015 12:10:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YUIF8-0006AF-1N for emacs-orgmode@gnu.org; Sat, 07 Mar 2015 12:10:29 -0500 Received: from plane.gmane.org ([80.91.229.3]:53625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUIF7-0006A1-Oq for emacs-orgmode@gnu.org; Sat, 07 Mar 2015 12:10:25 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YUIF5-0006H3-Lr for emacs-orgmode@gnu.org; Sat, 07 Mar 2015 18:10:23 +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 ; Sat, 07 Mar 2015 18:10:23 +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 ; Sat, 07 Mar 2015 18:10:23 +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 Vaidheeswaran C writes: > On Friday 06 March 2015 11:39 PM, Richard Lawrence wrote: >> Hi Vaidheeswaran, >> >> Vaidheeswaran C writes: >> >>> The following combination works when passed through the LaTeX/PDF >>> exporter. It doesn't work when the cite syntax is switched to the new >>> one. >>> >>> \cite{center_for_history_and_new_media_zotero_????} >> >> Is that a realistic example of a key? > > Yes. > It is generated by Zotero. OK. > Have you tried it with \cite{} and \bibliography{} combination and > seen it works or not. My argument relies on how existing tool works. I don't understand what your argument is, exactly. So what if Zotero sometimes produces keys like this? So what if a LaTeX document will compile with such keys? Is it your position that that means Org keys must allow punctuation at the end? > I see that you haven't exporter Zotero libraries to .bib files. My > guess is the 4 question marks are for "missing" (or "irrelevant") yyyy > digits. If such keys represent references with missing data, the document produced by even `successful' compilation will be incomplete in some way. Like I said, this seems like an edge case, and I don't see that it is necessarily Org's responsibility to accommodate the keys produced by Zotero in such edge cases. And there is a significant benefit to *not* accommodating such keys: namely, you can use in-text citations at the end of a sentence. Again, if there were reason to think that keys which end with punctuation are common even in the normal case where the data is complete and correct, that would be reason to re-think the syntax of Org citation keys. But Org's citation syntax can't be expected to handle every tool's behavior in every edge case. Best, Richard