aboutsummaryrefslogtreecommitdiff
path: root/test/pptx/slide-breaks-toc
diff options
context:
space:
mode:
authorEmily Bourke <undergroundquizscene@protonmail.com>2021-09-23 16:01:38 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2021-10-17 17:24:30 -0700
commit8de261ba4e1e03f9dd5f78297d7299e9d78bbcfd (patch)
tree68e3b4f955eb32da99d94a7bad0cb2af862ac955 /test/pptx/slide-breaks-toc
parent8981872bcab239145518c7ca0567fb9031d1c422 (diff)
downloadpandoc-8de261ba4e1e03f9dd5f78297d7299e9d78bbcfd.tar.gz
pptx: Line up continuation paragraphs
This commit changes the `marL` and `indent` values used for plain paragraphs and numbered lists, and changes the spacing defined in the reference doc master for bulleted lists. For paragraphs, there is now a left-indent taken from the `otherStyle` in the master. For numbered lists, the number is positioned where the text would be if this were a plain paragraph, and the text is indented to the next level. This means that continuation paragraphs line up nicely with numbered lists. It also /mostly/ matches the observed PowerPoint behaviour when inserting paragraphs and numbered lists: the only difference is that PowerPoint was using a different margin value for the first level numbered lists – I’ve changed this to match the other levels, as I don’t think it makes the spacing unappealing and it allows continuation paragraphs at any level to line up. With bulleted lists, I’m keeping the observed PowerPoint behaviour of specifying only a level, letting `marL` and `indent` be automatically taken from `bodyStyle`. To that end, this commit changes the `bodyStyle` spacing in the master of the default reference doc, to: - line up the text of the first paragraph in each bullet with any continuation paragraphs - line up nested bullet markers in any continuation paragraphs with the first paragraph, matching lists and plain paragraphs This does mean the continuation paragraphs still won’t line up for anyone using their own reference doc where they haven’t matched the `otherStyle` and `bodyStyle` indent levels, but I think people in that situation will be able to troubleshoot.
Diffstat (limited to 'test/pptx/slide-breaks-toc')
-rw-r--r--test/pptx/slide-breaks-toc/output.pptxbin31123 -> 31087 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/test/pptx/slide-breaks-toc/output.pptx b/test/pptx/slide-breaks-toc/output.pptx
index f2660ef93..e24b45e12 100644
--- a/test/pptx/slide-breaks-toc/output.pptx
+++ b/test/pptx/slide-breaks-toc/output.pptx
Binary files differ