emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: "Fraga, Eric" <e.fraga@ucl.ac.uk>
Cc: Emacs Org mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: strange export problem with a file: link
Date: Sat, 20 Apr 2024 12:25:56 +0000	[thread overview]
Message-ID: <87cyqkmd9n.fsf@localhost> (raw)
In-Reply-To: <87r0f3ndvy.fsf@ucl.ac.uk>

"Fraga, Eric" <e.fraga@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>


  parent reply	other threads:[~2024-04-20 12:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-18 10:50 strange export problem with a file: link Fraga, Eric
2024-04-18 12:08 ` Max Nikulin
2024-04-18 14:37   ` Fraga, Eric
2024-04-18 14:46     ` Max Nikulin
2024-04-18 15:52       ` Fraga, Eric
2024-04-20 12:25 ` Ihor Radchenko [this message]
2024-04-22  7:33   ` Fraga, Eric

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87cyqkmd9n.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).