Repository navigation
Commit b57d867
committed
Validate document-level column, fig-column and tbl-column
`column`, `fig-column` and `tbl-column` are read from document metadata by columns-preprocess.lua, but the front matter schema is built only from fields tagged with a `document-*` context. These three options in cell-pagelayout.yml had no tags, so front matter accepted any value silently and offered no completion.
Tag them like their `*-cap-location` siblings. The format list matches what columns.lua handles (HTML, LaTeX, Typst). Cell-level use is unchanged.
Fixes #153251 parent 9777eda commit b57d867
7 files changed
Lines changed: 147 additions & 10 deletions
File tree
- news
- src/resources
- editor/tools
- yaml
- schema
- tests/unit/schema-validation
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8000 | 8000 | | |
8001 | 8001 | | |
8002 | 8002 | | |
| 8003 | + | |
| 8004 | + | |
| 8005 | + | |
| 8006 | + | |
| 8007 | + | |
| 8008 | + | |
| 8009 | + | |
| 8010 | + | |
| 8011 | + | |
| 8012 | + | |
8003 | 8013 | | |
8004 | 8014 | | |
8005 | 8015 | | |
| |||
8010 | 8020 | | |
8011 | 8021 | | |
8012 | 8022 | | |
| 8023 | + | |
| 8024 | + | |
| 8025 | + | |
| 8026 | + | |
| 8027 | + | |
| 8028 | + | |
| 8029 | + | |
| 8030 | + | |
| 8031 | + | |
| 8032 | + | |
| 8033 | + | |
8013 | 8034 | | |
8014 | 8035 | | |
8015 | 8036 | | |
| |||
8020 | 8041 | | |
8021 | 8042 | | |
8022 | 8043 | | |
| 8044 | + | |
| 8045 | + | |
| 8046 | + | |
| 8047 | + | |
| 8048 | + | |
| 8049 | + | |
| 8050 | + | |
| 8051 | + | |
| 8052 | + | |
| 8053 | + | |
| 8054 | + | |
8023 | 8055 | | |
8024 | 8056 | | |
8025 | 8057 | | |
| |||
25877 | 25909 | | |
25878 | 25910 | | |
25879 | 25911 | | |
25880 | | - | |
| 25912 | + | |
25881 | 25913 | | |
25882 | 25914 | | |
25883 | 25915 | | |
25884 | 25916 | | |
25885 | | - | |
| 25917 | + | |
25886 | 25918 | | |
25887 | 25919 | | |
25888 | 25920 | | |
| |||
25898 | 25930 | | |
25899 | 25931 | | |
25900 | 25932 | | |
25901 | | - | |
| 25933 | + | |
25902 | 25934 | | |
25903 | 25935 | | |
25904 | 25936 | | |
| |||
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
973 | 973 | | |
974 | 974 | | |
975 | 975 | | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
976 | 986 | | |
977 | 987 | | |
978 | 988 | | |
| |||
983 | 993 | | |
984 | 994 | | |
985 | 995 | | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
986 | 1007 | | |
987 | 1008 | | |
988 | 1009 | | |
| |||
993 | 1014 | | |
994 | 1015 | | |
995 | 1016 | | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
996 | 1028 | | |
997 | 1029 | | |
998 | 1030 | | |
| |||
18850 | 18882 | | |
18851 | 18883 | | |
18852 | 18884 | | |
18853 | | - | |
| 18885 | + | |
18854 | 18886 | | |
18855 | 18887 | | |
18856 | 18888 | | |
18857 | 18889 | | |
18858 | | - | |
| 18890 | + | |
18859 | 18891 | | |
18860 | 18892 | | |
18861 | 18893 | | |
| |||
18871 | 18903 | | |
18872 | 18904 | | |
18873 | 18905 | | |
18874 | | - | |
| 18906 | + | |
18875 | 18907 | | |
18876 | 18908 | | |
18877 | 18909 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
9 | 15 | | |
10 | 16 | | |
11 | 17 | | |
12 | 18 | | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
16 | 25 | | |
17 | 26 | | |
18 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
0 commit comments