From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: exporting zotxt or orgref links to HTML and ODF Date: Tue, 27 Jan 2015 18:50:45 +0100 Message-ID: <87h9vc864q.fsf@gmx.us> References: <878ugo8i60.fsf@gmx.us> <8761bsp26n.fsf@berkeley.edu> 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]:60482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGAI5-0001Iy-P4 for emacs-orgmode@gnu.org; Tue, 27 Jan 2015 12:51:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGAI3-0004HH-2v for emacs-orgmode@gnu.org; Tue, 27 Jan 2015 12:51:05 -0500 Received: from plane.gmane.org ([80.91.229.3]:47581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGAI2-0004H7-SU for emacs-orgmode@gnu.org; Tue, 27 Jan 2015 12:51:03 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YGAHz-00019K-1x for emacs-orgmode@gnu.org; Tue, 27 Jan 2015 18:50:59 +0100 Received: from tsn109-201-152-15.dyn.nltelcom.net ([109.201.152.15]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jan 2015 18:50:59 +0100 Received: from rasmus by tsn109-201-152-15.dyn.nltelcom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Jan 2015 18:50:59 +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 Hi, Richard Lawrence writes: > Rasmus writes: > >> IMO we /need/ to add proper citation support to Org, preferably with a >> real syntax rather than these link-"solutions" and with good backend >> support (bibtex & Zotero for starters, I guess). >> ... >> /Proper/ citation support (not links) is, IMO, the last thing that is >> missing for good academic publishing support. > > Although my home-baked solution presently works for me, I am inclined to > agree. It works for me as well, but it's still an ugly hack that I cannot advice friends and colleagues to follow. Still, I would much rather have quality-support like with entities. > I've just had a glance at: http://pandoc.org/README.html#citations Indeed. Pandoc seems to most sensible. I have a survey of implementations in on my other computer (in a folder that is not synced between my PCs). > Org does use single brackets and `@'-signs for other things (footnote > markers, priorities, statistics cookies, inactive timestamps, list > counters, inline export snippets -- I think that's it). But these > should all be pretty easy to tell apart from citations using regular > expressions, so I wouldn't expect parsing this syntax to present any > difficulties. Maybe something like: @short-textcite-key, (@parentcite-key) and [@textcite-key :with options] (@parencite-key :with options). > Does anyone have citation needs that this syntax doesn't cover? >From my experience with social science publication, one needs to be able to add options (e.g. cite-type, "citeyear", say) and pre and post notes. > The bigger question is whether, in addition to a citation *syntax*, it > would be a lot of work to add support for the various citation database > formats, as well as the various output styles, and which ones to > support. I guess. But it can be added gradually. BTW: Org has an almost-agnostic format for storing citation data via org-bibtex.el. So perhaps it's easier to go from whatever to org-bibtex-format and from there to ox-backend-format. I think that's how pandoc does it as well. —Rasmus -- May the Force be with you