From dc5fc863f573cf6d9f0be2e8ad58f6b8e8b40fed Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Mon, 17 Apr 2023 20:40:23 -0400 Subject: [PATCH] Add more paragraph tests. --- org_mode_samples/element_container_priority/README.org | 10 +++++----- .../element_container_priority/drawer_paragraph.org | 4 ++++ .../dynamic_block_paragraph.org | 4 ++++ .../greater_block_paragraph.org | 4 ++++ 4 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 org_mode_samples/element_container_priority/drawer_paragraph.org create mode 100644 org_mode_samples/element_container_priority/dynamic_block_paragraph.org create mode 100644 org_mode_samples/element_container_priority/greater_block_paragraph.org diff --git a/org_mode_samples/element_container_priority/README.org b/org_mode_samples/element_container_priority/README.org index 309e71d..86c9d90 100644 --- a/org_mode_samples/element_container_priority/README.org +++ b/org_mode_samples/element_container_priority/README.org @@ -58,11 +58,11 @@ This test interleaves the opening and closing of each element container to see w | | Section | Greater Block | Drawer | Dynamic Block | Footnote Definition | Plain List | Paragraph | |---------------------+---------+---------------+---------+---------------+---------------------+------------+-----------| | Section | - | Section | Section | Section | Section | Section | Section | -| Greater Block | Section | First | First | First | First | First | | -| Drawer | Section | First | First | First | First | First | | -| Dynamic Block | Section | First | First | First | First | First | | -| Footnote Definition | Section | First | First | First | - | - | | -| Plain List | Section | Second | Second | Second | - | - | | +| Greater Block | Section | First | First | First | First | First | First | +| Drawer | Section | First | First | First | First | First | First | +| Dynamic Block | Section | First | First | First | First | First | First | +| Footnote Definition | Section | First | First | First | - | - | - | +| Plain List | Section | Second | Second | Second | - | - | - | | Paragraph | Section | Second | Second | Second | - | - | - | * Possible solutions ** Greater blocks, drawers, and dynamic blocks disable plain list exit matcher diff --git a/org_mode_samples/element_container_priority/drawer_paragraph.org b/org_mode_samples/element_container_priority/drawer_paragraph.org new file mode 100644 index 0000000..1a3a97f --- /dev/null +++ b/org_mode_samples/element_container_priority/drawer_paragraph.org @@ -0,0 +1,4 @@ +:drawername: +foo +:end: +Is this still in the paragraph? diff --git a/org_mode_samples/element_container_priority/dynamic_block_paragraph.org b/org_mode_samples/element_container_priority/dynamic_block_paragraph.org new file mode 100644 index 0000000..15cca1a --- /dev/null +++ b/org_mode_samples/element_container_priority/dynamic_block_paragraph.org @@ -0,0 +1,4 @@ +#+BEGIN: foo :hlines 1 :id global +foo +#+END: +Is this still in the paragraph? diff --git a/org_mode_samples/element_container_priority/greater_block_paragraph.org b/org_mode_samples/element_container_priority/greater_block_paragraph.org new file mode 100644 index 0000000..36188e9 --- /dev/null +++ b/org_mode_samples/element_container_priority/greater_block_paragraph.org @@ -0,0 +1,4 @@ +#+begin_center +foo +#+end_center +Is this still in the paragraph?