"Fraga, Eric" <e.fr...@ucl.ac.uk> writes:

> I have a file that consists of these three lines:
>
> --8<---------------cut here---------------start------------->8---
> #+begin_src latex :results file raw :exports results :file function.png
> \[ y = f(x) \]
> #+end_src
> --8<---------------cut here---------------end--------------->8---
>
> With "emacs -Q" and loading in org from the git repository as of maybe
> an hour or so ago, I get this error:
>
> org-odt-export-to-odt: OpenDocument export failed: Opening input file: No 
> such file or directory, /tmp/file:function.png
>
> when I try to export the file to ODT.  Exporting to LaTeX (PDF) works
> just fine.  For the ODT export, the "file:" link specification is not
> being removed.
>
> I don't think I'm doing anything wrong; is this a bug in the exporter?

Yes.
Fixed, on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=769018718

-- 
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>

Reply via email to