From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30011 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: ignorenonframetext in default.latex Date: Wed, 19 Jan 2022 11:53:36 -0800 Message-ID: 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: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9012"; mail-complaints-to="usenet@ciao.gmane.io" To: Paul Gesting , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBVWYUGHQMGQES3O2TKY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jan 19 20:54:02 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-io1-f62.google.com ([209.85.166.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nAH1t-000272-MG for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 19 Jan 2022 20:54:01 +0100 Original-Received: by mail-io1-f62.google.com with SMTP id v190-20020a6bacc7000000b006046d11e61dsf2350332ioe.1 for ; Wed, 19 Jan 2022 11:54:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1642622040; cv=pass; d=google.com; s=arc-20160816; b=tW5236JaK/m/Xb9X7SBTYTmXeXGO4j3Xt/GJlZI3Em93hpl46UlkUWXCK+qaJVFOa6 xH9IAPNNch99vy77nJaeRa6DsgzlLM2zT/jlXYCbbm0LdA6cCy6LX30rUP1r5ATC9O6J qttR57iJBNH7qIufD324iroP3AlOXXN9MbJF9dBxIqAG9zhNBnChVmJYzkHW+RnB53bo m4UCTj4mgz5TWhWxmF9/UsgAFUSlsDX0TZXM67Q6f+Sn5gamGrEMlVWFL25YrEbgHIhM eGci9Z+56i9NzLQ2B5MzQaqk86r8kozHG7pEZhgC2ozdzcNCMazQMot20Yx6n2iaHWep neng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:mime-version:message-id :date:references:in-reply-to:subject:to:from:sender:dkim-signature; bh=B6yQkX5OmS+0hfi+Z6oY4Mpbww583hEirl1XUycAGmo=; b=Y9dVveE7gCKhxK3tzDFRktqkWVjFFoRXtJm+agLQ+R6kgdSUuC3BG2mdujiL0nsyEP 4EzRPtAoKlu1yRpzBpROvzmTNEX+Z/th0tMET7bWI5P0TJiw/XxR7gCK0AH3Jxp8Ak0Q 35Xold/yTa93UD0vHMh4ccnct6c5+P5nkXNouaP4p7/jkmNadgRZ7sOivKUcIK9LAWpm HUhuUWovgFvF9qCPW+HmyH66/CPNszisJfmJXvu/S13/IZiUSsxgmaciQdz7uWt9NCO8 m8vl0eJqGlR/VEW57GJiGCi3Ra0+2N0rGjoBF3cAzcTuWOJI/qw2vLz9TJarfUjhZElX txCA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=MyZXkkDi; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102c as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=B6yQkX5OmS+0hfi+Z6oY4Mpbww583hEirl1XUycAGmo=; b=klEUfpfpT4A78jO4M/a3PrVQu3a4n87YLWtjbpWMd+HdIndn9b/boQY89grhdJjpSw ucSft96IfP/AhxYjZUmnnm14VOSjSyfFptI8hPF9cr5O5FSDB0Wp0BG8giobYn6yCAJ5 Z+TGlPQqVs23uI8YWQ/bdRAZNETrUQRQPiMBtVniqi+QVFB4a+1xl6tKhWzbEGt8z+Ei sFwAU5FbwFLbJtbDTcpcvE8mmkmXt9elFQ3r3ef21ok3hhuhJQvmlrO7NiVbjTnBKOYE HJwLVGCKspUtBaZHWTo882AAT+THkXbqBPBNsh84guNPLRLdb9j8IGvTKcmhMuaqIUz5 NYVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=B6yQkX5OmS+0hfi+Z6oY4Mpbww583hEirl1XUycAGmo=; b=h0wT8+g8sq8D6X+F6/ck++CB/0PGAfPptiLpgKnHHM3E1f7EOHA1nsyC4OgzTvGAL7 3vCMhGDfFDAV2RF61hULd9YSziXg6pBhUxVJQ9Ng8AjuZGADGct9vA4SCgOIJHbEUTbR oi6unRyDtQ4tdfon8JzHqxG/iy9Y0KaLuMOwkyZX6T6QkkSn2LSXMsDnViNc7MJV/pr4 7fEUeIDrcYQvN89qW1BEiiqB9JaeI1NSsYm1Dz4iFqS2EWzs/AU2ZRW6H2Rof7kdN8h1 TwG9xANNxIR1pUbAgIMuzrl+CCbWFE6USn8ufCxELDoX29xnyth7aMsTP0AEHH6gsQRC s86A== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530uw76yBOK33kznQDp2M7+sIFA7k8pEi1wi8cG0VV8RUXduLY3d +E0DfTNPs3n2Z3oTVe3f7qc= X-Google-Smtp-Source: ABdhPJwfwNeWnCbxCoJfwB6zl585vHpseYr0HbMSSxRe3RcXgRhsRRt1YECN5dQS9BumQin3LKlvhw== X-Received: by 2002:a05:6e02:188c:: with SMTP id o12mr10297884ilu.258.1642622040561; Wed, 19 Jan 2022 11:54:00 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6602:2d02:: with SMTP id c2ls383059iow.11.gmail; Wed, 19 Jan 2022 11:53:57 -0800 (PST) X-Received: by 2002:a5d:9709:: with SMTP id h9mr12304122iol.67.1642622037852; Wed, 19 Jan 2022 11:53:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642622037; cv=none; d=google.com; s=arc-20160816; b=kAmGdYBeCfEjzn+JTW3/2LGKmRMsK658agnnhKJB5lY2WXeuuBi8O+CVa6AeiInwJ6 RL+DZ27tQ05JASwi5p+ZtM4ThNXfr2wv052SQuwxoDtV/wYaYDjyAztWOkXZYgmpLgLQ +zyjL/kQCNAXFYNmSQix7mjviMG/b6931b9jcdysUsSoM0yrXb1X+UXW+V3Uu7jAXTyc 9YmJHl8z6niVtU+xRXvQiuHOrOH6zVaupbkscJXYXs4biyt11pJsa/cY10tT5qJZREFz 5FpwOz1OvEK3BSlLBbpp3bYQxpJ+Y17f6pgRHgBbwWFxC9F9kEJvqPKcev+ifnW/KF7o AIeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=/5X6lAjug/K4j8HyjjSD64U6717EMghbeOVbtZW9uAk=; b=NfQCTx/+gMb2HN1neev0boylnFrCuc62Z0RS/ZJTadGcXNpM8NxppyRmLfjZ/WAt6c /CFwqcSq7GDBBs0Ps11+t0AMxxKGhK0Z3Fxlz8xAtJkR5gvzqA0xq7Fpb4Lmvmg8i/tm SH1tMDTkZahyTyaPDHRIxSq97OQcCWIJixWg3KatyQQfT1lA939u6bljlEPyjobB/U/z aw4aLo/3SuLI/ZBCuZ3Y/nCUfflkQGeS2RdAT1SccpDDFxsSVnmdr5GTnNvxxueIruqX xlcoVKaQoYG6KE0TGZ32L2w1vJFmLmAX3o4gm87O2N69NANRNMp7BaIpNjVBFxFBOHOP kGiA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=MyZXkkDi; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102c as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com. [2607:f8b0:4864:20::102c]) by gmr-mx.google.com with ESMTPS id l12si127627iln.0.2022.01.19.11.53.57 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Jan 2022 11:53:57 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102c as permitted sender) client-ip=2607:f8b0:4864:20::102c; Original-Received: by mail-pj1-x102c.google.com with SMTP id d5so1080594pjk.5 for ; Wed, 19 Jan 2022 11:53:57 -0800 (PST) X-Received: by 2002:a17:90b:2406:: with SMTP id nr6mr2909242pjb.99.1642622036934; Wed, 19 Jan 2022 11:53:56 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id e15sm477592pfv.59.2022.01.19.11.53.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jan 2022 11:53:56 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 3D763A29D; Wed, 19 Jan 2022 14:53:45 -0500 (EST) In-Reply-To: X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=MyZXkkDi; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102c as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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:30011 Archived-At: 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-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.