From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Citation syntax: a revised proposal Date: Fri, 27 Feb 2015 11:09:22 +0100 Message-ID: <87twy7sm25.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> <87h9u8jr8i.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRHrb-0000IE-2R for emacs-orgmode@gnu.org; Fri, 27 Feb 2015 05:09:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YRHrX-0004RU-0W for emacs-orgmode@gnu.org; Fri, 27 Feb 2015 05:09:42 -0500 Received: from plane.gmane.org ([80.91.229.3]:55733) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRHrW-0004RO-QM for emacs-orgmode@gnu.org; Fri, 27 Feb 2015 05:09:38 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YRHrP-0006Ci-1g for emacs-orgmode@gnu.org; Fri, 27 Feb 2015 11:09:31 +0100 Received: from 46.166.188.218 ([46.166.188.218]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Feb 2015 11:09:31 +0100 Received: from rasmus by 46.166.188.218 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Feb 2015 11:09:31 +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 Aaron Ecay writes: >> In this design, the potential explosion in subtypes has been pretty well >> kept in check. Does that make the design of BibLaTeX a good model for >> Org mode? > > I don’t know, but I suspect not. Latex allows users to create powerful > macros, but has relatively few built-in niceties (some are provided by > auctex and friends, but that’s separate). Org’s macro facilities, > though also powerful, are not well-integrated into its considerable > interactive features. > > By way of illustration, Biblatex (AFAICT) doesn’t provide a possessive > citation command, which was mentioned by someone in this thread (or its > predecessor) as a desideratum. ^^^^^^^^^^^ According to my dictionary, that might be a bit strong. It was used an example of why you need userwritten types. > I’d expect a savvy latex user to put in > their preamble: > > \newcommand{\citeposs}[1]{\citeauthor{#1}’s (\citeyear{#1})} > > That doesn’t really work in org. (It could be put together with an org > macro, but would lose the kind of click-to-view functionality that > org-ref already provides and which would be ported to the new syntax as > well.) And this is why I say that you need to be able to define you own subtypes. Adding the naïve version of citepos should be something like: (cite-mapcar (λ (cite) (concat (citeauthor cite) "'s" (citeyear cite))) cites) —Rasmus -- Got mashed potatoes. Ain't got no T-Bone. No T-Bone