Re: Internal link to resulting image from source block

2022-08-04 Thread reza
On 8/5/22 03:48, Ihor Radchenko wrote: > > This email is already a bug report :) Haha nice :) > > However, we cannot just blindly carry over the name tag to the result. > > Consider a case when you have ":results both" in your src block. Where > should the [[html transformation]] link refer to?

Re: Internal link to resulting image from source block

2022-08-04 Thread Ihor Radchenko
reza writes: >> They way to work around the problem is providing explicit name anchor to >> the results block: >> >> >> #+name: html transformation >> #+begin_src plantuml :file img/transformation-html.svg :exports results >> :mkdirp yes >> file org >> file html >> org

Re: Internal link to resulting image from source block

2022-08-04 Thread reza
On 8/4/22 04:37, Ihor Radchenko wrote: > > Nothing really wrong on your side. It is probably an omission on the Org > sid > > Executing the above code produces > > #+RESULTS: html transformation > [[file:img/transformation-html.svg]] > > However, it is currently impossible to link to such result

Re: Internal link to resulting image from source block

2022-08-03 Thread Ihor Radchenko
reza writes: > Hi List > > I'm exporting a plantuml figure to HTML like > > #+name: html transformation > #+begin_src plantuml :file img/transformation-html.svg :exports results >file org >file html >org -> html : org-html-publish-to-html > #+end_src > > Now I want to include an inter

Internal link to resulting image from source block

2022-08-03 Thread reza
Hi List I'm exporting a plantuml figure to HTML like #+name: html transformation #+begin_src plantuml :file img/transformation-html.svg :exports results file org file html org -> html : org-html-publish-to-html #+end_src Now I want to include an internal link to this figure with ~[[html