From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Ecay Subject: Re: Citation syntax: a revised proposal Date: Mon, 02 Mar 2015 12:22:05 +0000 Message-ID: <874mq3oahe.fsf@gmail.com> 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]:33220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSPMT-0001QU-HM for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 07:22:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSPMP-0005io-Hi for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 07:22:13 -0500 Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:36219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSPMP-0005iO-Bi for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 07:22:09 -0500 Received: by wghk14 with SMTP id k14so33077754wgh.3 for ; Mon, 02 Mar 2015 04:22:08 -0800 (PST) In-Reply-To: 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: "Thomas S. Dye" , emacs-orgmode@gnu.org Hi Tom, 2015ko martxoak 2an, "Thomas S. Dye"-ek idatzi zuen: >=20 > Aloha Aaron, >=20 > Aaron Ecay writes: >=20 >> By way of illustration, Biblatex (AFAICT) doesn=E2=80=99t provide a poss= essive >> 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: >>=20 >> \newcommand{\citeposs}[1]{\citeauthor{#1}=E2=80=99s (\citeyear{#1})} >>=20 >> 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.) >=20 > #+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 >=20 > I haven't tested this, but I think it would work in Org mode. The main thrust of this thread, and the previous one, has been to define a citation syntax in org. I don=E2=80=99t think anyone contests that link-based solutions basically do the trick for Latex (only). And yet, (almost?) everyone has agreed that something more is needed, or at least inevitable. So I=E2=80=99m puzzled why you brought this up. Are you trying to argue for subtype-based citations? This is what I infer from your messages (not just this one, and please do correct me if I=E2=80=99m wrong). If so, it would make it easier for me to understand yo= u if you said so outright. My own opinion is that plists are better than subtypes, but I=E2=80=99ve also said that I don=E2=80=99t think the correct= decision can be made a priori. So don=E2=80=99t let me stop you (in general, not just T= om) from going ahead with an implementation of subtypes, if that=E2=80=99s your preferred solution. I would like to help out with coding or testing, though I haven=E2=80=99t yet been able to figure out where my efforts would= be best applied. So if there=E2=80=99s something you (again, in general) think would be helpful, don=E2=80=99t hesitate to ask. Thanks, --=20 Aaron Ecay