Is there a way to remove footnotes from the outline?

In some of my figures, I have footnotes in the captions. Now I want to create a “Table of figures”, however, it seems the footnote will then also appear in the outline.
Is there a way, to remove the footnote from the outline, while still keeping it on the page of the figure?

Here is a piece of code, that recreates my issue.

#outline(
  title: [Table of figures],
  target: figure.where(kind: image),
  //fill: none,
)
#pagebreak()
#figure(
  image("placeholder.png"),
  caption:[Test. #footnote[This appears on the 'Table of Figures' page as well.]]
)

Hi there! Welcome to the Forum.
This seems to be a bug that is on the radar already, as seen in this issue:
Until the error is fixed, you can do the following:

#[
#show footnote.entry: hide
#show ref: none
#show footnote: none
#outline(title: [Table of figures],
target: figure.where(kind: image),
//fill: none,
)
]
#pagebreak()
#counter(footnote).update(0)
#figure(
image("placeholder.png"),
caption:[Test. #footnote[This appears on the ‘Table of Figures’ page as well.]]
)

If there are any questions left, don’t hesitate to ask again.

1 Like