From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Citations, continued Date: Tue, 10 Feb 2015 11:36:18 +0100 Message-ID: <87d25i12al.fsf@gmx.us> References: <87vbjmn6wy.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> <87d25kpxap.fsf@pank.eu> <87k2zsso3w.fsf@nicolasgoaziou.fr> <87vbjcoewx.fsf@gmx.us> <87bnl4shqg.fsf@nicolasgoaziou.fr> <87h9uwwmgt.fsf@gmx.us> <87zj8oqqtz.fsf@nicolasgoaziou.fr> <87386eywus.fsf@nicolasgoaziou.fr> <87r3tydswi.fsf@gmx.us> <87lhk6xese.fsf@nicolasgoaziou.fr> 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]:56445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YL8BI-0001by-EY for emacs-orgmode@gnu.org; Tue, 10 Feb 2015 05:36:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YL8BD-0007by-A7 for emacs-orgmode@gnu.org; Tue, 10 Feb 2015 05:36:36 -0500 Received: from plane.gmane.org ([80.91.229.3]:48137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YL8BD-0007bl-48 for emacs-orgmode@gnu.org; Tue, 10 Feb 2015 05:36:31 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YL8BB-0007wk-Gk for emacs-orgmode@gnu.org; Tue, 10 Feb 2015 11:36:29 +0100 Received: from tsn109-201-154-147.dyn.nltelcom.net ([109.201.154.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Feb 2015 11:36:29 +0100 Received: from rasmus by tsn109-201-154-147.dyn.nltelcom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Feb 2015 11:36:29 +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: >> So, the (opinionated) useful defaults in biblatex are: >> cite(s), parencite(s), footcite(s), texcite(s), fullcite, >> footfullcite, nocite > > Isn't footcite/footfullcite a choice made at the document's level > instead of per citation? If that's the case, it could go in a keyword, > e.g., > > #+LATEX_CITATION: :style footcite I guess you'd distinguish between fullcite and footfullcite then? I have only ever used fullcite for illustrative purposes, e.g. demonstrating the citation style. And I guess footcite is an alternative to {textcite, parencite}. >> Citation types for extracting parts: >> citeauthor, citetitle, citeyear, citedate, citeurl, > > Can't this be attached to the key, as a filter? Do you mean an ox-filter here or the slash "/"? It's more complex and but probably also prettier. "[@K/author]" looks nice. I haven't seen "/" in bibtex keys. In any case, an ox-filter is no good. You sometimes need it for constructing sentences, e.g. I like to keep out the year when it's obvious to ease reading:: A (Y) showed foo. Note that A assumed that ... > Then what about > > [cite:command: common pre; pre1 @key1 post1; ... ; common post] Could work. > where command is anything matching is constituted of alphanumeric > characters only (this is just a guess, a proper regexp is yet to be > determined). > > LaTeX back-end will see "command" and less advanced back-ends "cite", so > that the same document can be exported through multiple back-ends. OK. But what if I want to use, say, my "genitive" citation, "A's (Y)", in html? This is perhaps a question of whether we'll manage to find a tool to handle this for us, or we'll have to do it lisp. > However, this syntax doesn't handle in-text citation for other back-ends > than LaTeX. Hence the [@key post] proposal, or even @key [post], which > I find more elegant than > > [citet: ...] / [citep: ...] So [@key post] is equivalent to [cite:default_command: @key post]. Does it scale to an arbitrary length of keys, e.g. [@k1 post1; ⋯; @kN postN]? Could [@: pre1 @k1 post1; ⋯; preN @kN postN] be used if you need prenotes? Or only [cite:⋯]. Would you "expand" all short citations in the early ox parsing? I don't care for "@key [post]" >> The default bibtex.el style generates keys like "%A%y:%t", so I think ":" >> is no good, appealing as it is. > > Then "/" (filter) or "|" (pipe). Why do you write "filter" after the slash? Am I supposed to think about ox-filters? —Rasmus -- Governments should be afraid of their people