vfm icon indicating copy to clipboard operation
vfm copied to clipboard

footnote in table can't refer in defined order

Open kenhys opened this issue 4 years ago • 2 comments

Describe the bug

footnote in table can't refer in defined order.

To Reproduce Steps to reproduce the behavior:

  1. npm create book
  2. choose @vivliostyle/theme-techbook
  3. Write manuscript which use footnote in table.
  4. npm run preview

Here is the manuscript.

# Footnote examples


|           | Foo | Bar | Baz |
|-----------|-----|-----|-----|
| foo       | ○  | ☓   | ☓   |
| bar[^fn1] | ○  | ☓   | ☓   |
| baz[^fn2] | ○  | ☓   | ☓   |
| bee[^fn3] | ○  | ☓   | ☓   |

* footnote of bar matches fn1
* footnote of baz matches fn2
* footnote of bee matches fn3

[^fn1]: fn1
[^fn2]: fn2
[^fn3]: fn3

Expected behavior

footnote in table is refereed defined order.

Screenshots

Screenshot from 2021-11-04 22-06-24

It should be:

  1. fn1
  2. fn2
  3. fn3

Desktop (please complete the following information):

  • OS: debian sid
  • Browser Chromium
  • Version 93.0.4577.0

@vivliostyle/core 2.11.3 @vivliostyle/vfm 1.0.2 @vivliostyle/theme-techbook 0.3.1

Additional context

N/A

kenhys avatar Nov 04 '21 13:11 kenhys

This seems to be a vfm issue. Could you move this issue to https://github.com/vivliostyle/vfm/issues ?

MurakamiShinyu avatar Nov 05 '21 02:11 MurakamiShinyu

@MurakamiShinyu I guess that you can do transfer issue (menu is placed at right side bar?)

something like:

image

kenhys avatar Nov 05 '21 02:11 kenhys