aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
diff options
context:
space:
mode:
authorEmily Bourke <undergroundquizscene@protonmail.com>2021-09-07 13:38:47 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2021-09-15 09:13:05 -0700
commit0fb6474a55427b52bf9aebd179f7b26f30c7dbaf (patch)
tree805afab753da87814146374b3305fc2f60f5024a /pandoc.cabal
parenta3162d341b2937113514b5f515cbc86141fbfcf2 (diff)
downloadpandoc-0fb6474a55427b52bf9aebd179f7b26f30c7dbaf.tar.gz
pptx: Add support for incremental lists
- Support -i option - Support incremental/noincremental divs - Support older block quote syntax - Add tests One thing not clear from the manual is what should happen when the input uses a combination of these things. For example, what should the following produce? ```md ::: {.incremental .nonincremental} - are - these - incremental? ::: ::: incremental ::::: nonincremental - or - these? ::::: ::: ::: nonincremental > - how > - about > - these? ::: ``` In this commit I’ve taken the following approach, matching the observed behaviour for beamer and reveal.js output: - if a div with both classes, incremental wins - the innermost incremental/nonincremental div is the one which takes effect - a block quote containing a list as its first element inverts whether the list is incremental, whether or not the quote is inside an incremental/non-incremental div I’ve added some tests to verify this behaviour. This commit closes issue #5689 (https://github.com/jgm/pandoc/issues/5689).
Diffstat (limited to 'pandoc.cabal')
-rw-r--r--pandoc.cabal4
1 files changed, 4 insertions, 0 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index 347c33d51..6fcc384f9 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -414,6 +414,10 @@ extra-source-files:
test/pptx/endnotes/*.pptx
test/pptx/images/input.native
test/pptx/images/*.pptx
+ test/pptx/incremental-lists/with-flag/input.native
+ test/pptx/incremental-lists/with-flag/*.pptx
+ test/pptx/incremental-lists/without-flag/input.native
+ test/pptx/incremental-lists/without-flag/*.pptx
test/pptx/inline-formatting/input.native
test/pptx/inline-formatting/*.pptx
test/pptx/lists/input.native