From 70596dc27b55773cd8e44fdae2550f1cc7be4589 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sun, 16 Apr 2023 17:06:08 -0400 Subject: [PATCH] Add all the section-first tests. --- .../element_container_priority/README.org | 16 ++++++++-------- .../section_drawer.org | 4 ++++ .../section_dynamic_block.org | 4 ++++ .../section_footnote_definition.org | 4 ++++ .../section_plain_list.org | 4 ++++ 5 files changed, 24 insertions(+), 8 deletions(-) create mode 100644 org_mode_samples/element_container_priority/section_drawer.org create mode 100644 org_mode_samples/element_container_priority/section_dynamic_block.org create mode 100644 org_mode_samples/element_container_priority/section_footnote_definition.org create mode 100644 org_mode_samples/element_container_priority/section_plain_list.org diff --git a/org_mode_samples/element_container_priority/README.org b/org_mode_samples/element_container_priority/README.org index 5cfff0a..b4af22b 100644 --- a/org_mode_samples/element_container_priority/README.org +++ b/org_mode_samples/element_container_priority/README.org @@ -52,11 +52,11 @@ Sections are divided by headlines. #+end_src * Which container takes priority This test interleaves the opening and closing of each element container to see which element becomes parsed vs gets broken up. The row determines the first opening element and the column determines the second opening element. -| | Section | Greater Block | Drawer | Dynamic Block | Footnote Definition | Plain List | -|---------------------+---------+---------------+--------+---------------+---------------------+------------| -| Section | - | Section | | | | | -| Greater Block | | | | | | | -| Drawer | | | | | | | -| Dynamic Block | | | | | | | -| Footnote Definition | | | | | | | -| Plain List | | | | | | | +| | Section | Greater Block | Drawer | Dynamic Block | Footnote Definition | Plain List | +|---------------------+---------+---------------+---------+---------------+---------------------+------------| +| Section | - | Section | Section | Section | Section | Section | +| Greater Block | | | | | | | +| Drawer | | | | | | | +| Dynamic Block | | | | | | | +| Footnote Definition | | | | | | | +| Plain List | | | | | | | diff --git a/org_mode_samples/element_container_priority/section_drawer.org b/org_mode_samples/element_container_priority/section_drawer.org new file mode 100644 index 0000000..941b458 --- /dev/null +++ b/org_mode_samples/element_container_priority/section_drawer.org @@ -0,0 +1,4 @@ +* Headline +:drawername: +* Another headline +:end: diff --git a/org_mode_samples/element_container_priority/section_dynamic_block.org b/org_mode_samples/element_container_priority/section_dynamic_block.org new file mode 100644 index 0000000..e1629e5 --- /dev/null +++ b/org_mode_samples/element_container_priority/section_dynamic_block.org @@ -0,0 +1,4 @@ +* Headline +#+BEGIN: foo :hlines 1 :id global +* Another headline +#+END: diff --git a/org_mode_samples/element_container_priority/section_footnote_definition.org b/org_mode_samples/element_container_priority/section_footnote_definition.org new file mode 100644 index 0000000..51f8f85 --- /dev/null +++ b/org_mode_samples/element_container_priority/section_footnote_definition.org @@ -0,0 +1,4 @@ +* Headline +[fn:1] footnote. +* Another headline +is this still in the footnote? diff --git a/org_mode_samples/element_container_priority/section_plain_list.org b/org_mode_samples/element_container_priority/section_plain_list.org new file mode 100644 index 0000000..8274d9c --- /dev/null +++ b/org_mode_samples/element_container_priority/section_plain_list.org @@ -0,0 +1,4 @@ +* Headline +1. foo +* Another headline +2. bar