aboutsummaryrefslogtreecommitdiff
path: root/test/pptx/blanks/nbsp-in-heading
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/blanks/nbsp-in-heading
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/blanks/nbsp-in-heading')
-rw-r--r--test/pptx/blanks/nbsp-in-heading/output.pptxbin29205 -> 29165 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/test/pptx/blanks/nbsp-in-heading/output.pptx b/test/pptx/blanks/nbsp-in-heading/output.pptx
index 6265c842f..08c764feb 100644
--- a/test/pptx/blanks/nbsp-in-heading/output.pptx
+++ b/test/pptx/blanks/nbsp-in-heading/output.pptx
Binary files differ