From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28142 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phillip Dudley Newsgroups: gmane.text.pandoc Subject: Re: Unable to create PPTX from default PPTX Reference Document using Markdown Date: Mon, 12 Apr 2021 15:13:45 -0700 (PDT) Message-ID: References: <3effdae5-ead2-4c39-8304-49d36e9814a4n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_4624_988722408.1618265625000" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15284"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBC24Z5ESU4ARBGMM2OBQMGQEF3OHZGI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Apr 13 00:13:48 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f57.google.com ([209.85.161.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lW4oW-0003sB-Gj for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 13 Apr 2021 00:13:48 +0200 Original-Received: by mail-oo1-f57.google.com with SMTP id s78sf123890oos.23 for ; Mon, 12 Apr 2021 15:13:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=G1tNy6fEDgp/rFmSPoDekhWD13Lwl1jm6pJLI4iLxTs=; b=BUe/xdDfejtVLf+d9RBducRT0aG0uejiewZdvWSQ8Cm3jY0oz80i2SjlR/2VyzDC3c w9iXD9g14HzwqfGaApXASI+7uxND3NsHjgj7Pd21oyCK8+sZtqJt8e8hHppk9304gGtU eQcPRj0fw0/dkvuRbB4+bzQmm0PejNgaidgVC31JVvJUaEFWZwUIa1lqHeLlnSKvYMqX NjC6QHrVlH0Jzd1FA1UA4LkDbcU7MUip2DmNxhlwZYxSA+2dmTpzG0VPcvg2VNM6fjUd DORbuKQUIXMbWf0eooP2Bt2z/sApufBaVluGlucExf8Hm6pC/8bo3Db7eC/nd0uRyvmW qaVg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=G1tNy6fEDgp/rFmSPoDekhWD13Lwl1jm6pJLI4iLxTs=; b=Xrujx0W8KQWl+jUYQfUaShxKa90PrddsWB08z/+e5vLjjN8lUhgUKWenczU2MU3hXP cHILGAr50O89U9lyvteDNK9AQBypWcSnZk7d3hKOlMYGSA2rBfpfa1H6jQpU+tqyNJoN wEoHiIWkZ3D6/uttzkGZaH1C1vjGIam3QuaUqpTpjqHLqnn5vFAZgy9ONvSi+sVQWsZs Z7y9GUtGqhHcjgDlE/W5VyyC0+c7zJZZhVyA00udd8pgNubIuvmymZLmgM95Jvdq1/QY 3OppQhmoiJ85b/DEgO+cVZQpZHuZVovIyi7bdC3IDUq5po+T3td2FHw0Kz9JGuKJbHnh WITQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=G1tNy6fEDgp/rFmSPoDekhWD13Lwl1jm6pJLI4iLxTs=; b=jLaf2juwKC68qIlR4SbW1K9U8CN+Mz478LjiZBAM6shgtEA+RCjZPI/ikfyCtMCBxz dO6FQ7U1FJ5uCM2EHI/YuRIUKJPqU9ImghsgOC5zmOBhgLyS4Rc3jzjjRJC0mhUHdShE bYUpWVCAfzjCo/MtPoa+crIugKWGRMO0NZUfNU80eCJV+wIspT2egjo76inixwFw8CHb K1+IrSJejmyEe6BKdbtSV8I/6FRQWUjalFCAu+Y9JNYe4UBnI2GtyWcOtAcZQoa31Osu rBfKyaW/7XOFLOY8Gp87ixKb58PfAv7nj5PFAg0nGqfudIra47hAtuvl4L11ur8nAh4x mDdg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5335DwtdOCRau+SybcBINdtMVSxVD6NrvQJmnldW+LleRz1zHfxJ narYUvaGDV3tao8B95M0dzA= X-Google-Smtp-Source: ABdhPJxDV78k0TyfPvrnSXDCj0zoN4wgzHFUITjYFI+QuFL72OVEOfPd7h95CkIgBaVDr78gvoFZog== X-Received: by 2002:a05:6830:1690:: with SMTP id k16mr26324112otr.112.1618265627304; Mon, 12 Apr 2021 15:13:47 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6808:1146:: with SMTP id u6ls3935778oiu.9.gmail; Mon, 12 Apr 2021 15:13:45 -0700 (PDT) X-Received: by 2002:aca:dc87:: with SMTP id t129mr1002945oig.137.1618265625623; Mon, 12 Apr 2021 15:13:45 -0700 (PDT) In-Reply-To: X-Original-Sender: Predatorian3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:28142 Archived-At: ------=_Part_4624_988722408.1618265625000 Content-Type: multipart/alternative; boundary="----=_Part_4625_679295939.1618265625001" ------=_Part_4625_679295939.1618265625001 Content-Type: text/plain; charset="UTF-8" I guess I'm not seeing on the documentation where it is called out how to modify those styles? Some GitHub issues I saw said to unzip the PPTX and then look for some XML file that called out the four styles called out in the documentation. However, that didn't make sense to me. Does anyone have any examples of how to successfully, and clearly explained, do this? On Friday, April 9, 2021 at 11:56:19 AM UTC-5 John MacFarlane wrote: > > 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 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-discus...-/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 > . > -- 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/d4f30a19-932d-4683-a5b6-5a44b0c66a7bn%40googlegroups.com. ------=_Part_4625_679295939.1618265625001 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I guess I'm not seeing on the documentation where it is called out how= to modify those styles? Some GitHub issues I saw said to unzip the PPTX an= d then look for some XML file that called out the four styles called out in= the documentation. However, that didn't make sense to me.
<= br>
Does anyone have any examples of how to successfully, and cle= arly explained, do this?

On Friday, April 9, 2021 at 11:56:19 AM UTC-= 5 John MacFarlane wrote:

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 <predat...= @gmail.com> writes:

> I wanted to try making a PowerPoint using Pandoc and Markdown, but= use a=20
> template that had some images already in the template. I saw that = you can=20
> generate a reference document by doing:
>
> - https://pandoc.org/MA= NUAL.html#options-affecting-specific-writers
>
> The command:
>
> pandoc -o custom-reference.pptx --print-default-data-file refe= rence.pptx
>
> Then I added a background image to the first slide, saved the=20
> 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?
>
> --=20
> 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-discus..= .@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/3eff= dae5-ead2-4c39-8304-49d36e9814a4n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/d4f30a19-932d-4683-a5b6-5a44b0c66a7bn%40googlegroups.= com.
------=_Part_4625_679295939.1618265625001-- ------=_Part_4624_988722408.1618265625000--