diff --git a/tests/ref/block-spacing-maximum.png b/tests/ref/block-spacing-maximum.png index 755b1cc30..e5517b7ff 100644 Binary files a/tests/ref/block-spacing-maximum.png and b/tests/ref/block-spacing-maximum.png differ diff --git a/tests/ref/closure-path-resolve-in-layout-phase.png b/tests/ref/closure-path-resolve-in-layout-phase.png index 21f9f4e41..d67dc5784 100644 Binary files a/tests/ref/closure-path-resolve-in-layout-phase.png and b/tests/ref/closure-path-resolve-in-layout-phase.png differ diff --git a/tests/ref/enum-built-in-loop.png b/tests/ref/enum-built-in-loop.png index 298518da3..7cf356434 100644 Binary files a/tests/ref/enum-built-in-loop.png and b/tests/ref/enum-built-in-loop.png differ diff --git a/tests/ref/enum-function-call.png b/tests/ref/enum-function-call.png index a451f27c7..8508829f7 100644 Binary files a/tests/ref/enum-function-call.png and b/tests/ref/enum-function-call.png differ diff --git a/tests/ref/enum-number-align-2d.png b/tests/ref/enum-number-align-2d.png deleted file mode 100644 index e205844ff..000000000 Binary files a/tests/ref/enum-number-align-2d.png and /dev/null differ diff --git a/tests/ref/enum-number-align-default.png b/tests/ref/enum-number-align-default.png deleted file mode 100644 index c47f9001a..000000000 Binary files a/tests/ref/enum-number-align-default.png and /dev/null differ diff --git a/tests/ref/enum-number-align-specified.png b/tests/ref/enum-number-align-specified.png deleted file mode 100644 index b2f2d619a..000000000 Binary files a/tests/ref/enum-number-align-specified.png and /dev/null differ diff --git a/tests/ref/enum-number-align-unaffected.png b/tests/ref/enum-number-align-unaffected.png deleted file mode 100644 index 3abcaaab7..000000000 Binary files a/tests/ref/enum-number-align-unaffected.png and /dev/null differ diff --git a/tests/ref/enum-number-align-unfolded.png b/tests/ref/enum-number-align-unfolded.png deleted file mode 100644 index 8c4f29433..000000000 Binary files a/tests/ref/enum-number-align-unfolded.png and /dev/null differ diff --git a/tests/ref/enum-number-override-nested.png b/tests/ref/enum-number-override-nested.png index 22bb7611e..f047c2f27 100644 Binary files a/tests/ref/enum-number-override-nested.png and b/tests/ref/enum-number-override-nested.png differ diff --git a/tests/ref/enum-number-override.png b/tests/ref/enum-number-override.png index 65c0f9d84..9fe5c3db3 100644 Binary files a/tests/ref/enum-number-override.png and b/tests/ref/enum-number-override.png differ diff --git a/tests/ref/enum-numbering-closure-nested-complex.png b/tests/ref/enum-numbering-closure-nested-complex.png index f287f4dd2..6793cebaf 100644 Binary files a/tests/ref/enum-numbering-closure-nested-complex.png and b/tests/ref/enum-numbering-closure-nested-complex.png differ diff --git a/tests/ref/enum-numbering-closure-nested.png b/tests/ref/enum-numbering-closure-nested.png index 25a5c42d5..e1b4160a2 100644 Binary files a/tests/ref/enum-numbering-closure-nested.png and b/tests/ref/enum-numbering-closure-nested.png differ diff --git a/tests/ref/enum-numbering-closure.png b/tests/ref/enum-numbering-closure.png index bf86f5541..5a0990a09 100644 Binary files a/tests/ref/enum-numbering-closure.png and b/tests/ref/enum-numbering-closure.png differ diff --git a/tests/ref/enum-numbering-full.png b/tests/ref/enum-numbering-full.png index 46449e573..5357eb113 100644 Binary files a/tests/ref/enum-numbering-full.png and b/tests/ref/enum-numbering-full.png differ diff --git a/tests/ref/enum-numbering-pattern.png b/tests/ref/enum-numbering-pattern.png index 4ecb9e4a2..b4255a304 100644 Binary files a/tests/ref/enum-numbering-pattern.png and b/tests/ref/enum-numbering-pattern.png differ diff --git a/tests/ref/enum-syntax-edge-cases.png b/tests/ref/enum-syntax-edge-cases.png index 496dc8e3d..d46ee7112 100644 Binary files a/tests/ref/enum-syntax-edge-cases.png and b/tests/ref/enum-syntax-edge-cases.png differ diff --git a/tests/ref/footnote-duplicate.png b/tests/ref/footnote-duplicate.png index 7c83b8de6..d19dfd38f 100644 Binary files a/tests/ref/footnote-duplicate.png and b/tests/ref/footnote-duplicate.png differ diff --git a/tests/ref/hide-list.png b/tests/ref/hide-list.png index 055f7b66f..62356d096 100644 Binary files a/tests/ref/hide-list.png and b/tests/ref/hide-list.png differ diff --git a/tests/ref/import-from-function-scope.png b/tests/ref/import-from-function-scope.png index f6169d8c2..ea58037ca 100644 Binary files a/tests/ref/import-from-function-scope.png and b/tests/ref/import-from-function-scope.png differ diff --git a/tests/ref/import-source-field-access.png b/tests/ref/import-source-field-access.png index e42bf2091..ff003242b 100644 Binary files a/tests/ref/import-source-field-access.png and b/tests/ref/import-source-field-access.png differ diff --git a/tests/ref/issue-1050-terms-indent.png b/tests/ref/issue-1050-terms-indent.png index ca0521c76..fc8998494 100644 Binary files a/tests/ref/issue-1050-terms-indent.png and b/tests/ref/issue-1050-terms-indent.png differ diff --git a/tests/ref/issue-1433-footnote-in-list.png b/tests/ref/issue-1433-footnote-in-list.png index 28a6e77ff..a4f5ad732 100644 Binary files a/tests/ref/issue-1433-footnote-in-list.png and b/tests/ref/issue-1433-footnote-in-list.png differ diff --git a/tests/ref/issue-1850-list-attach-spacing.png b/tests/ref/issue-1850-list-attach-spacing.png index 45faa56c4..8f4cd1fb5 100644 Binary files a/tests/ref/issue-1850-list-attach-spacing.png and b/tests/ref/issue-1850-list-attach-spacing.png differ diff --git a/tests/ref/issue-2530-enum-item-panic.png b/tests/ref/issue-2530-enum-item-panic.png index 4f6130bad..f5d23dcc5 100644 Binary files a/tests/ref/issue-2530-enum-item-panic.png and b/tests/ref/issue-2530-enum-item-panic.png differ diff --git a/tests/ref/issue-2530-list-item-panic.png b/tests/ref/issue-2530-list-item-panic.png index 14d2f5700..9dc2c4a84 100644 Binary files a/tests/ref/issue-2530-list-item-panic.png and b/tests/ref/issue-2530-list-item-panic.png differ diff --git a/tests/ref/issue-grid-base-auto-row-list.png b/tests/ref/issue-grid-base-auto-row-list.png index 5033e71d3..a8505d967 100644 Binary files a/tests/ref/issue-grid-base-auto-row-list.png and b/tests/ref/issue-grid-base-auto-row-list.png differ diff --git a/tests/ref/issue-grid-double-skip.png b/tests/ref/issue-grid-double-skip.png index 2901f29ae..56d18b2bb 100644 Binary files a/tests/ref/issue-grid-double-skip.png and b/tests/ref/issue-grid-double-skip.png differ diff --git a/tests/ref/issue-grid-skip-list.png b/tests/ref/issue-grid-skip-list.png index bd6743376..c78c24cd5 100644 Binary files a/tests/ref/issue-grid-skip-list.png and b/tests/ref/issue-grid-skip-list.png differ diff --git a/tests/ref/list-attached-above-spacing.png b/tests/ref/list-attached-above-spacing.png index 0f499769b..7fb57cfac 100644 Binary files a/tests/ref/list-attached-above-spacing.png and b/tests/ref/list-attached-above-spacing.png differ diff --git a/tests/ref/list-attached.png b/tests/ref/list-attached.png index c1735fd01..8a0b670d4 100644 Binary files a/tests/ref/list-attached.png and b/tests/ref/list-attached.png differ diff --git a/tests/ref/list-basic.png b/tests/ref/list-basic.png index edf69cac7..9165ef3e1 100644 Binary files a/tests/ref/list-basic.png and b/tests/ref/list-basic.png differ diff --git a/tests/ref/list-content-block.png b/tests/ref/list-content-block.png index 18b003e57..fc70737b5 100644 Binary files a/tests/ref/list-content-block.png and b/tests/ref/list-content-block.png differ diff --git a/tests/ref/list-indent-specifics.png b/tests/ref/list-indent-specifics.png index 212e45ed0..ffb040764 100644 Binary files a/tests/ref/list-indent-specifics.png and b/tests/ref/list-indent-specifics.png differ diff --git a/tests/ref/list-item-styling.png b/tests/ref/list-item-styling.png index 72af2e1db..197e7fcd9 100644 Binary files a/tests/ref/list-item-styling.png and b/tests/ref/list-item-styling.png differ diff --git a/tests/ref/list-items-context.png b/tests/ref/list-items-context.png index a19cbec43..e6f9ed9a5 100644 Binary files a/tests/ref/list-items-context.png and b/tests/ref/list-items-context.png differ diff --git a/tests/ref/list-marker-align-unaffected.png b/tests/ref/list-marker-align-unaffected.png index 90f9ad45b..ddfc808a0 100644 Binary files a/tests/ref/list-marker-align-unaffected.png and b/tests/ref/list-marker-align-unaffected.png differ diff --git a/tests/ref/list-marker-bare-hyphen.png b/tests/ref/list-marker-bare-hyphen.png index 37830fd67..86d8c0afa 100644 Binary files a/tests/ref/list-marker-bare-hyphen.png and b/tests/ref/list-marker-bare-hyphen.png differ diff --git a/tests/ref/list-marker-closure.png b/tests/ref/list-marker-closure.png index 4dba3b9d8..d2b3f40d9 100644 Binary files a/tests/ref/list-marker-closure.png and b/tests/ref/list-marker-closure.png differ diff --git a/tests/ref/list-marker-cycle.png b/tests/ref/list-marker-cycle.png index ef219f074..0a27813d0 100644 Binary files a/tests/ref/list-marker-cycle.png and b/tests/ref/list-marker-cycle.png differ diff --git a/tests/ref/list-marker-dash.png b/tests/ref/list-marker-dash.png index 10abc8a67..588abafb6 100644 Binary files a/tests/ref/list-marker-dash.png and b/tests/ref/list-marker-dash.png differ diff --git a/tests/ref/list-mix.png b/tests/ref/list-mix.png index 2c263c02c..cd2247a57 100644 Binary files a/tests/ref/list-mix.png and b/tests/ref/list-mix.png differ diff --git a/tests/ref/list-mixed-tabs-and-spaces.png b/tests/ref/list-mixed-tabs-and-spaces.png index fcddff42b..b463f0633 100644 Binary files a/tests/ref/list-mixed-tabs-and-spaces.png and b/tests/ref/list-mixed-tabs-and-spaces.png differ diff --git a/tests/ref/list-nested.png b/tests/ref/list-nested.png index 22f73ecb3..8a824a753 100644 Binary files a/tests/ref/list-nested.png and b/tests/ref/list-nested.png differ diff --git a/tests/ref/list-non-attached-followed-by-attached.png b/tests/ref/list-non-attached-followed-by-attached.png index 22db4e388..a05593fae 100644 Binary files a/tests/ref/list-non-attached-followed-by-attached.png and b/tests/ref/list-non-attached-followed-by-attached.png differ diff --git a/tests/ref/list-rtl.png b/tests/ref/list-rtl.png index db1e75463..453bda5dd 100644 Binary files a/tests/ref/list-rtl.png and b/tests/ref/list-rtl.png differ diff --git a/tests/ref/list-syntax-edge-cases.png b/tests/ref/list-syntax-edge-cases.png index 460462e3c..878fbfdf5 100644 Binary files a/tests/ref/list-syntax-edge-cases.png and b/tests/ref/list-syntax-edge-cases.png differ diff --git a/tests/ref/list-tabs.png b/tests/ref/list-tabs.png index 1fce74c35..1ecffc5ba 100644 Binary files a/tests/ref/list-tabs.png and b/tests/ref/list-tabs.png differ diff --git a/tests/ref/list-tight-non-attached-tight.png b/tests/ref/list-tight-non-attached-tight.png index 96d518133..caf29b120 100644 Binary files a/tests/ref/list-tight-non-attached-tight.png and b/tests/ref/list-tight-non-attached-tight.png differ diff --git a/tests/ref/list-top-level-indent.png b/tests/ref/list-top-level-indent.png index beb17ede9..b47cbb6db 100644 Binary files a/tests/ref/list-top-level-indent.png and b/tests/ref/list-top-level-indent.png differ diff --git a/tests/ref/list-wide-cannot-attach.png b/tests/ref/list-wide-cannot-attach.png index 600041a77..3444b95f2 100644 Binary files a/tests/ref/list-wide-cannot-attach.png and b/tests/ref/list-wide-cannot-attach.png differ diff --git a/tests/ref/list-wide-really-cannot-attach.png b/tests/ref/list-wide-really-cannot-attach.png index 89680c092..cab33f28c 100644 Binary files a/tests/ref/list-wide-really-cannot-attach.png and b/tests/ref/list-wide-really-cannot-attach.png differ diff --git a/tests/ref/par-first-line-indent.png b/tests/ref/par-first-line-indent.png index 95027222f..7aff87bfd 100644 Binary files a/tests/ref/par-first-line-indent.png and b/tests/ref/par-first-line-indent.png differ diff --git a/tests/ref/set-instantiation-site-markup.png b/tests/ref/set-instantiation-site-markup.png index 95193e5cd..b49febe3f 100644 Binary files a/tests/ref/set-instantiation-site-markup.png and b/tests/ref/set-instantiation-site-markup.png differ diff --git a/tests/ref/set-vs-construct-1.png b/tests/ref/set-vs-construct-1.png index 597e96749..4847dfe2f 100644 Binary files a/tests/ref/set-vs-construct-1.png and b/tests/ref/set-vs-construct-1.png differ diff --git a/tests/ref/set-vs-construct-2.png b/tests/ref/set-vs-construct-2.png index 2fedd0b42..7347832ef 100644 Binary files a/tests/ref/set-vs-construct-2.png and b/tests/ref/set-vs-construct-2.png differ diff --git a/tests/ref/shorthand-dashes.png b/tests/ref/shorthand-dashes.png index f8b4191fe..5bec0215b 100644 Binary files a/tests/ref/shorthand-dashes.png and b/tests/ref/shorthand-dashes.png differ diff --git a/tests/ref/show-multiple-rules.png b/tests/ref/show-multiple-rules.png index c92b6269e..0c52104dc 100644 Binary files a/tests/ref/show-multiple-rules.png and b/tests/ref/show-multiple-rules.png differ diff --git a/tests/ref/show-recursive-multiple.png b/tests/ref/show-recursive-multiple.png index b56b089c9..5f80d9939 100644 Binary files a/tests/ref/show-recursive-multiple.png and b/tests/ref/show-recursive-multiple.png differ diff --git a/tests/ref/show-rule-in-function.png b/tests/ref/show-rule-in-function.png index 97aa2845e..bb4cac6de 100644 Binary files a/tests/ref/show-rule-in-function.png and b/tests/ref/show-rule-in-function.png differ diff --git a/tests/ref/show-selector-basic.png b/tests/ref/show-selector-basic.png index 870166d9e..0d07744bb 100644 Binary files a/tests/ref/show-selector-basic.png and b/tests/ref/show-selector-basic.png differ diff --git a/tests/ref/show-set-vs-construct.png b/tests/ref/show-set-vs-construct.png index a0ec96bf6..13907d319 100644 Binary files a/tests/ref/show-set-vs-construct.png and b/tests/ref/show-set-vs-construct.png differ diff --git a/tests/ref/show-text-in-other-show.png b/tests/ref/show-text-in-other-show.png index c57a0d2a6..9a94c65b0 100644 Binary files a/tests/ref/show-text-in-other-show.png and b/tests/ref/show-text-in-other-show.png differ diff --git a/tests/ref/terms-multiline.png b/tests/ref/terms-multiline.png index b5baea4ad..892c2c09f 100644 Binary files a/tests/ref/terms-multiline.png and b/tests/ref/terms-multiline.png differ diff --git a/tests/ref/terms-rtl.png b/tests/ref/terms-rtl.png index 538571ddb..138ba92aa 100644 Binary files a/tests/ref/terms-rtl.png and b/tests/ref/terms-rtl.png differ diff --git a/tests/ref/terms-style-change-interrupted.png b/tests/ref/terms-style-change-interrupted.png index 846e45e14..fde88609d 100644 Binary files a/tests/ref/terms-style-change-interrupted.png and b/tests/ref/terms-style-change-interrupted.png differ diff --git a/tests/ref/terms-syntax-edge-cases.png b/tests/ref/terms-syntax-edge-cases.png index e2a557c1a..1e4702505 100644 Binary files a/tests/ref/terms-syntax-edge-cases.png and b/tests/ref/terms-syntax-edge-cases.png differ diff --git a/tests/suite/model/enum.typ b/tests/suite/model/enum.typ index 57a4d7a68..cc3049a00 100644 --- a/tests/suite/model/enum.typ +++ b/tests/suite/model/enum.typ @@ -101,55 +101,6 @@ a + 0. // Error: 22-28 invalid numbering pattern #set enum(numbering: "(())") ---- enum-number-align-unaffected --- -// Alignment shouldn't affect number -#set align(horizon) - -+ ABCDEF\ GHIJKL\ MNOPQR - + INNER\ INNER\ INNER -+ BACK\ HERE - ---- enum-number-align-default --- -// Enum number alignment should be 'end' by default -1. a -10. b -100. c - ---- enum-number-align-specified --- -#set enum(number-align: start) -1. a -8. b -16. c - ---- enum-number-align-2d --- -#set enum(number-align: center + horizon) -1. #box(fill: teal, inset: 10pt )[a] -8. #box(fill: teal, inset: 10pt )[b] -16. #box(fill: teal,inset: 10pt )[c] - ---- enum-number-align-unfolded --- -// Number align option should not be affected by the context. -#set align(center) -#set enum(number-align: start) - -4. c -8. d -16. e\ f - 2. f\ g - 32. g - 64. h - ---- enum-number-align-values --- -// Test valid number align values (horizontal and vertical) -#set enum(number-align: start) -#set enum(number-align: end) -#set enum(number-align: left) -#set enum(number-align: center) -#set enum(number-align: right) -#set enum(number-align: top) -#set enum(number-align: horizon) -#set enum(number-align: bottom) - --- issue-2530-enum-item-panic --- // Enum item (pre-emptive) #enum.item(none)[Hello] diff --git a/tests/suite/model/terms.typ b/tests/suite/model/terms.typ index 6a08b9236..318a3e3ab 100644 --- a/tests/suite/model/terms.typ +++ b/tests/suite/model/terms.typ @@ -29,7 +29,7 @@ #set text(8pt) / First list: #lorem(6) -#set terms(hanging-indent: 30pt) +#set terms(indent: 30pt) / Second list: #lorem(5) --- terms-rtl --- diff --git a/tests/suite/styling/set.typ b/tests/suite/styling/set.typ index ca0809776..057ad3163 100644 --- a/tests/suite/styling/set.typ +++ b/tests/suite/styling/set.typ @@ -10,7 +10,7 @@ Hello *#x* #let fruit = [ - Apple - Orange - #list(body-indent: 20pt)[Pear] + #list(indent: 30pt)[Pear] ] - Fruit @@ -41,7 +41,7 @@ Hello *#x* #let choice = ("monkey.svg", "rhino.png", "tiger.jpg") #set enum(numbering: n => { let path = "/assets/images/" + choice.at(n - 1) - move(dy: -0.15em, image(path, width: 1em, height: 1em)) + box(baseline: 0.25em, image(path, width: 1em, height: 1em)) }) + Monkey @@ -69,7 +69,7 @@ Hello *#x* // Ensure that constructor styles aren't passed down the tree. // The inner list should have no extra indent. #set par(leading: 2pt) -#list(body-indent: 20pt, [First], list[A][B]) +#list(indent: 20pt, [First], list[A][B]) --- set-vs-construct-2 --- // Ensure that constructor styles win, but not over outer styles.