summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-02-17 18:56:50 +0100
committerLaurenz <laurmaedje@gmail.com>2022-02-17 23:00:30 +0100
commit980f898d553bec35bd94171d47fd86cb13e39b23 (patch)
tree50f5b983b3cf88b0e19a8766b9c3735612d2db36 /tests
parent261f387535ebe3b784d69893027d8edac01e1ba9 (diff)
Automatic list numbering
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/markup/enums.pngbin6075 -> 7427 bytes
-rw-r--r--tests/ref/markup/lists.pngbin21378 -> 21396 bytes
-rw-r--r--tests/typ/markup/enums.typ14
3 files changed, 10 insertions, 4 deletions
diff --git a/tests/ref/markup/enums.png b/tests/ref/markup/enums.png
index 3878f32c..04d6ee4d 100644
--- a/tests/ref/markup/enums.png
+++ b/tests/ref/markup/enums.png
Binary files differ
diff --git a/tests/ref/markup/lists.png b/tests/ref/markup/lists.png
index 618e1191..503bfc9a 100644
--- a/tests/ref/markup/lists.png
+++ b/tests/ref/markup/lists.png
Binary files differ
diff --git a/tests/typ/markup/enums.typ b/tests/typ/markup/enums.typ
index 93a175d4..aeff9f2c 100644
--- a/tests/typ/markup/enums.typ
+++ b/tests/typ/markup/enums.typ
@@ -1,9 +1,9 @@
// Test enums.
---
-1. Embrace
-2. Extend
-3. Extinguish
+. Embrace
+. Extend
+. Extinguish
---
1. First.
@@ -13,5 +13,11 @@
---
2. Second
- . First
+1. First
. Indented
+
+---
+// Test automatic numbering in summed templates.
+#for i in range(5) {
+ [. #roman(1 + i)]
+}