From 6670f8c76887041a8e274c75b749238c08ff4d70 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Fri, 29 Sep 2023 14:26:39 -0400 Subject: [PATCH] Add tests for alphabetic counter sets. --- .../plain_list/alphabetic_counter_set.org | 22 ++++++++++++++ .../alphabetic_list_larger_than_26.org | 30 +++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 org_mode_samples/greater_element/plain_list/alphabetic_counter_set.org create mode 100644 org_mode_samples/greater_element/plain_list/alphabetic_list_larger_than_26.org diff --git a/org_mode_samples/greater_element/plain_list/alphabetic_counter_set.org b/org_mode_samples/greater_element/plain_list/alphabetic_counter_set.org new file mode 100644 index 0000000..6fbf660 --- /dev/null +++ b/org_mode_samples/greater_element/plain_list/alphabetic_counter_set.org @@ -0,0 +1,22 @@ +# An ordered list starting at 3 +1. [@3] foo + + +# An ordered list starting at 11 +1. [@D] bar + + +# An ordered list starting at 1 with the contents of "[@kk] baz" +1. [@kk] baz + + +# A paragraph when org-list-allow-alphabetical is nil +m. lorem + + +# A paragraph when org-list-allow-alphabetical is nil +m. [@k] ipsum + + +# An unordered list with :counter set to 3 +- [@3] dolar diff --git a/org_mode_samples/greater_element/plain_list/alphabetic_list_larger_than_26.org b/org_mode_samples/greater_element/plain_list/alphabetic_list_larger_than_26.org new file mode 100644 index 0000000..f8f0216 --- /dev/null +++ b/org_mode_samples/greater_element/plain_list/alphabetic_list_larger_than_26.org @@ -0,0 +1,30 @@ +# Alphabetic lists larger than 26 elements should become numbered. From M-x describe-variable org-list-allow-alphabetical: +# +# > Lists with more than 26 items will fallback to standard numbering. +a. 1 +a. 2 +a. 3 +a. 4 +a. 5 +a. 6 +a. 7 +a. 8 +a. 9 +a. 10 +a. 11 +a. 12 +a. 13 +a. 14 +a. 15 +a. 16 +a. 17 +a. 18 +a. 19 +a. 20 +a. 21 +a. 22 +a. 23 +a. 24 +a. 25 +a. 26 +a. 27