Ihor Radchenko <yanta...@posteo.net> writes: > Ihor Radchenko <yanta...@gmail.com> writes: > >> Note that apart from the problem on Emacs side, there appears to be a >> problem with org-cite-basic-export-bibliography. >> >> org-cite-basic-export-bibliography uses org-cite-basic--print-entry, >> which fails to print keys, which are not in .bib files. As a result, >> #+print_bibliography: appears to fail all the time when the document >> contains invalid cite keys. >> >> I consider this as a bug. At least org-cite-basic-export-bibliography >> could provide a more useful error message. Or maybe even skip the >> invalid keys. Or, similar to LaTeX, print ???. I am not sure which way >> will be more canonical according to general oc.el design. > > I am suggesting to merge the attached patch. > It will simply skip keys that are not in the bibliography when printing > it.
Applied onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=26a2811b06a5916a66d101b10238552db12ff6e7 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>