Nicolas Goaziou writes:
>> I ask because in that kind of context, I think it is generally going to
>> be more useful to deal with citation objects as a whole. I am not sure
>> we will want to treat citation-references as individual objects which
>> are themselves exported; instead, I think we wi
Hello,
Richard Lawrence writes:
> Nicolas Goaziou writes:
>> You could do the following
>>
>> (let ((citation (org-element-lineage (org-element-context) '(citation) t))
>> references)
>> (save-excursion
>> (goto-char (org-element-property :contents-begin citation))
>>
Hi Nicolas,
Nicolas Goaziou writes:
> `org-element-context' never returns contents of objects or elements.
>
>> I'm sure there is something simple I am misunderstanding here about how
>> nested objects work...can you enlighten me?
>
> You could do the following
>
> (let ((citation (org-element
Richard Lawrence writes:
> With this change, what's the proper way to get the citation-references
> inside a citation? Before this change, one could simply do:
>
> (org-element-property :references citation)
>
> to get the references in a citation; what's the equivalent incantation
> now?
[...
Hi Nicolas,
Nicolas Goaziou writes:
> Agreed. I introduced yet another syntax change in "wip-cite" branch.
>
> Now there are two separate objects "citation" and "citation-reference".
> So the following multicite
>
> [cite:prefix; pre @a post; @b]
>
> is parsed like
>
> (citation (:prefix "p
On Sunday 08 March 2015 09:58 PM, Nicolas Goaziou wrote:
> Agreed. I introduced yet another syntax change in "wip-cite" branch.
>
> Now there are two separate objects "citation" and "citation-reference".
> So the following multicite
>
> [cite:prefix; pre @a post; @b]
>
> is parsed like
>
>
Vaidheeswaran C writes:
>> Note that, as a consequence, the new object is incompatible with the
>> previous one, since every citation is a multi-cite citation. See
>> commit message for details.
>
> Just a quick feedback.
>
> (:parenthetical nil :begin 807 :post-blank 0 :end 843 :references
>
I have fixed up ox-jabref.el to support multicites. Only common
prefixes and suffixes are handled. I don't know how to handle per-key
prefix/suffix-es. If someone has any complaints about the output,
please write to me.
Attaching files that I have used for testing. (Author-Date file lacks
yea
> Note that, as a consequence, the new object is incompatible with the
> previous one, since every citation is a multi-cite citation. See
> commit message for details.
Just a quick feedback.
(:parenthetical nil :begin 807 :post-blank 0 :end 843 :references
((:key "wilde" :pre