[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Citations, continued
From: |
Erik Hetzner |
Subject: |
Re: [O] Citations, continued |
Date: |
Tue, 03 Feb 2015 22:30:00 -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) |
Hi Richard,
On Tue, 3 Feb 2015 at 08:11:19 PST,
Richard Lawrence <address@hidden> wrote:
>
[…]
> Yes. I'll have to take a look at the Pandoc citeproc code and see how
> easy it would be to add support for something like this. If there are
> Org people that need citation types that select specific fields, I
> imagine there are Pandoc people who do as well. The ideal would be if
> citeproc would take care of proper formatting of all such citation
> types, given just an ordered list of the fields that should appear. I
> don't know if CSL supports this, though; do you?
I’m not entirely sure what you mean. The authors of citeproc have come
up with a huge number of styles which seem to satisfy people’s needs.
What appears in the in-text citation is configurable, see:
http://citationstyles.org/downloads/specification-csl101-20120903.html#citation
> The address@hidden syntax would work, but I don't personally think that's
> any easier to read (or parse) than @doe:title, or @doe+title (which
> actually is another option I had thought of, given the +/- syntax for
> tag matching in Org).
The only advantage of it is that it doesn’t break existing cite keys,
which can contain :, and it is closer to existing syntax. But for the
time being it’s something I wouldn’t worry about.
> Thanks for taking the first step on this! I had a brief look at your
> parser code when you posted it the other day.
>
> I don't know if you are familiar with Org's parser, in org-element.el.
> The important thing will be to have a parser for citations return a data
> structure in the format used by org-element. In the language of
> org-element, I think a citation is an object (as opposed to an element).
> I am somewhat (but not super-) familiar with org-element and Elisp, so
> if you want some help with this, let me know.
I concentrated on getting the parser to recognize valid citations
first. I have now finished this part (excepting any bugs, of course :)
and will need to add code to generate a proper parse tree. Then it can
be integrated into org-element.el.
best, Erik
--
Sent from my free software system <http://fsf.org/>.
- Re: [O] Citations, continued, (continued)
- Re: [O] Citations, continued, Rasmus, 2015/02/03
- Re: [O] Citations, continued, Eric S Fraga, 2015/02/03
- Re: [O] Citations, continued, Richard Lawrence, 2015/02/03
- Re: [O] Citations, continued, Eric S Fraga, 2015/02/03
Re: [O] Citations, continued, Erik Hetzner, 2015/02/02
- Re: [O] Citations, continued, Richard Lawrence, 2015/02/02
- Re: [O] Citations, continued, Erik Hetzner, 2015/02/03
- Re: [O] Citations, continued, Richard Lawrence, 2015/02/03
- Re: [O] Citations, continued,
Erik Hetzner <=
- Re: [O] Citations, continued, Nicolas Goaziou, 2015/02/04
- Re: [O] Citations, continued, Richard Lawrence, 2015/02/04
- Re: [O] Citations, continued, Nicolas Goaziou, 2015/02/06
- Re: [O] Citations, continued, Richard Lawrence, 2015/02/06
- Re: [O] Citations, continued, Nicolas Goaziou, 2015/02/07
- Re: [O] Citations, continued, Richard Lawrence, 2015/02/07
- Re: [O] Citations, continued, John Kitchin, 2015/02/08
- Re: [O] Citations, continued, Richard Lawrence, 2015/02/08
- Re: [O] Citations, continued, Thomas S. Dye, 2015/02/08
- Re: [O] Citations, continued, e.fraga, 2015/02/09