From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29433 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Schwartz Newsgroups: gmane.text.pandoc Subject: Problem with powerpoint templates Date: Mon, 1 Nov 2021 10:07:14 -0700 (PDT) Message-ID: <9f93cacb-b160-4909-b21c-b10455ed2b03n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_7292_5142141.1635786434503" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29244"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBC36TYEY5AIBBQ55QCGAMGQE3SCKGGY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Nov 01 18:07:18 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f55.google.com ([209.85.210.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mhamE-0007LL-FV for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 01 Nov 2021 18:07:18 +0100 Original-Received: by mail-ot1-f55.google.com with SMTP id v34-20020a056830092200b00555a5bc6f32sf4872547ott.3 for ; Mon, 01 Nov 2021 10:07:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=H8Cebq31C30T307k5PuykX6FBN6NmTpGsLm/OCwrWzs=; b=sfrh22a3CQP8FaErLrnnQx/Py6mTTRkstlp6Q2+1miJ8LBK6Oeq1da8+ryavpJjP35 trqBrYC2BGHKrd+dajuW3lfrEaw9FjfjuCu5Mbmj5O5gfXqUAuxetjY/pcXNsWOm2Z/+ M2tPiX+68WCQDHfBoacE0+FQV2Z15kJ+uIXCYH/ruvwkiMAAU3jFNls3GkJgqunHDiBE kgjkyEqKUFiEucFQaLKHNbEhynZbp0feO+KGY/K3XX+LTtJd7aj9Ft6/UzVRRpDBzgLe 4iKTfe19BeMSSEkDfhJXerS9NfMHAbaIoXB+RoKuffFF9aRhp0iKr0VEp0xPKduoSugm aAeA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=H8Cebq31C30T307k5PuykX6FBN6NmTpGsLm/OCwrWzs=; b=PvCDhFNvspidY9aImpdY9x1OX0MusJsPyIeRFqT9HVuNojoqHxGiDZneTg3Vdyh/uw lFYXS3k7Msqdt3QJ6eVMt5AcYr9YCEXiDkZ8RwI9L5lSbx6ven6+Ifpqv9m+Rz44VHO2 2JrZJVlLg3JPlTWsnx2Fu68T9JRsDJ6rE/dqlElyWLMCN+lPR6acoj7jmSP3PstLGhf6 khpiBCCG5OJWR+aPDUyRsIKXRbfbubM+vddnaizXFKpT2I6Aj1mEOkQejU4Y//h23ZOW Jbs6ne8pLZSIc1HNKKr1GH+aQdXYAm22qZBgmEnw0QkwSRWicbVEV9GYo2YsEjyqra0I STEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:message-id: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=H8Cebq31C30T307k5PuykX6FBN6NmTpGsLm/OCwrWzs=; b=uwKK9CY1+BXBXC/xbBs8p9KcALm94ZBz23a+zNYzBVrAYysnMvarM18KhgCVSL78J6 viSDolOPmn/2n9le+Sj3K4ANJwJx0Oyta1xOefQc7JuWW17FsmuRFtG6lL+tYOLDLZHj m4x50Q0DXtGXsBSMzBjNzgWU4lHUMNFWbcOxlA/CwO4F+bAS2LvqWnj3A250OXcOZdNl 0s03Nn/TjcCcucFgKDzgW3j5udfsk9ALlG+pjsRI/81FvoXcdZlNKFT4D1CrWNuzIhU2 OuuC2wvNzcJNFCI4dRYJM/6/+3D7adFtX9fZo0KPupfj6ZchdfiCLUK1MQZYRJUrVyZv ly7g== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533jFSq6eXdqABKsYlw8lZivVQX0rHvxOJsF8iWYh5qiQeKdlt/f g5K1bSb3+WPNPnUVOqq3T5E= X-Google-Smtp-Source: ABdhPJwSU5w0xdtISPu0+oyVf/qC7O4+tWa2+FHI1+6qO9hsKLmktugX5AeZWbcCoyUa0ZlLQ0D1Bw== X-Received: by 2002:a05:6808:190d:: with SMTP id bf13mr155466oib.7.1635786436843; Mon, 01 Nov 2021 10:07:16 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:eb44:: with SMTP id j65ls4088899oih.6.gmail; Mon, 01 Nov 2021 10:07:15 -0700 (PDT) X-Received: by 2002:a54:4390:: with SMTP id u16mr133044oiv.109.1635786435121; Mon, 01 Nov 2021 10:07:15 -0700 (PDT) X-Original-Sender: M.I.Schwartz23-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:29433 Archived-At: ------=_Part_7292_5142141.1635786434503 Content-Type: multipart/alternative; boundary="----=_Part_7293_1744369409.1635786434503" ------=_Part_7293_1744369409.1635786434503 Content-Type: text/plain; charset="UTF-8" The default template, when made external, cannot be used in pandoc, let alone be modified: Here is an indicator of problems I have with pandoc and powerpoint generation My OS: MacOS (Big Sur) 10.16.1 A simple markdown file: 0-test.md ---------------------------------- % Title: Test slide deck % Author: Michael Schwartz % Date: 2022-11-01` Summary: ================ _It goes without saying_ The Phantom Tollbooth, Norton Juster ------------------------------- Commands to be run: test.sh ---------------------------- #!/bin/sh /usr/local/bin/pandoc --version /usr/local/bin/pandoc --standalone --to pptx -o 0-test.pptx -s 0-test.md /usr/local/bin/pandoc -o default.pptx --print-default-data-file reference.pptx /usr/local/bin/pandoc --standalone --to pptx --template=default.pptx -o 0-test.t.pptx -s 0-test.md --------------------------- Output: pandoc 2.16 Compiled with pandoc-types 1.22.1, texmath 0.12.3.2, skylighting 0.12.1, citeproc 0.6, ipynb 0.1.0.2 User data directory: /Users/michael/.pandoc Copyright (C) 2006-2021 John MacFarlane. Web: https://pandoc.org This is free software; see the source for copying conditions. There is no warranty, not even for merchantability or fitness for a particular purpose. *pandoc: Cannot decode byte '\x85': Data.Text.Internal.Encoding.decodeUtf8: Invalid UTF-8 stream* ------------------------------- The directory now has a 2-page powerpoint (from the built-in template), the default.pptx file. Both pptx files can be read and displayed. The final message is from the last command. Pandoc cannot read in the default.pptx template file How does one set this up to work properly, so the templates can be edited and used? -- 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/9f93cacb-b160-4909-b21c-b10455ed2b03n%40googlegroups.com. ------=_Part_7293_1744369409.1635786434503 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The default template, when made external, cannot be used in pandoc, le= t alone be modified:

Here is an indicator of problems I= have with pandoc and powerpoint generation

My OS: MacOS= (Big Sur) 10.16.1

A simple markdown file: 0-test.= md
----------------------------------

% Title: Test slide deck

% Author: Michael Schwartz

% Date: 2022-11-01`


Summary:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


_It goes without saying_


The Phantom Tollbooth, Norton Juster

---------------------= ----------

Commands to be run: test.sh
-= ---------------------------

#!/bin/sh

/usr/local/bin/pandoc --version

/usr/local/bin/pandoc --standalone --to pptx -o 0-test.pptx -s 0-test.md=

/usr/local/bin/pandoc -o default.pptx --print-default-data-file referenc= e.pptx

/usr/local/bin/pandoc --standalone --to pptx --template=3Ddefault.pptx -= o 0-test.t.pptx -s 0-test.md

---------------------------

Output= :

pandoc 2.16

Compiled with pandoc-types 1.2= 2.1, texmath 0.12.3.2, skylighting 0.12.1,

citeproc 0.6,= ipynb 0.1.0.2

User data directory: /Users/michael/.pand= oc

Copyright (C) 2006-2021 John MacFarlane. Web:&n= bsp; https://pandoc.org

This is free software; se= e the source for copying conditions. There is no

warrant= y, not even for merchantability or fitness for a particular purpose.=

pandoc: Cannot decode byte '\x85': Data.Text.Internal.Encoding.de= codeUtf8: Invalid UTF-8 stream

-------------------------------

The directory now has a 2-page powerpoint (from the built-in template),= the default.pptx file. Both pptx files can be read and displayed.

Th= e final message is from the last command. Pandoc cannot read in the default= .pptx template file 

How does one set this up to work properly, = so the templates can be edited and used?

--
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/9f93cacb-b160-4909-b21c-b10455ed2b03n%40googlegroups.= com.
------=_Part_7293_1744369409.1635786434503-- ------=_Part_7292_5142141.1635786434503--