ebib
ebib copied to clipboard
ebib exports org2org in the "Note" fields?
Maybe this is not a bug, but it does raise confusion :(.
This is my Note entry:
** Structure and Interpretation of Computer Programs, Second Edition
:PROPERTIES:
:Custom_ID: Abelson1996
:END:
[[bib:Abelson1996][Abelson1996-bib]]
[[ebib:Abelson1996][Harold Abelson and Gerald J. Sussman (1996)]]
So here I can put some notes about the SICP.
Well, finishing it was a huge task!
bib: link is an org-abbreviation for a custom-defined jump to the .bib file in bibtex, whereas ebib: link is an org-ebib link.
However, in the ebib-entry buffer, this is displayed like:
external note [[rtcite:~/GDrive_vladimir_nikishkin_AT_phystech_edu/BibTeX_Bibliography/bibliography-bib.bib::Abelson1996][Abelson1996-bib]]
[[ebib:Abelson1996][Harold Abelson and Gerald J. Sussman (1996)]]
So here I can put some notes about the SICP.
Well, finishing it was a huge task!
The "rtcite:" link comes from
(setq org-link-abbrev-alist
'(("note" . "rtcite:~/GDrive_vladimir_nikishkin_AT_phystech_edu/BibTeX_Bibliography/bibliography-bib.org::#%s")
("bib" . "rtcite:~/GDrive_vladimir_nikishkin_AT_phystech_edu/BibTeX_Bibliography/bibliography-bib.bib::%s")))
Why does it get expanded in the Note field? I thought that link abbreviations are only expanded during export and/or internally when opening a link.
Honestly, I'm as surprised as you are... Ebib doesn't do such expansion itself, so it would have to be an Org function that Ebib uses to get the text of a note, but there's really only org-mark-subtree, which doesn't seem to expand links.
You could edebug ebib--extract-note-text and see if that tells you something. I'll put it on my todo list myself, but with low priority...