On Tue, 27 Jan 2015 at 09:24:00 PST, Richard Lawrence <richard.lawre...@berkeley.edu> wrote: > > > Although my home-baked solution presently works for me, I am inclined to > agree. > > I've just had a glance at: http://pandoc.org/README.html#citations > > 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’s 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’t work unless you have extracted the citation string from the document): https://bitbucket.org/egh/zot4rst/src/master/xciterst/parser.py but it doesn’t seem that org-element.el uses a grammar, so I’m not sure how much that would help. There is also, of course, the pandoc parser. best, Erik -- Sent from my free software system <http://fsf.org/>.