emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] exporting zotxt or orgref links to HTML and ODF


From: Erik Hetzner
Subject: Re: [O] exporting zotxt or orgref links to HTML and ODF
Date: Tue, 27 Jan 2015 22:37:20 -0800
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/25.0.50 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

On Tue, 27 Jan 2015 at 09:24:00 PST,
Richard Lawrence <address@hidden> 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/>.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]