aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
diff options
context:
space:
mode:
authorEmily Bourke <undergroundquizscene@protonmail.com>2021-09-14 17:07:46 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2021-09-18 09:55:45 -0700
commit50adea220d09e445572e94e225fa7a81b3b2bf89 (patch)
treeb25bc2dbfb3d973d120e50477a052cef4abb6028 /pandoc.cabal
parentcf7f80b11f5c266c7d1d7e200b41658a87f765b0 (diff)
downloadpandoc-50adea220d09e445572e94e225fa7a81b3b2bf89.tar.gz
pptx: Support footers in the reference doc
In PowerPoint, it’s possible to specify footers across all slides, containing a date (optionally automatically updated to today’s date), the slide number (optionally starting from a higher number than 1), and static text. There’s also an option to hide the footer on the title slide. Before this commit, none of that footer content was pulled through from the reference doc: this commit supports all the functionality listed above. There is one behaviour which may not be immediately obvious: if the reference doc specifies a fixed date (i.e. not automatically updating), and there’s a date specified in the metadata for the document, the footer date is replaced by the metadata date. - Include date, slide number, and static footer content from reference doc - Respect “slide number starts from” option - Respect “Don’t show on title slide” option - Add tests
Diffstat (limited to 'pandoc.cabal')
-rw-r--r--pandoc.cabal5
1 files changed, 5 insertions, 0 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index 0c8cf0d61..4881fe3a4 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -414,6 +414,11 @@ extra-source-files:
test/pptx/endnotes-toc/*.pptx
test/pptx/endnotes/input.native
test/pptx/endnotes/*.pptx
+ test/pptx/footer/input.native
+ test/pptx/footer/basic/*.pptx
+ test/pptx/footer/fixed-date/*.pptx
+ test/pptx/footer/higher-slide-number/*.pptx
+ test/pptx/footer/no-title-slide/*.pptx
test/pptx/images/input.native
test/pptx/images/*.pptx
test/pptx/incremental-lists/with-flag/input.native