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: Mon, 02 Mar 2015 03:53:41 -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> <874mq3oahe.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]:56504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSQnG-0007zi-P3 for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 08:53:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSQnC-0000Pr-Kc for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 08:53:58 -0500 Received: from gproxy5-pub.mail.unifiedlayer.com ([67.222.38.55]:56876) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1YSQnC-0000Ph-Cb for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 08:53:54 -0500 Received: from [98.155.255.145] (port=54813 helo=manifi) by box472.bluehost.com with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.82) (envelope-from ) id 1YSQn3-00072Z-FZ for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 06:53:45 -0700 In-Reply-To: <874mq3oahe.fsf@gmail.com> (Aaron Ecay's message of "Mon, 02 Mar 2015 12:22: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: > 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 pos= sessive >>> 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 t= o 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 wit= h 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 t= hat > 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 = you 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 corre= ct decision can > be made a priori. So don=E2=80=99t let me stop you (in general, not just= Tom) > from going ahead with an implementation of subtypes, if that=E2=80=99s yo= ur > 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 wou= ld be > best applied. So if there=E2=80=99s something you (again, in general) th= ink > would be helpful, don=E2=80=99t hesitate to ask. I'm not able to understand the full implications of subtypes vs. plists, so don't have a preferred solution along those lines. I brought this up in reaction to "This doesn't really work in org." I'm hoping for an Org mode citation syntax where there is an analogous org-add-cite-type function, so I only have to remember the syntax one time and can forget about it when I'm writing. Sorry if this is noise and thanks for your patience. All the best, Tom --=20 Thomas S. Dye http://www.tsdye.com