From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30008 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Gesting Newsgroups: gmane.text.pandoc Subject: Re: ignorenonframetext in default.latex Date: Wed, 19 Jan 2022 11:26:31 -0800 (PST) Message-ID: <5bfb6c9d-5237-4849-8dd8-26b6a81f7af9n@googlegroups.com> References: <69361063-4c69-4403-85c7-31d943d138fdn@googlegroups.com> <2a37b9d4-8b50-4764-950b-d97f2701f8f4n@googlegroups.com> <8d3b5815-bc30-4113-9683-11c166866e32n@googlegroups.com> <81339d69-ff5e-4f9e-8ee5-1d7ba12a9d7dn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_4414_100444594.1642620391256" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30979"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCJ2VV4Y2UORB2OLUGHQMGQEDJ5UEAI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jan 19 20:26:36 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f61.google.com ([209.85.210.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nAGbM-0007qw-Bo for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 19 Jan 2022 20:26:36 +0100 Original-Received: by mail-ot1-f61.google.com with SMTP id 49-20020a9d08b4000000b0059bd1411628sf2081403otf.8 for ; Wed, 19 Jan 2022 11:26:36 -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=SVPNzE427Kx7Zp+nfOi1moI2mv+tf5BKquJDmPinAN0=; b=smQifkivG9wLyJSNUe4xq0FS69ixt3sJjG+/HTF9P4RyXuUcifcphH/7QXXUftYAu6 6Bq/P43aCHAraXwslEmrE4zTuA6ukywzG8n6w3GNEiKW80ukilYdlA9E5w73GfH0IK1B AaR39syCigug214jEv/wJ2W9Tz0BzoITw0DmDhqwUrzBud9kgWjGxrG7Cm6A8d5XK5vU 21yKyvnVbvZACrvqPIADs2HSPdfFwJCdotJwigEeKG9kwEgYjM6CSC2lhHTlqPYLENgy cQz7PkBdXfWSm+zO31wUs6A6godb6O/7r8jeJXbupZy5IBhWnlC4ZXp3XIzEZbHQZIwC adUA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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=SVPNzE427Kx7Zp+nfOi1moI2mv+tf5BKquJDmPinAN0=; b=mlSBCww73CfPQeALUnk5mfDsNSyalA9pe9dr72Rp+uGas/r84nY9xiac4dcoj8sOx4 79HN9OggUs9mmrhncN6KcW7pZsHsOxHpKB6mp8VglTsMMEOeUIwljcFgY/t2fpogW8TU e3c/iDPYlB+Pg6TRcH/dEcNhmMUjQdZWyZDpEXJLts5l0DdPB21T6nkbptaWDmLEr72Q r++VzJCTA/vHbnUWVdNymtIk9seodyBxmDyUF4+iSd3MSaz+FfnY2Xd4q510bB3FUYyl l3ZW7fFFvHxyS6qYyhlmbHCpOaVLhWRSJwRn8tLHc4n1KkPc9UxPadt6iuIO+VMTfi5d 3znQ== 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=SVPNzE427Kx7Zp+nfOi1moI2mv+tf5BKquJDmPinAN0=; b=HSuNl9nGT26MlXC5hkJF+sKZWJ3+mMTamLBN5nfn/AHEBcbqXpvLLZD5ZXCpuwI7OF lvvOy7yAOKz9s1qhlnhpjPFwcqWqVSPmx5rP/n8Y5X/wEfPMFdVeTpai67K1QOthWqYi JrPDarvk1qAOMrAWLU4CSUEHBzQchkrWdm8gU56vyNRVVvEsIQnHX13azWfdf2bF7xUJ 8JtgVt+ft7hcQvSDBBjfqK/+jwp0LPevPCzHZzZ36Ki9aeWXGDxlB2bk/2tGdZn4BbeP B7UvOtZq/AwT9D6VQAqePnidP55BsqmLw1GTYHC7fEr1bagCJq7HARHVgJogf4ShCrwx jSew== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531+CUv9pNPEvQy7lRT6W7HHk+z+CIUZqckktx1sHVns2qnnTSjm wl5XMeHPuMzFVQow7HSCFnQ= X-Google-Smtp-Source: ABdhPJzX35kqacEVihauHoL/uZJD0LiR1Kpse5WG89PzEXJHK0kEyH4u4ezrdYldUJYyAc+dmRsNRQ== X-Received: by 2002:a05:6808:158e:: with SMTP id t14mr4605756oiw.31.1642620395240; Wed, 19 Jan 2022 11:26:35 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a4a:21c4:: with SMTP id u187ls204897oou.2.gmail; Wed, 19 Jan 2022 11:26:32 -0800 (PST) X-Received: by 2002:a4a:55cd:: with SMTP id e196mr23481789oob.86.1642620391768; Wed, 19 Jan 2022 11:26:31 -0800 (PST) In-Reply-To: X-Original-Sender: folofjc-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:30008 Archived-At: ------=_Part_4414_100444594.1642620391256 Content-Type: multipart/alternative; boundary="----=_Part_4415_1706073173.1642620391257" ------=_Part_4415_1706073173.1642620391257 Content-Type: text/plain; charset="UTF-8" Hi John, Thanks for the quick reply! That was one of the first things I tried. The ::: notes block does the exact same thing as simply \note{...}. Both of them add a frame. Sorry, I wasn't very clear in my tex.se question, but the reason I put both the ::: notes block and the \note{...} command was to show that both give the exact same result in the .text file that I showed. Thanks! paul On Wednesday, January 19, 2022 at 6:55:43 PM UTC+1 John MacFarlane wrote: > > What happens if you do this (with current pandoc)? > > % pandoc -t beamer -s -o my.pdf --slide-level=2 > # Hi > > ::: notes > note > ::: > > ## Slide > > ok > ^D > > When I tried this, I did not get an extra page after the section > heading "Hi". (But I'm not sure how to view the notes with > beamer.) > > Actually, the manual says that "notes" divs are only supported > for powerpoint and reveal.js. This seems wrong, because beamer > does now seem to support them. So perhaps the manual needs > updating? But how do you actually use the speaker notes with > beamer? > > > > Paul Gesting writes: > > > I actually have a use case where I would like text under a section title > to > > be outside of a frame. See the question I posted here > > < > https://tex.stackexchange.com/questions/630390/add-a-beamer-note-to-a-section-slide-using-pandoc-and-markdown > > > > . > > > > Basically, if I want to add a note to a section title, I do not want a > > blank frame to be added for the note. I want the note on the section > frame. > > Is this still possible after the change that is cited above? > > > > On Sunday, September 13, 2020 at 11:04:16 PM UTC+2 thomas....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > > wrote: > > > >> Here is something that would be different after the change: > >> > >> A md like this: > >> > >> ``` > >> # Foo > >> > >> Foo > >> > >> ## Bar > >> > >> Bar > >> ``` > >> > >> The command: `$ pandoc --slide-level=2 -t beamer -o test.tex test.md` > >> produces LaTeX where there is text ('Foo') outside of a frame. If > >> ignorefametext is removed from the template, doing $ pandoc > --slide-level=2 > >> -t beamer -o test.pdf test.md` would give different results, i.e., > 'Foo' > >> would now be printed on a new slide after the section, rather than not > >> appearing at all. > >> > >> On Sunday, 13 September 2020 at 22:26:02 UTC+2 Thomas Hodgson wrote: > >> > >>> Is there a case where it would be expected that something would be > >>> written outside a frame, and that it should be ignored? > >>> > >>> I have checked the modified template with sections, and with > subsections, > >>> and without either. > >>> > >>> On Sunday, 13 September 2020 at 21:23:19 UTC+2 John MacFarlane wrote: > >>> > >>>> > >>>> We used to ignore stuff outside of frames. > >>>> However, this changed with > >>>> > >>>> > https://github.com/jgm/pandoc/commit/f431f67b2f2f5071345fa5800658375afaf44c1b > >>>> (somewhat controversially) > >>>> > >>>> It may be that after this commit, removing ignorenonframetext > >>>> would be okay. Maybe someone can test that out (with a lot of > >>>> different cases, please). > >>>> > >>>> Thomas Hodgson writes: > >>>> > >>>> > The default.latex template uses the 'ignorenonframetext' for > Beamer. > >>>> Is > >>>> > there a good reason for this? If that was removed from the > template, > >>>> there > >>>> > would be no need to handle making titles differently for beamer and > >>>> other > >>>> > formats, i.e., it could be done with `\maketitle` in both cases. I > >>>> think > >>>> > that that's better when using themes that treat a title slide > >>>> differently > >>>> > from ordinary slides (such as Metropolis). > >>>> > > >>>> > -- > >>>> > 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/69361063-4c69-4403-85c7-31d943d138fdn%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/81339d69-ff5e-4f9e-8ee5-1d7ba12a9d7dn%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/5bfb6c9d-5237-4849-8dd8-26b6a81f7af9n%40googlegroups.com. ------=_Part_4415_1706073173.1642620391257 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi John,

Thanks for the quick reply! That was one of the= first things I tried. The ::: notes block does the exact same thing as sim= ply \note{...}. Both of them add a frame. Sorry, I wasn't very clear in my = tex.se question, but the reason I put both the ::: notes block and the \not= e{...} command was to show that both give the exact same result in the .tex= t file that I showed.

Thanks!
paul
O= n Wednesday, January 19, 2022 at 6:55:43 PM UTC+1 John MacFarlane wrote:

What happens if you do this (with current pandoc)?

% pandoc -t beamer -s -o my.pdf --slide-level=3D2
# Hi

::: notes
note
:::

## Slide

ok
^D

When I tried this, I did not get an extra page after the section
heading "Hi". (But I'm not sure how to view the notes wi= th
beamer.)

Actually, the manual says that "notes" divs are only supporte= d
for powerpoint and reveal.js. This seems wrong, because beamer
does now seem to support them. So perhaps the manual needs
updating? But how do you actually use the speaker notes with
beamer?



Paul Gesting <fol...@gmai= l.com> writes:

> I actually have a use case where I would like text under a section= title to=20
> be outside of a frame. See the question I posted here=20
> <https://t= ex.stackexchange.com/questions/630390/add-a-beamer-note-to-a-section-slide-= using-pandoc-and-markdown>
> .
>
> Basically, if I want to add a note to a section title, I do not wa= nt a=20
> blank frame to be added for the note. I want the note on the secti= on frame.=20
> Is this still possible after the change that is cited above?
>
> On Sunday, September 13, 2020 at 11:04:16 PM UTC+2 thomas....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org=20
> wrote:
>
>> Here is something that would be different after the change:
>>
>> A md like this:
>>
>> ```
>> # Foo
>>
>> Foo
>>
>> ## Bar
>>
>> Bar
>> ```
>>
>> The command: `$ pandoc --slide-level=3D2 -t beamer -o test.tex= test.md`=20
>> produces LaTeX where there is text ('Foo') outside of = a frame. If=20
>> ignorefametext is removed from the template, doing $ pandoc --= slide-level=3D2=20
>> -t beamer -o test.pdf test.md` would give different results, i= .e., 'Foo'=20
>> would now be printed on a new slide after the section, rather = than not=20
>> appearing at all.
>>
>> On Sunday, 13 September 2020 at 22:26:02 UTC+2 Thomas Hodgson = wrote:
>>
>>> Is there a case where it would be expected that something = would be=20
>>> written outside a frame, and that it should be ignored?
>>>
>>> I have checked the modified template with sections, and wi= th subsections,=20
>>> and without either.
>>>
>>> On Sunday, 13 September 2020 at 21:23:19 UTC+2 John MacFar= lane wrote:
>>>
>>>>
>>>> We used to ignore stuff outside of frames.=20
>>>> However, this changed with=20
>>>>
>>>> https://github.com/jgm/pandoc/commit/f431f67b2f2f5071345fa580065837= 5afaf44c1b=20
>>>> (somewhat controversially)=20
>>>>
>>>> It may be that after this commit, removing ignorenonfr= ametext=20
>>>> would be okay. Maybe someone can test that out (with a= lot of=20
>>>> different cases, please).=20
>>>>
>>>> Thomas Hodgson <thomas....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:=20
>>>>
>>>> > The default.latex template uses the 'ignoreno= nframetext' for Beamer.=20
>>>> Is=20
>>>> > there a good reason for this? If that was removed= from the template,=20
>>>> there=20
>>>> > would be no need to handle making titles differen= tly for beamer and=20
>>>> other=20
>>>> > formats, i.e., it could be done with `\maketitle`= in both cases. I=20
>>>> think=20
>>>> > that that's better when using themes that tre= at a title slide=20
>>>> differently=20
>>>> > from ordinary slides (such as Metropolis).=20
>>>> >=20
>>>> > --=20
>>>> > You received this message because you are subscri= bed to the Google=20
>>>> Groups "pandoc-discuss" group.=20
>>>> > To unsubscribe from this group and stop receiving= emails from it, send=20
>>>> an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.=20
>>>> > To view this discussion on the web visit=20
>>>> https://g= roups.google.com/d/msgid/pandoc-discuss/69361063-4c69-4403-85c7-31d943d138f= dn%40googlegroups.com.=20
>>>>
>>>>
>>>
>
> --=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/8133= 9d69-ff5e-4f9e-8ee5-1d7ba12a9d7dn%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/5bfb6c9d-5237-4849-8dd8-26b6a81f7af9n%40googlegroups.= com.
------=_Part_4415_1706073173.1642620391257-- ------=_Part_4414_100444594.1642620391256--