Ihor Radchenko <yanta...@posteo.net> writes: > Stefano Ghirlanda <dr.ghirla...@gmail.com> writes: > >> I have run into an inconvenience in that colons in :var header >> arguments to source blocks are invariably interpreted as referring to >> another file. However, I use cleveref in LaTeX export (via org-ref) to >> automatically format references using labels like tab:data, and in >> these cases :var data=tab:data gives a reference not found because tab >> is interpreted as a filename. > > I agree that it is a problem. > Attaching tentative patch that will make Org babel fall back to > searching in current file when FILE in FILE:REF does not exist. > > It is technically a breaking change. If this is affecting someone's > workflow, please chime in.
No objections have been raised after one month. Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=b5cfc311d -- 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>