From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Citation syntax: a revised proposal Date: Sun, 01 Mar 2015 19:48:36 -1000 Message-ID: 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: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSJDs-0003rX-Rp for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 00:48:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSJDn-0003gA-Ro for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 00:48:56 -0500 Received: from gproxy9-pub.mail.unifiedlayer.com ([69.89.20.122]:46955) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1YSJDn-0003fq-Ju for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 00:48:51 -0500 Received: from [98.155.255.145] (port=54759 helo=manifi) by box472.bluehost.com with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.82) (envelope-from ) id 1YSJDd-0006uQ-Cg for emacs-orgmode@gnu.org; Sun, 01 Mar 2015 22:48:42 -0700 In-Reply-To: <87h9u8jr8i.fsf@gmail.com> (Aaron Ecay's message of "Thu, 26 Feb 2015 21:30:05 +0000") 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 Aloha Aaron, Aaron Ecay writes: > By way of illustration, Biblatex (AFAICT) doesn=E2=80=99t provide a posse= ssive > citation command, which was mentioned by someone in this thread (or its > predecessor) as a desideratum. I=E2=80=99d expect a savvy latex user to = put in > their preamble: > > \newcommand{\citeposs}[1]{\citeauthor{#1}=E2=80=99s (\citeyear{#1})} > > That doesn=E2=80=99t 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.) #+name: define-citeposs-link #+begin_src emacs-lisp :results silent :exports none (org-add-link-type=20 "citeposs" 'ebib-open-org-link (lambda (path desc format) (cond ((eq format 'html) (format "(%s)" path)) ((eq format 'latex) (format "\\citeauthor{%s}'s (\\citeyear{%s})" path path))))) #+end_src I haven't tested this, but I think it would work in Org mode. All the best, Tom --=20 Thomas S. Dye http://www.tsdye.com