public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: Phillip Dudley
	<predatorian3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	pandoc-discuss
	<pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Unable to create PPTX from default PPTX Reference Document using Markdown
Date: Fri, 09 Apr 2021 09:56:04 -0700	[thread overview]
Message-ID: <m2zgy7mm6z.fsf@MacBook-Pro.hsd1.ca.comcast.net> (raw)
In-Reply-To: <3effdae5-ead2-4c39-8304-49d36e9814a4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>


Generally speaking, the only modifications that are going to work
in a reference.docx or pptx are the changes to the styles
as described in the manual.  If you add images, notes, etc.,
you're likely to get a corrupted file.

Phillip Dudley <predatorian3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> I wanted to try making a PowerPoint using Pandoc and Markdown, but use a 
> template that had some images already in the template. I saw that you can 
> generate a reference document by doing:
>
>    - https://pandoc.org/MANUAL.html#options-affecting-specific-writers
>
> The command:
>
>     pandoc -o custom-reference.pptx --print-default-data-file reference.pptx
>
> Then I added a background image to the first slide, saved the 
> custom-reference. I then tried to build the new PPTX using
>
>     #cat Makefile
>     .PHONY: build
>
>     build:
>         pandoc \
>             --reference-doc custom-pptx-reference.pptx \
>             --output slides.pptx \
>             content.md
>
> I then get the following errors:
>
> filbot@pop-os ~/D/D/L/PPTX> make build
> pandoc \
>     --reference-doc custom-pptx-refernce.pptx \
>     --output slides.pptx \
>     content.md
> Could not find shape for Powerpoint content
> make: *** [Makefile:4: build] Error 63
>
>
> Am I misinterpreting the documentation on how to use this?
>
> -- 
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/3effdae5-ead2-4c39-8304-49d36e9814a4n%40googlegroups.com.


  parent reply	other threads:[~2021-04-09 16:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-07 21:26 Phillip Dudley
     [not found] ` <3effdae5-ead2-4c39-8304-49d36e9814a4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-04-09 16:56   ` John MacFarlane [this message]
     [not found]     ` <m2zgy7mm6z.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2021-04-12 22:13       ` Phillip Dudley
     [not found]         ` <d4f30a19-932d-4683-a5b6-5a44b0c66a7bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-04-13  2:54           ` Matt Jolly
     [not found]             ` <01d195db-5811-4604-b396-a189a41deeffn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-04-26 23:17               ` Phillip Dudley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2zgy7mm6z.fsf@MacBook-Pro.hsd1.ca.comcast.net \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    --cc=predatorian3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).