org-roam-ui
org-roam-ui copied to clipboard
org and cite links in org-roam-ui
Hello,
In the org-roam-ui side bar, I noticed that org links, like pdf:/path/to/pdf, are not clickable although they work in the emacs org file.
Also, on the graph, if I try to click on a cite node, the side bar opens but with an html error text.
Is it normal ?
Should it be possible that pdf files be displayed in the web browser ?
Regards
Also, I use to print my bibliography at end of document with \printbibliography or [[printbibliography:]].
It seems also not be interpreted by sidebar preview of org-roam-ui althoug the graph does show all citation links.
Regards
In the
org-roam-uiside bar, I noticed that org links, likepdf:/path/to/pdf, are not clickable although they work in the emacs org file.
pdf: links seems to be non-standard and is provided by org-pdftools. (Do you use org-pdftools?)
Normal links should parse pdf links already (e.g., [[pdf:blah]]). To parse standalone pdf: links, "pdf" must be added to linkTypes option.
This can either be hardcoded:
import { defaultOptions } from 'uniorg-parse/lib/parse-options';
.use(uniorgParse, { linkTypes: [...defaultOptions.linkTypes, 'pdf'] })
or might use a value of (org-link-types) (slightly preferred).
This still leaves the job of making links “openable.” org-pdftools-open-pdftools and current org-roam-ui support for cite links can be used for inspiration.
Hi,
Cite links (org-ref) cite:&mycitation and (org) file links file:myfile still do not work. When I hover with the mouse on links a forbidden icon is diplayed.
I have no particular skills in how org-roam-ui works butn should it be possible that the cite links in
the org file be replaced by the appropriate html file links when exporting the org file for org-roam-ui ?
This would solve the issue at least for cite links.
As for org file links, maybe the error is that it seems only the description is exported.
As for me, a link like file:myfile refers to a file in the same dir as the org file but, org-roam-ui
is probably unaware of this file location (?)
Regards