From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30014 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 21:40:39 -0800 (PST) Message-ID: <34cc5349-a24d-494f-8abe-cd7cbf2994f0n@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> <5bfb6c9d-5237-4849-8dd8-26b6a81f7af9n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_50_425562088.1642657239789" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22939"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCJ2VV4Y2UORBWHLUOHQMGQECZA72DY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jan 20 06:40:44 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 1nAQBf-0005na-CC for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 20 Jan 2022 06:40:43 +0100 Original-Received: by mail-ot1-f61.google.com with SMTP id n99-20020a9d206c000000b00590dde2cca8sf3032925ota.9 for ; Wed, 19 Jan 2022 21:40: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=wMHoMJ9WdWwBynEd0j8DykTwpGBIYXUnA7ye/GMTIbs=; b=tmJ1Cb7yt4ltz7MxDdFXzQm76tbTnT9uP1s95piZau1a2QQs5jP1FLXA+8dL+8izCh OvjM7iCs4q5bgp8LYnHJwTkaRbh8slZl9DIatO1BYgKBUoL+ftyIJ1LJi9CqvI5O6TnS PlD9S5Ce8cN+RUiWfMhq3pvpiDPZVNozylJIdR+vHd0ykl1eas0N4bCIOIygtNP9G7CR n6pZK11LLweJqFw/Jb2hii/YG6HePSCdgP1XfJJeoxwR0oEI5Gua1JhVY0gaTcHAYz26 H2Hz8mM4+9DCrEoV1lkI2UKANeoygtAcF1wbLxsfsD7p5uH7xTyJ9pMu7LMYD3VkytvI 21CQ== 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=wMHoMJ9WdWwBynEd0j8DykTwpGBIYXUnA7ye/GMTIbs=; b=BWbx6vp/uU8yrf7rE5q2jObBDZSN+oBlUJqpTMvQcBusFHW/gVfT7oMt17w69Plsg/ j5SmFeWtEYkPjvJNEPqJc4uEYLWJ9Oevlba5QyBpIioOitYOq8mAZP5XROUn+TNhK1oE OmfGoXCrFWLR5R8xzSUrkIWSAbJaukF3il8tRtRbnKiSCR84bS2QhtVZtxRRL+WPVDVz 6E8nCOrxoNZt1vlATdrEFJn1TfwFCE1ZYLJR5lKSYI7du8zN8Hq38MhdW4aPFZrf1wFc NVYWAsbxrqjK0y2VAPjwRqG8cDch1SnFHJnXpQmR8TvqtXlmRJmAGK1HaiMImO350pAl EQRg== 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=wMHoMJ9WdWwBynEd0j8DykTwpGBIYXUnA7ye/GMTIbs=; b=XqjDXO+aNsGrJmxe7/OI1s6zUWe0IakCIvtpb8wjwauwecwVP/k8wGMpt/30C409UK lSiI4AU1pd8c99ljvmXv133fvr0qkJy8zIdargYsZkphdEt9sbRAQ4OL6t7/d2zhK8jm TmDXpFS+PZS1nEo2gFMaAryHoKGo4mdk9U3D2WCEH1zB8aDJZaUC9gh4usQW3Sp89/OX UGE/rJRKZ0caO/jhrrijXoqmj2UuFWehuwpyRIGA11D/etGhQhPU1Fregdg1ctlcNcH2 WRwDmol/imnkJPoENWZYL//9L4x4Xq34PaveI5vemq3SPjUQNG9F19fiiX3V6BAqt2VL CiLw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM53086QA6ibC2w+lFgJJXZdLS9DIpIBEGh61/gz+CdcovYJ3nzuBI PcmFld8x8mBbTCX+tS9dvUs= X-Google-Smtp-Source: ABdhPJykQxXB0KoAs2k+SV9I/GxqBxxQOQf01ErP8BpuVhvwPtRK8w391GVFRWErBGD2A8fds3Kvcg== X-Received: by 2002:a05:6808:1402:: with SMTP id w2mr6409697oiv.80.1642657242359; Wed, 19 Jan 2022 21:40:42 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6808:1b29:: with SMTP id bx41ls1549310oib.5.gmail; Wed, 19 Jan 2022 21:40:40 -0800 (PST) X-Received: by 2002:aca:1c0b:: with SMTP id c11mr6290849oic.33.1642657240353; Wed, 19 Jan 2022 21:40:40 -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:30014 Archived-At: ------=_Part_50_425562088.1642657239789 Content-Type: multipart/alternative; boundary="----=_Part_51_199300255.1642657239789" ------=_Part_51_199300255.1642657239789 Content-Type: text/plain; charset="UTF-8" Hi John, I am using 2.11.2 on Ubuntu 20.04 LTS and it adds it, as you saw. I created two issues: One for the feature request and one for the documentation . Thanks again for all your help and for how incredibly useful pandoc is! On Wednesday, January 19, 2022 at 8:54:00 PM UTC+1 John MacFarlane wrote: > > Scratch that...I see now that it does create the extra > slide. > > Well, I think we can fix that. If you submit an issue > on our GitHub tracker, it will help me keep track. > And mention in the issue that the manual needs to > be updated to reflect that speaker notes work with > beamer, too. > > John MacFarlane writes: > > > It didn't add a frame for me when I tried it... > > Are you using an up-to-date pandoc? > > > > Paul Gesting writes: > > > >> 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-discus...-/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 > . > -- 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/34cc5349-a24d-494f-8abe-cd7cbf2994f0n%40googlegroups.com. ------=_Part_51_199300255.1642657239789 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi John,

