uniorg icon indicating copy to clipboard operation
uniorg copied to clipboard

Could the org-braindump example support the org-roam-bibtex links and the parsing of bibliography files?

Open panmengguan opened this issue 3 years ago • 2 comments

I have read the instructions of this example, but I couldn't find out how to deal with org-roam-bibtex links (cite:XXX) and the bibliography.

panmengguan avatar Sep 06 '21 01:09 panmengguan

hey. org-braindump does not currently support that because I couldn’t figure out how to do that in a generic way. But you can take a look at rasendubi/www.alexeyshmalko.com.

The interesting parts are probably:

Other relevant bits are:

  • src/lib/bibtex.ts — for every .bib file, create a page with a list of all bib entries in that file (examples: https://www.alexeyshmalko.com/biblio/books/, https://www.alexeyshmalko.com/biblio/online/)
  • src/lib/postprocess.ts:72–107 — enrich pages with bib notes. prepends a list with bibliographic info to the page (author, year, URL)

Hope this helps

rasendubi avatar Sep 06 '21 12:09 rasendubi

Thank you for the suggestion! This is very helpful.

panmengguan avatar Sep 08 '21 03:09 panmengguan