From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Citations, continued Date: Mon, 09 Feb 2015 12:37:01 +0100 Message-ID: <87vbjbgvtu.fsf@gmx.us> References: <87vbjmn6wy.fsf@berkeley.edu> <87sieokx8e.fsf@berkeley.edu> <54d04780.cb58460a.5243.2603@mx.google.com> <87h9v3li8t.fsf@berkeley.edu> <54d078ff.b044440a.06ec.3cf6@mx.google.com> <87d25rkmag.fsf@berkeley.edu> <54d1bc7b.c57d440a.3c5d.2dca@mx.google.com> <87vbjh284z.fsf@nicolasgoaziou.fr> <87mw4tk4m7.fsf@berkeley.edu> <87oap7z664.fsf@nicolasgoaziou.fr> <87fvaibr3k.fsf@berkeley.edu> <87y4o9s5qc.fsf@nicolasgoaziou.fr> <87egpzicjn.fsf@pank.eu> <871tlzqqkr.fsf@nicolasgoaziou.fr> 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]:32797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKmeO-0001FL-8o for emacs-orgmode@gnu.org; Mon, 09 Feb 2015 06:37:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKmeK-0007G2-8i for emacs-orgmode@gnu.org; Mon, 09 Feb 2015 06:37:12 -0500 Received: from mout.gmx.net ([212.227.15.18]:57170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKmeJ-0007Fv-Us for emacs-orgmode@gnu.org; Mon, 09 Feb 2015 06:37:08 -0500 Received: from x200s ([46.166.188.193]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0Lm34j-1XlioT2oz3-00ZcaX for ; Mon, 09 Feb 2015 12:37:04 +0100 In-Reply-To: <871tlzqqkr.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Mon, 09 Feb 2015 12:20:20 +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 Nicolas Goaziou writes: > Rasmus writes: > >> The question:=20 >> >> In any given document, do you typically need more than two types of >> citations, i.e. {citet, citep} OR {textcite, parentcite}? >> >> I do use other citation types, in particular a genitive version of >> textcite, but not very often. That was why I initially wanted something >> like this: >> >> simple inline: @KEY=20 >> complex inline: [PRE @KEY POST :key VAL] >> parent: (PRE @KEY POST :key VAL) >> >> Where :type was the only key I was clever enough to think about (heavily >> biased by LaTeX). Then you would be able to put in the top of your >> document what "inline" and that "parent" means. Note, as Nicolas rightly >> pointed out that (=C2=B7) shouldn't be used for syntax, so the above is = to >> understand needs. In any case, if you, or Eric, or anybody else for that >> matter, often rely on much more than two types of citations in any given >> document perhaps this is better: >> >> [TYPE: PRE @KEY POST :key VAL] >> >> :key VAL may not be needed at all (but e.g. the new cool >> \textcites()()[][]{} commands have even more arguments). That's >> essentially the "generalized link" you were talking about earlier. > > This is an important issue indeed. > > It seems to me that :type is a LaTeX-only feature and, as such, should > be handled in "ox-latex". In the general case, I think that Org should > only support inline and parenthesized citations. Not necessarily. I could do: (defun rasmus/gentive-citation (citation-element backend) (case backend ...) ...) (add-to-list 'org-cite-types 'rasmus/gentive-citation ) E.g. for genitive citations such as "Smith's (1984) model", which can be mostly emulated using primitives (:author and :year) if biblatex is not available. > If more than two different keys are needed in a single document, use of > custom links or raw LaTeX would then be unavoidable. OTOH, this gives us > very readable citations within the buffer in most cases. Perhaps. But then we are back at not having proper support across backends=E2=80=94which might be unavoidable in any case. Yet, aim high! =E2=80=94Rasmus --=20 Tack, ni svenska vakttorn. Med plutonium tvingar vi dansken p=C3=A5 kn=C3= =A4!