From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Hetzner Subject: Re: exporting zotxt or orgref links to HTML and ODF Date: Tue, 27 Jan 2015 22:37:20 -0800 Message-ID: <54c883a3.ea28460a.55f8.ffff9133@mx.google.com> References: <878ugo8i60.fsf@gmx.us> <8761bsp26n.fsf@berkeley.edu> Reply-To: Erik Hetzner Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGMFm-0005DO-2q for emacs-orgmode@gnu.org; Wed, 28 Jan 2015 01:37:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGMFi-0006HU-Sx for emacs-orgmode@gnu.org; Wed, 28 Jan 2015 01:37:30 -0500 Received: from mail-pa0-x230.google.com ([2607:f8b0:400e:c03::230]:41216) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGMFi-0006H2-M3 for emacs-orgmode@gnu.org; Wed, 28 Jan 2015 01:37:26 -0500 Received: by mail-pa0-f48.google.com with SMTP id ey11so23574543pad.7 for ; Tue, 27 Jan 2015 22:37:25 -0800 (PST) In-Reply-To: <8761bsp26n.fsf@berkeley.edu> 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 Cc: Richard Lawrence On Tue, 27 Jan 2015 at 09:24:00 PST, Richard Lawrence wrote: >=20 >=20 > Although my home-baked solution presently works for me, I am inclined to > agree. >=20 > I've just had a glance at: http://pandoc.org/README.html#citations >=20 > It looks to me like Pandoc has a quite general solution, and it also > looks like Org could use Pandoc's citation syntax as-is. I would > suggest borrowing this syntax as a starting point for building citation > support into Org. Hi all, I agree completely. For what it=E2=80=99s worth, using pandoc citations now will work right now if you output to markdown and then parse in pandoc. e.g. [see @doe:2006article, p. 10] will work. I wrote a parser for pandoc citations (that assumes you start with a citation string, that is, it doesn=E2=80=99t work unless you have extracted the citation string from the document): https://bitbucket.org/egh/zot4rst/src/master/xciterst/parser.py but it doesn=E2=80=99t seem that org-element.el uses a grammar, so I=E2=80= =99m not sure how much that would help. There is also, of course, the pandoc parser. best, Erik -- Sent from my free software system .