emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [BUG] commit 7048876f broke Figure link with caption [9.6 (release_9


From: Ihor Radchenko
Subject: Re: [BUG] commit 7048876f broke Figure link with caption [9.6 (release_9.6 @ /Users/powellb/src/org-mode/lisp/)]
Date: Wed, 21 Dec 2022 12:36:12 +0000

Brian Powell <powellb@hawaii.edu> writes:

> It seems that the following commit broke the ability to link to a figure
> with a caption.
>
>       commit 7048876f6fa519513763c83bc5baa791420cddab
>       Author: Ihor Radchenko <yantar92@posteo.net>
>       Date:   Tue Dec 13 11:44:22 2022 +0300
>
>           org-export-get-ordinal: Do not ignore ELEMENT type when TYPES is 
> given
>
>           * lisp/ox.el (org-export-get-ordinal): Append ELEMENT type to TYPES,
>           when TYPES is non-nil.
>
> I have a simple file with a figure and image link. The figure has a
> #+name and #+caption. If I add a link to the figure name in the
> document, then exporting to HTML fails. Prior commits did not have any issue.

Thanks for reporting!
I was unable to reproduce the problem with the given recipe, but I do
see what is wrong looking at the backtrace.

Fixed on bugfix now.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=db34a7d83

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