[emacs] Reintroduce notes in roam bibtex export

This commit is contained in:
Correl Roush 2020-08-06 22:29:38 -04:00
parent 33bbf695f5
commit c4dd634ac0

View file

@ -834,9 +834,11 @@ Adapted from https://org-roam.readthedocs.io/en/master/org_export/.
`(("Webpage" . ,(org-link-make-string url))))) `(("Webpage" . ,(org-link-make-string url)))))
(defun my/org-roam--reference-details-bibtex (entry) (defun my/org-roam--reference-details-bibtex (entry)
(concat (cdr (assoc "note" entry))
"\n\n"
(my/org-roam--reference-details-list (my/org-roam--reference-details-list
`(("Author" . ,(cdr (assoc "author" entry))) `(("Author" . ,(cdr (assoc "author" entry)))
("Calibre Library" . ,(org-link-make-string (concat "https://calibre.phoenixinquis.is-a-geek.org/#library_id=library&panel=book_details&book_id=" (cdr (assoc "calibreid" entry)))))))) ("Calibre Library" . ,(org-link-make-string (concat "https://calibre.phoenixinquis.is-a-geek.org/#library_id=library&panel=book_details&book_id=" (cdr (assoc "calibreid" entry)))))))))
(defun my/org-roam--reference-details-list (details-alist) (defun my/org-roam--reference-details-list (details-alist)
(org-list-to-org (org-list-to-org