emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] cannot latex-export images linked to websites (error) [9.6.3 (


From: Ihor Radchenko
Subject: Re: [BUG] cannot latex-export images linked to websites (error) [9.6.3 (N/A @ /gnu/store/5bhjhzyn6cnal35xad5x55f7b4hf2jcp-emacs-org-9.6.3/share/emacs/site-lisp/org-9.6.3/)]
Date: Sun, 16 Apr 2023 12:23:36 +0000

"Dr. Arne Babenhauserheide" <arne_bab@web.de> writes:

> When I try to export this org-mode snippet as PDF, I get errors:
>
>
> #+caption: Schematic
> [[https://www.draketo.de/wissen/essd-14-4811-2022-f02-web--cc-by.png][file:essd-14-4811-2022-f02-web--cc-by.png]]
> ...
> The cause seems to be that this is exported as a figure wrapped in a
> \href — see the latex export part:
>
>
> \href{https://www.draketo.de/wissen/essd-14-4811-2022-f02-web--cc-by.png}{\begin{figure}[htbp]
>
> \includegraphics[width=.9\linewidth]{essd-14-4811-2022-f02-web--cc-by.png}
> \caption{Schematic}
> \end{figure}}

Confirmed.
Thanks for reporting!

This specific scenario is not handled by ox-latex logic. You should
either remove caption or not use nested links here for now, until this
is fixed.

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

[Prev in Thread] Current Thread [Next in Thread]