"Dr. Arne Babenhauserheide" <arne_...@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