[BUG] ox-odt file: links are not pointing to the real files (was: [BUG] ox-odt fails for org-id links (e.g., from org-roam v2) [9.5.2 (9.5.2-gfbff08 @ /home/moritz/.emacs.d/elpa/27.2/develop/org-9.5.2

2022-10-21 Thread Ihor Radchenko
Max Nikulin writes: > I am sorry. I confused this thread with some other bug report. I agree > that the original post describes namely file links. When Moritz provided > an example in response to your request for more details I decided that > more similar problems are coming. Perhaps

Re: [BUG] ox-odt fails for org-id links (e.g., from org-roam v2) [9.5.2 (9.5.2-gfbff08 @ /home/moritz/.emacs.d/elpa/27.2/develop/org-9.5.2/)]

2022-10-21 Thread Max Nikulin
On 21/10/2022 10:16, Ihor Radchenko wrote: Max Nikulin writes: I am apologizing if my comments make no sense. I remember a thread on improper handling on id links in ox-html, so I am a bit surprised that a link to the whole file (if I got the goal of the patch correctly, of course) is the only

Re: [BUG] ox-odt fails for org-id links (e.g., from org-roam v2) [9.5.2 (9.5.2-gfbff08 @ /home/moritz/.emacs.d/elpa/27.2/develop/org-9.5.2/)]

2022-10-21 Thread Ihor Radchenko
Ihor Radchenko writes: > Subject: [PATCH] ox-odt: Allow id: links to files > MIME-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit > > * lisp/ox-odt.el (org-odt-link): Transcode id: links to file property > drawers. > > Reported-by: Moritz Schäfer > Link:

Re: [BUG] ox-odt fails for org-id links (e.g., from org-roam v2) [9.5.2 (9.5.2-gfbff08 @ /home/moritz/.emacs.d/elpa/27.2/develop/org-9.5.2/)]

2022-10-20 Thread Ihor Radchenko
Max Nikulin writes: > I am apologizing if my comments make no sense. I remember a thread on > improper handling on id links in ox-html, so I am a bit surprised that a > link to the whole file (if I got the goal of the patch correctly, of > course) is the only problem with ODT. It is likely

Re: [BUG] ox-odt fails for org-id links (e.g., from org-roam v2) [9.5.2 (9.5.2-gfbff08 @ /home/moritz/.emacs.d/elpa/27.2/develop/org-9.5.2/)]

2022-10-20 Thread Max Nikulin
On 19/10/2022 17:36, Ihor Radchenko wrote: --- a/lisp/ox-odt.el +++ b/lisp/ox-odt.el @@ -2737,6 +2737,12 @@ (defun org-odt-link (link desc info) (format "%s" (org-export-get-reference destination info) (or desc (org-export-get-ordinal destination

Re: [BUG] ox-odt fails for org-id links (e.g., from org-roam v2) [9.5.2 (9.5.2-gfbff08 @ /home/moritz/.emacs.d/elpa/27.2/develop/org-9.5.2/)]

2022-10-19 Thread Ihor Radchenko
Moritz Schäfer writes: > Thanks for getting back to me on this. > > Here is a minimal example. In org-roam (v2), when having a file/node: Thanks! An example helps a lot. Can you try the attached patch against the latest main branch? >From 4e5c7373115cfeb88fb4392252d682fad8d178a8 Mon Sep 17

Re: [BUG] ox-odt fails for org-id links (e.g., from org-roam v2) [9.5.2 (9.5.2-gfbff08 @ /home/moritz/.emacs.d/elpa/27.2/develop/org-9.5.2/)]

2022-10-19 Thread Moritz Schäfer
Thanks for getting back to me on this. Here is a minimal example. In org-roam (v2), when having a file/node: *note_a.org *: *:PROPERTIES::ID: 3c885843-13ad-4dd8-a57f-de8271403b85:END:#+TITLE: Note A* and a second file *note_b.org *:

Re: [BUG] ox-odt fails for org-id links (e.g., from org-roam v2) [9.5.2 (9.5.2-gfbff08 @ /home/moritz/.emacs.d/elpa/27.2/develop/org-9.5.2/)]

2022-10-18 Thread Ihor Radchenko
Moritz Schäfer writes: > When exporting an org-file with org-id based links to odt, I get the > error error "FIXME: Unable to resolve ", where is the > filename, the org-id-link was pointing to. > > Org-id links (example below) are the default for org-roam (v2). > >

[BUG] ox-odt fails for org-id links (e.g., from org-roam v2) [9.5.2 (9.5.2-gfbff08 @ /home/moritz/.emacs.d/elpa/27.2/develop/org-9.5.2/)]

2022-05-09 Thread Moritz Schäfer
Dear mailing list, When exporting an org-file with org-id based links to odt, I get the error error "FIXME: Unable to resolve ", where is the filename, the org-id-link was pointing to. Org-id links (example below) are the default for org-roam (v2).