From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29894 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "ivo....-xwz7R8GQi1g@public.gmane.org" Newsgroups: gmane.text.pandoc Subject: Re: powerpoint output to 169 format? Date: Tue, 4 Jan 2022 09:34:39 -0800 (PST) Message-ID: References: <1ed43dcc-b0ae-469e-a3c1-590b5eea0d33n@googlegroups.com> <94f00f2b-6407-4811-a5fb-250f4858d774n@googlegroups.com> <34686c0e-c90a-4d27-82ed-28e950548c04n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_17795_2013500467.1641317679010" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35216"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDBYFH6DREEBBMEK2KHAMGQESXQ7ZVQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jan 04 18:34:43 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f59.google.com ([209.85.161.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n4nhr-0008rg-6I for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 04 Jan 2022 18:34:43 +0100 Original-Received: by mail-oo1-f59.google.com with SMTP id g2-20020a4a9242000000b002da7c459222sf19426736ooh.13 for ; Tue, 04 Jan 2022 09:34:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; 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=zJXeDh2FuXKlh4fW7ARG8txmBhAVFKxMVPUc7Lb2tOc=; b=P++0GiQs5H3XEKJbe0BbR+9d1m8RaPDWhI+pZGAG4T+3Dwrqv07qF1PqFe2wv51hbX jI8/D0InfMlXehweeyVy6BI9nfFqlXMg7lWgonl/gyoFhWIZnYyr/Q8dNJ7IspQ4dPbT IW+lBURsyWfkTYPsk04ooDTxS2DRE42Nnxx/+A3gkzfYwdPAbqhCXgQk5vPXFZBLQP1V IjJovJWFX6mQddhJK+wdi11muDSO0R8GVZNgAInQBIUqPuiZPfDc2BtSID59QQh2Ws+l M9h+ZyjDxgoV049ikoas4IyfxNYD7hbuXCGyw/LtElJRj+Az90HWmImIHxH4qhw8SJrA mRiQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucla-edu.20210112.gappssmtp.com; s=20210112; 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=zJXeDh2FuXKlh4fW7ARG8txmBhAVFKxMVPUc7Lb2tOc=; b=hDvCXQ7WlLq7s18UMov0/Kr6yjT6sHUYyV24nqlszXfLdRHc4idbQr4G+ZeWJn96fr Sh8lYj4q6wPZ/s1TNqOyE5KsFAw+5AbQt0vRc6QsPXUx+olAtSI4v9qONZsWSubZvVko dlHPkVZswOV+tqQ1GXevW0M0JRuZKVJ/RYNVrJJH+BW2758n6pB5FnjfC5vZgCQT18pP 0NI7XlkJUtl+YCrZkjaxzONwqlyntBfKAJfRNwvsGx351wMEzPXmL8WTC3uzKKKEWgUv bP/2axTEaOchqe+e/U0mfH6GT7/Z0UKP2PNzHfRBW1mZAb4GWCfaIKJP8QeA6+tVPNB0 OOTA== 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: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=zJXeDh2FuXKlh4fW7ARG8txmBhAVFKxMVPUc7Lb2tOc=; b=ci0qIxJ1VJpPXWJzgQD9Q5QInqY6kU5rcKETNAxUb5GWH7iyPc3Eq5ziYA96gmJCNC NhWPnvilowDFB27k6+uMlMlfKXQ1Qz86k5xASsZpBSiiTz2U2aJ7p1ihbfc5cyc5cYJg TsW8k9YtDUVbtZh377eT4A8/vJxfUctCpRw9EXMG6w2CcZEMhVSxZ1G6PVHXHTpxU1xi RiCwywbPS0YkDKEMmvqPSSRR0iVJTM0WzoeXKO1ZeJKnvA5Nxar8VitQtDAC3eoZEgrx nnj4W+KAD63R2UlD1R/8c0KweUXlBHq/9cFIi8vLQY8OhGiAEeJ9WMD49YAooa4LIN9G 9LHQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533l6x4AJywHEDECgCvPF+CuQBtbuCoP/w7ubwxqEoIuJclWyP2l ShglGje2vS2ik+l+0DnITFw= X-Google-Smtp-Source: ABdhPJxljMDjSkMi9joe7HK/KnxhS7JHef+yufNiSRsCpCSJ/DMq8Kk65rNgWCFDfZiOQNmSIw54LA== X-Received: by 2002:aca:d10:: with SMTP id 16mr40614350oin.116.1641317681644; Tue, 04 Jan 2022 09:34:41 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:bca:: with SMTP id 68ls7741214oth.8.gmail; Tue, 04 Jan 2022 09:34:39 -0800 (PST) X-Received: by 2002:a9d:7459:: with SMTP id p25mr37451538otk.231.1641317679649; Tue, 04 Jan 2022 09:34:39 -0800 (PST) In-Reply-To: X-Original-Sender: ivo.welch-xwz7R8GQi1g@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:29894 Archived-At: ------=_Part_17795_2013500467.1641317679010 Content-Type: multipart/alternative; boundary="----=_Part_17796_1204250230.1641317679010" ------=_Part_17796_1204250230.1641317679010 Content-Type: text/plain; charset="UTF-8" the overnight build works great! it has fixed the issue. mille grazie, john. best, /iaw On Monday, January 3, 2022 at 10:55:02 AM UTC-8 John MacFarlane wrote: > > Are you using the dev version? Try using the nightly, > but without a reference-doc. > https://github.com/jgm/pandoc/actions/runs/1648435353 > > "ivo....-xwz7R8GQi1g@public.gmane.org" writes: > > > I just found out by experimentation in macos PowerPoint 16.56 (2021, > > Microsoft 365 subscription) something really strange. > > > > Put the cursor on any of the bullet points, and you see that the bullet > > text is all 32pt. > > > > However, if you now type a single character, all bullet points change > > instantly from 32pt to 22pt. > > > > This has to be a bug somewhere... > > > >> pandoc --reference-doc ~/.pandoc/templates/default.pptx -s -t pptx > > bullet-points.md -o bullet-points.pptx > > > > and > > > > --- > > title: "test bullets" > > author: "me" > > --- > > > > # Simple Slide > > > > * 1 bullet > > * 2 bullets > > * 3 bullets > > * 4 bullets > > * 5 bullets > > * 6 bullets > > * 7 bullets > > * 8 bullets > > * 9 bullets > > > > # Another slide > > > > On Sunday, January 2, 2022 at 6:31:25 PM UTC-8 John MacFarlane wrote: > > > >> > >> I just tried it, and I got eight bullets on the screen. > >> Font size seems to be around 24pt. I think Powerpoint > >> scaled it automatically when I changed the aspect ratio. > >> > >> "ivo....-xwz7R8GQi1g@public.gmane.org" writes: > >> > >> > apologies for all the comments. I am guessing that the 16:9 format is > >> > useful only if you / one can also change the defaults for the > PowerPoint > >> > font sizes. > >> > > >> > on PowerPoint macos, the default 16:9 font size for first-level > bullet > >> > points seems to be Calibri 28pt. This means the default vanilla > >> > presentation has 8-9 lines of bullet points. > >> > > >> > on pandoc, the output default font-size for first-level bullet points > is > >> > Calibri 32pt. > >> > > >> > - in 4:3, pandoc thus also has about 8-9 lines of bullet points; > >> > - in 169, the font remains the same 32pt, which now means only 6-7 > lines > >> > of bullet points. > >> > > >> > 6-7 lines is too few IMHO. Ergo, 16:9 output should go with slightly > >> > smaller fonts. For reference, the powerpoint defaults that I am > getting > >> are > >> > > >> > - title: 60pt > >> > - subtitle: 24pt > >> > - header title: 44pt, Light > >> > - body points, level 1: 28pt > >> > - body points, level 2: 24pt > >> > > >> > regards, /iaw > >> > > >> > > >> > On Sunday, January 2, 2022 at 2:01:21 PM UTC-8 ivo....-xwz7R8GQi1g@public.gmane.org > wrote: > >> > > >> >> > >> >> I tried to change the default font size in the default (reference) > >> pptx, > >> >> but pandoc did not pick this one up. :-( > >> >> > >> >> > >> >> On Sunday, January 2, 2022 at 1:37:39 PM UTC-8 ivo....-xwz7R8GQi1g@public.gmane.org > wrote: > >> >> > >> >>> > >> >>> mille grazie. > >> >>> > >> >>> given that powerpoint itself has moved to 16:9, I think it would > >> probably > >> >>> be a better default. > >> >>> > >> >>> the template trick is supercool. I had not realized this. I will > try > >> to > >> >>> stick a modified version into my .pandoc/templates folder. Is there > a > >> >>> standard name (like default.pptx) that pandoc picks up? > >> >>> > >> >>> > >> >>> On Saturday, December 18, 2021 at 11:44:45 AM UTC-8 John MacFarlane > >> wrote: > >> >>> > >> >>>> > >> >>>> You can change this by using a reference-doc. > >> >>>> > >> >>>> pandoc --print-default-data-file reference.pptx > reference.pptx > >> >>>> > >> >>>> Now open reference.pptx with Powerpoint. > >> >>>> > >> >>>> Go to Page Setup and change the aspect ratio. > >> >>>> > >> >>>> Save. > >> >>>> > >> >>>> Now use > >> >>>> > >> >>>> pandoc --reference-doc reference.pptx input.md -o output.pptx > >> >>>> > >> >>>> Maybe we should change the default to 16:9. Comments welcome on > >> >>>> 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/b9f2c295-a355-4bdc-90a7-58cd61694854n%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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/34686c0e-c90a-4d27-82ed-28e950548c04n%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/bed9388f-5003-49c7-af76-7283404024cfn%40googlegroups.com. ------=_Part_17796_1204250230.1641317679010 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

the overnight build works great!  it has fixed the= issue.  mille grazie, john.

best, /iaw
=


On Monday, January 3, 2022 at 10:55:02 AM UTC-8 John MacFarlane w= rote:

Are you using the dev version? Try using the nightly,
but without a reference-doc.
https://github.com/jgm/pandoc/actions/runs/1648435353

"ivo....-xwz7R8GQi1g@public.gmane.org&q= uot; <ivo....-xwz7R8GQi1g@public.gmane.org>= ; writes:

> I just found out by experimentation in macos PowerPoint 16.56 (202= 1,=20
> Microsoft 365 subscription) something really strange.
>
> Put the cursor on any of the bullet points, and you see that the b= ullet=20
> text is all 32pt.
>
> However, if you now type a single character, all bullet points cha= nge=20
> instantly from 32pt to 22pt.
>
> This has to be a bug somewhere...
>
>> pandoc --reference-doc ~/.pandoc/templates/default.pptx -s -t = pptx=20
> bullet-points.md -o bullet-points.pptx
>
> and
>
> ---
> title: "test bullets"
> author: "me"
> ---
>
> # Simple Slide
>
> * 1 bullet
> * 2 bullets
> * 3 bullets
> * 4 bullets
> * 5 bullets
> * 6 bullets
> * 7 bullets
> * 8 bullets
> * 9 bullets
>
> # Another slide
>
> On Sunday, January 2, 2022 at 6:31:25 PM UTC-8 John MacFarlane wro= te:
>
>>
>> I just tried it, and I got eight bullets on the screen.
>> Font size seems to be around 24pt. I think Powerpoint
>> scaled it automatically when I changed the aspect ratio.
>>
>> "ivo....@ucla.= edu" <ivo....@ucla.e= du> writes:
>>
>> > apologies for all the comments. I am guessing that the 16= :9 format is=20
>> > useful only if you / one can also change the defaults for= the PowerPoint=20
>> > font sizes.
>> >
>> > on PowerPoint macos, the default 16:9 font size for first= -level bullet=20
>> > points seems to be Calibri 28pt. This means the default v= anilla=20
>> > presentation has 8-9 lines of bullet points.
>> >
>> > on pandoc, the output default font-size for first-level b= ullet points is=20
>> > Calibri 32pt.
>> >
>> > - in 4:3, pandoc thus also has about 8-9 lines of bullet = points;
>> > - in 169, the font remains the same 32pt, which now means= only 6-7 lines=20
>> > of bullet points.
>> >
>> > 6-7 lines is too few IMHO. Ergo, 16:9 output should go wi= th slightly=20
>> > smaller fonts. For reference, the powerpoint defaults tha= t I am getting=20
>> are
>> >
>> > - title: 60pt
>> > - subtitle: 24pt
>> > - header title: 44pt, Light
>> > - body points, level 1: 28pt
>> > - body points, level 2: 24pt
>> >
>> > regards, /iaw
>> >
>> >
>> > On Sunday, January 2, 2022 at 2:01:21 PM UTC-8 ivo....-xwz7R8GQi1g@public.gmane.org wrote:
>> >
>> >>
>> >> I tried to change the default font size in the defaul= t (reference)=20
>> pptx,=20
>> >> but pandoc did not pick this one up. :-(
>> >>
>> >>
>> >> On Sunday, January 2, 2022 at 1:37:39 PM UTC-8 ivo....-xwz7R8GQi1g@public.gmane.org wrote:
>> >>
>> >>>
>> >>> mille grazie.
>> >>>
>> >>> given that powerpoint itself has moved to 16:9, I= think it would=20
>> probably=20
>> >>> be a better default.
>> >>>
>> >>> the template trick is supercool. I had not realiz= ed this. I will try=20
>> to=20
>> >>> stick a modified version into my .pandoc/template= s folder. Is there a=20
>> >>> standard name (like default.pptx) that pandoc pic= ks up?
>> >>>
>> >>>
>> >>> On Saturday, December 18, 2021 at 11:44:45 AM UTC= -8 John MacFarlane=20
>> wrote:
>> >>>
>> >>>>
>> >>>> You can change this by using a reference-doc.= =20
>> >>>>
>> >>>> pandoc --print-default-data-file reference.pp= tx > reference.pptx=20
>> >>>>
>> >>>> Now open reference.pptx with Powerpoint.=20
>> >>>>
>> >>>> Go to Page Setup and change the aspect ratio.= =20
>> >>>>
>> >>>> Save.=20
>> >>>>
>> >>>> Now use=20
>> >>>>
>> >>>> pandoc --reference-doc reference.pptx input.m= d -o output.pptx=20
>> >>>>
>> >>>> Maybe we should change the default to 16:9. C= omments welcome on=20
>> >>>> this.=20
>> >>>>
>> >>>
>> >
>> > --=20
>> > You received this message because you are subscribed to t= he Google=20
>> Groups "pandoc-discuss" group.
>> > To unsubscribe from this group and stop receiving emails = from it, send=20
>> an email to pandoc-= discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>> > To view this discussion on the web visit=20
>> https://groups.go= ogle.com/d/msgid/pandoc-discuss/b9f2c295-a355-4bdc-90a7-58cd61694854n%40goo= glegroups.com
>> .
>>
>
> --=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/3468= 6c0e-c90a-4d27-82ed-28e950548c04n%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/bed9388f-5003-49c7-af76-7283404024cfn%40googlegroups.= com.
------=_Part_17796_1204250230.1641317679010-- ------=_Part_17795_2013500467.1641317679010--