diff --git a/tests/ref/issue-5719-no-sub-heading.png b/tests/ref/issue-5719-no-sub-heading.png new file mode 100644 index 000000000..51e335474 Binary files /dev/null and b/tests/ref/issue-5719-no-sub-heading.png differ diff --git a/tests/ref/issue-5719-sub-enum-numbering.png b/tests/ref/issue-5719-sub-enum-numbering.png new file mode 100644 index 000000000..f201b5b27 Binary files /dev/null and b/tests/ref/issue-5719-sub-enum-numbering.png differ diff --git a/tests/ref/issue-5719-sub-list.png b/tests/ref/issue-5719-sub-list.png new file mode 100644 index 000000000..f2b885174 Binary files /dev/null and b/tests/ref/issue-5719-sub-list.png differ diff --git a/tests/ref/issue-5719-sub-term.png b/tests/ref/issue-5719-sub-term.png new file mode 100644 index 000000000..08fff983e Binary files /dev/null and b/tests/ref/issue-5719-sub-term.png differ diff --git a/tests/suite/model/enum.typ b/tests/suite/model/enum.typ index 1c5aaf14c..994041d76 100644 --- a/tests/suite/model/enum.typ +++ b/tests/suite/model/enum.typ @@ -193,14 +193,15 @@ a + 0. #align(right)[+ align] + h - --- issue-5719-sub-enum-numbering --- -#set enum(numbering: "(a)") - -+ first main +1. first main +2. 1. first sub + 2. second sub + + first sub + second sub ++ = Heading + text + == Sub-heading + more text += Heading outside enum -- first main -- - first sub - - second sub diff --git a/tests/suite/model/heading.typ b/tests/suite/model/heading.typ index 72dc4aa37..69e0acbbb 100644 --- a/tests/suite/model/heading.typ +++ b/tests/suite/model/heading.typ @@ -136,3 +136,7 @@ Cannot be used as @intro // Hint: 1-16 HTML only supports

to

, not // Hint: 1-16 you may want to restructure your document so that it doesn't contain deep headings ======= Level 7 + + +--- issue-5719-no-sub-heading --- += = Nest heading \ No newline at end of file diff --git a/tests/suite/model/list.typ b/tests/suite/model/list.typ index b3d9a830b..b397932d1 100644 --- a/tests/suite/model/list.typ +++ b/tests/suite/model/list.typ @@ -276,3 +276,13 @@ World - h #align(right)[- i] - j + +--- issue-5719-sub-list --- +- first main +- - first sub + - second sub +- = Heading in the list + text + == Sub-heading in the list + more text += new heading outside list \ No newline at end of file diff --git a/tests/suite/model/terms.typ b/tests/suite/model/terms.typ index 61fe20b0d..eb2c40b7c 100644 --- a/tests/suite/model/terms.typ +++ b/tests/suite/model/terms.typ @@ -90,3 +90,8 @@ Not in list / h: h #align(right)[/ i: i] / j: j + +--- issue-5719-sub-term --- +/ Term A: first +/ Term B: / Term C: second + / Term D: third