pandoc
pandoc copied to clipboard
pptx reference doc exported from Keynote does not work
Explain the problem. pptx document exported from Keynote can't be used as slide reference. Attempt fails with
Could not find a 0th placeholder of type obj (or nothing)
Steps to reproduce:
-
pandoc --print-default-data-file reference.pptx > pandoc-ref.pptx -
open pandoc-ref.pptxto open pptx document in Keynote - Export document from Keynote as PowerPoint with the name
refref.pptx - Create
test.md- any doc will do, see below for example -
pandoc test.md -o presis.pptx --reference-doc refref.pptxfails with the above message -
pandoc test.md -o presis.pptx --reference-doc pandoc-ref.pptxproduces output successfully
test.md:
% Test doc
% ORK
% 2024-04-03
# FOO
Bar
Pandoc version? pandoc 3.1.12.3 from Homebrew Keynote 14.0 macOS Sonoma 14.4.1 (Apple Silicon M1 Max)
Here are the Powerpoint files in question, pandoc-ref.pptx is the output of pandoc --print-default-data-file reference.pptx, refref.pptx is the same file after a round trip to Keynote.
pandoc-ref.pptx
refref.pptx