[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[BUG] cannot latex-export images linked to websites (error) [9.6.3 (N/A
From: |
Dr. Arne Babenhauserheide |
Subject: |
[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 09:45:27 +0200 |
User-agent: |
mu4e 1.10.0; emacs 29.0.60 |
Remember to cover the basics, that is, what you expected to happen and
what in fact did happen. You don't know how to make a good report? See
https://orgmode.org/manual/Feedback.html#Feedback
Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------
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]]
Runaway argument?
{\begin {figure}[htbp]
! Paragraph ended before \href@split was complete.
<to be read again>
\par
l.38
LaTeX Warning: File `essd-14-4811-2022-f02-web--cc-by.png' not found on input l
ine 39.
! Package pdftex.def Error: File `essd-14-4811-2022-f02-web--cc-by.png' not fou
nd: using draft setting.
See the pdftex.def package documentation for explanation.
Type H <return> for immediate help.
...
l.39 ...dth]{essd-14-4811-2022-f02-web--cc-by.png}
(/gnu/store/3rqj0gzglw46lw3prrd1pdzqzkw0d2nz-texlive-texmf-20210325/share/texmf
-dist/tex/latex/base/t1cmtt.fd)
! LaTeX Error: \caption outside float.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.40 \caption
{Schematic}
Overfull \hbox (8.6822pt too wide) in paragraph at lines 39--41
[][] \T1/cmr/m/n/10.95 Schematic
! Extra }, or forgotten \endgroup.
\@endfloatbox ...pagefalse \outer@nobreak \egroup
\color@endbox
l.41 \end{figure}
}
! Too many }'s.
\color@endbox ->\color@endgroup \egroup
l.41 \end{figure}
}
! LaTeX Error: \begin{document} ended by \end{figure}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.41 \end{figure}
}
! Extra \endgroup.
<recently read> \endgroup
l.41 \end{figure}
}
! Too many }'s.
l.41 \end{figure}}
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}}
Best wishes,
Arne
Emacs : GNU Emacs 29.0.60 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30,
cairo version 1.16.0)
Package: Org mode version 9.6.3 (N/A @
/gnu/store/5bhjhzyn6cnal35xad5x55f7b4hf2jcp-emacs-org-9.6.3/share/emacs/site-lisp/org-9.6.3/)
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
signature.asc
Description: PGP signature
- [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/)],
Dr. Arne Babenhauserheide <=