aboutsummaryrefslogtreecommitdiff
path: root/test/pptx/start-numbering-at
diff options
context:
space:
mode:
authorEmily Bourke <undergroundquizscene@protonmail.com>2021-09-17 16:05:06 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2021-10-17 17:24:30 -0700
commit8af15ab345bb0790cc3442722673d9da9f23a79c (patch)
tree573a438aa9d684178aabc3666e755862cd031beb /test/pptx/start-numbering-at
parent3f489bcb5897898d453bef549d6eba5f5d2120bf (diff)
downloadpandoc-8af15ab345bb0790cc3442722673d9da9f23a79c.tar.gz
pptx: Fix list level numbering
In PowerPoint, the content of a top-level list is at the same level as the content of a top-level paragraph – the only difference is that a list style has been applied. At the moment, the pptx writer increments the paragraph level on each list, turning what should be top-level lists into second-level lists. This commit changes that logic, only incrementing the paragraph level on continuation paragraphs of lists. - Fixes https://github.com/jgm/pandoc/issues/4828 - Fixes https://github.com/jgm/pandoc/issues/4663
Diffstat (limited to 'test/pptx/start-numbering-at')
-rw-r--r--test/pptx/start-numbering-at/output.pptxbin28626 -> 28620 bytes
-rw-r--r--test/pptx/start-numbering-at/templated.pptxbin41691 -> 41686 bytes
2 files changed, 0 insertions, 0 deletions
diff --git a/test/pptx/start-numbering-at/output.pptx b/test/pptx/start-numbering-at/output.pptx
index bc74ec599..ecfc6901a 100644
--- a/test/pptx/start-numbering-at/output.pptx
+++ b/test/pptx/start-numbering-at/output.pptx
Binary files differ
diff --git a/test/pptx/start-numbering-at/templated.pptx b/test/pptx/start-numbering-at/templated.pptx
index 4f191a06e..f3f46ef30 100644
--- a/test/pptx/start-numbering-at/templated.pptx
+++ b/test/pptx/start-numbering-at/templated.pptx
Binary files differ