I am using 2.11.2 on Ubuntu 20.04 LTS and it ad= ds it, as you saw. I created two issues: One for the feature requ= est and one for the documentation.

Thanks again for all your help and for how incredibly useful pandoc= is!

On Wednesday, January 19, 2022 at 8:54:00 PM UTC+1 John MacFarlane= wrote:

Scratch that...I see now that it does create the extra
slide.

Well, I think we can fix that. If you submit an issue
on our GitHub tracker, it will help me keep track.
And mention in the issue that the manual needs to
be updated to reflect that speaker notes work with
beamer, too.

John MacFarlane <j...@ber= keley.edu> writes:

> It didn't add a frame for me when I tried it...
> Are you using an up-to-date pandoc?
>
> Paul Gesting <fol...= @gmail.com> writes:
>
>> Hi John,
>>
>> Thanks for the quick reply! That was one of the first things I= tried. The=20
>> ::: notes block does the exact same thing as simply \note{...}= . Both of=20
>> them add a frame. Sorry, I wasn't very clear in my tex.se question, but the=20
>> reason I put both the ::: notes block and the \note{...} comma= nd was to=20
>> show that both give the exact same result in the .text file th= at I showed.
>>
>> Thanks!
>> paul
>>
>> On Wednesday, January 19, 2022 at 6:55:43 PM UTC+1 John MacFar= lane 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 s= ection
>>> 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 be= amer
>>> does now seem to support them. So perhaps the manual needs
>>> updating? But how do you actually use the speaker notes wi= th
>>> beamer?
>>>
>>>
>>>
>>> Paul Gesting <fol...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>>>
>>> > I actually have a use case where I would like text un= der a section title=20
>>> to=20
>>> > be outside of a frame. See the question I posted here= =20
>>> > <
>>> https:/= /tex.stackexchange.com/questions/630390/add-a-beamer-note-to-a-section-slid= e-using-pandoc-and-markdown
>>> >
>>> > .
>>> >
>>> > Basically, if I want to add a note to a section title= , I do not want a=20
>>> > blank frame to be added for the note. I want the note= on the section=20
>>> 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 t= he change:
>>> >>
>>> >> A md like this:
>>> >>
>>> >> ```
>>> >> # Foo
>>> >>
>>> >> Foo
>>> >>
>>> >> ## Bar
>>> >>
>>> >> Bar
>>> >> ```
>>> >>
>>> >> The command: `$ pandoc --slide-level=3D2 -t beame= r -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, doin= g $ pandoc=20
>>> --slide-level=3D2=20
>>> >> -t beamer -o test.pdf test.md` would give differe= nt results, i.e.,=20
>>> 'Foo'=20
>>> >> would now be printed on a new slide after the sec= tion, rather than not=20
>>> >> appearing at all.
>>> >>
>>> >> On Sunday, 13 September 2020 at 22:26:02 UTC+2 Th= omas Hodgson wrote:
>>> >>
>>> >>> Is there a case where it would be expected th= at something would be=20
>>> >>> written outside a frame, and that it should b= e ignored?
>>> >>>
>>> >>> I have checked the modified template with sec= tions, and with=20
>>> subsections,=20
>>> >>> 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= .=20
>>> >>>> However, this changed with=20
>>> >>>>
>>> >>>>=20
>>> https://github.com/jgm/pandoc/commit/f431f67b2f2f5071345fa5800658375afa= f44c1b=20
>>> >>>> (somewhat controversially)=20
>>> >>>>
>>> >>>> It may be that after this commit, removin= g ignorenonframetext=20
>>> >>>> would be okay. Maybe someone can test tha= t 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 = 'ignorenonframetext' for=20
>>> Beamer.=20
>>> >>>> Is=20
>>> >>>> > there a good reason for this? If tha= t was removed from the=20
>>> template,=20
>>> >>>> there=20
>>> >>>> > would be no need to handle making ti= tles differently 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 th= emes that treat a title slide=20
>>> >>>> differently=20
>>> >>>> > from ordinary slides (such as Metrop= olis).=20
>>> >>>> >=20
>>> >>>> > --=20
>>> >>>> > You received this message because yo= u are subscribed to the Google=20
>>> >>>> Groups "pandoc-discuss" group.= =20
>>> >>>> > To unsubscribe from this group and s= top receiving emails from it,=20
>>> send=20
>>> >>>> an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.=20
>>> >>>> > To view this discussion on the web v= isit=20
>>> >>>>=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=20
>>> Groups "pandoc-discuss" group.
>>> > To unsubscribe from this group and stop receiving ema= ils from it, send=20
>>> an email to pan= doc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>>> > To view this discussion on the web visit=20
>>> https://g= roups.google.com/d/msgid/pandoc-discuss/81339d69-ff5e-4f9e-8ee5-1d7ba12a9d7= dn%40googlegroups.com
>>> .
>>>
>>
>> --=20
>> You received this message because you are subscribed to the Go= ogle Groups "pandoc-discuss" group.
>> To unsubscribe from this group and stop receiving emails from = it, send an email to pandoc-disc= us...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/5b= fb6c9d-5237-4849-8dd8-26b6a81f7af9n%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/34cc5349-a24d-494f-8abe-cd7cbf2994f0n%40googlegroups.= com.
------=_Part_51_199300255.1642657239789-- ------=_Part_50_425562088.1642657239789--