Update list/enum tests and recognize #762 as already closed (#5433)

This commit is contained in:
Ian Wrzesinski 2024-11-17 04:18:44 -05:00 committed by GitHub
parent 5db179d67a
commit 5672cc2a29
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 11 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 592 B

View File

@ -35,6 +35,15 @@ Empty \
+Nope \
a + 0.
--- enum-syntax-number-length ---
// Ensure that indentation works from the beginning of a number, not the end.
10. a
11. b
12. c // same level as b
13. d // indented past c
14. e
--- enum-number-override ---
// Test item number overriding.
1. first

View File

@ -35,7 +35,8 @@ _Shopping list_
- D
--- list-indent-trivia-nesting ---
// Test indent nesting behavior with odd trivia (comments and spaces).
// Test indent nesting behavior with odd trivia (comments and spaces). The
// comments should _not_ affect the nesting. Only the final column matters.
#let indented = [
- a
@ -48,9 +49,6 @@ _Shopping list_
/**/ - f
/**/ - g
]
// Current behavior is that list columns are based on the first non-whitespace
// element in their line, so the block comments here determine the column the
// list starts at
#let item = list.item
#let manual = {