XmacsLabs / mogan

Mogan STEM Suite (based on GNU TeXmacs): Enjoy exploring science and technology!
https://mogan.app
GNU General Public License v3.0
366 stars 30 forks source link

Footnotes in Tables #1555

Open PannenetsF opened 7 months ago

PannenetsF commented 7 months ago

Mogan 版本

2.1.1

操作系统版本和架构

macOS 14.2.1 23C71 arm64

描述问题

  1. template: beamer
  2. expected behavior: footnote should behave consistently in the same page
  3. behavior: if footnote is in title/table caption/tabular, no footnote description could be set. Besides, the counter would be mistaken: though only 5 footnotes were used, the numbering is 1, 2, 3, 5, 6. The skipping happened in the tabular.

screen shot image

minimal source

<tit|<\footnote>
  \;
</footnote>>

<\footnote>
  Before Table
</footnote>

<big-table|<tabular|<tformat|<table|<row|<cell|<\footnote>
  12
</footnote>>>>>>|<\footnote>
  \;
</footnote>>

<\footnote>
  After Table
</footnote>

期待的结果

expected behavior: footnote should behave consistently in the same page, and the numbering should be correct

YiqiXu commented 7 months ago

Footnotes in tables need some careful treatment. Please read The Jolly Writer 7.4.1, especially Warning on Page 138.

Please always read The Jolly Writer first before you report "bugs", as most nuances have been explained there.

PannenetsF commented 7 months ago

Thanks for the reply. The mentioned solution works fine

da-liii commented 6 months ago

We should make it more friendly, that's why I re-open the issue.