From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30006 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 09:55:27 -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> 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="7425"; mail-complaints-to="usenet@ciao.gmane.io" To: Paul Gesting , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBHNBUGHQMGQELDNZKNA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jan 19 18:55:44 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-il1-f192.google.com ([209.85.166.192]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nAFBP-0001jg-Ok for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 19 Jan 2022 18:55:43 +0100 Original-Received: by mail-il1-f192.google.com with SMTP id 20-20020a056e020cb400b002b93016fbccsf2134841ilg.4 for ; Wed, 19 Jan 2022 09:55:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1642614942; cv=pass; d=google.com; s=arc-20160816; b=qM+g5YrNQkohdkK/tfPq120GhGZmtwSKXrQ/jPy2ot2LeEQnV4DaezN83IOZN9gjim C84UMJlFMXHWyXj039fWFFsFHPQKn1Au9YMGtlN4hIQHlBc4A7IQFfak+UAiaFee2mOG syVdbPS4CKe1cx45xdHdZ7pL/22BRVUmHbrZ1IQ+dPWM0gfZe4iB73ntnuLa9BGYD3cO 5ypSPEfPZhJFHBELUDRf4nrftWDOUkwnr9UHEfeLCEBRASW0bsZOo+ck5Cf4KjElIsQY xjbV5+XugfA6vF1OiPeeqbuO3OuVZ4AvHgnvTfYUqSNcTFWkw3QrNhOml2IoJn00abRC Cl4g== 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=n5+walZLQ4r7Avz41v/pdmNGIR5HbVkJTmz+NJtUjlE=; b=bjVeVdkOIRoP0ZcPDbYsxq9wdHkm3ZBhXg/meGEMeXtJ8l09ezkcYfZEeq4w3VLlOd PJY8zyF2CEfspKc21z6dPx0ycTm2EwU8uABbn49VOtpCwCeXl3q189AtBPJ3JH/CLWeo nUSRtwvuwTZFO4vsiDKpZAu+Ikz6VNV5QQ0JAEQrSnyzI23ebpNvRUQ1+UC0YkvR1VNv LfTmTDakNnUp7PaG4AcTqHIICGFNEMxuQFU3FxdOIMvl65P7/MWVII+cagEOEit4V10W IdacqQEnQ5H39SlDSsJ6qTE+l54Tf27sdbDVQPaHHUNJXh0jpBswOiBOU4BLt68WFgOh vgxA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=MHeabFGX; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1033 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=n5+walZLQ4r7Avz41v/pdmNGIR5HbVkJTmz+NJtUjlE=; b=ZW+iw13KhEa+Ers7ugpC5rFR1vzl90QAceda8S1oyMPLC/SqsoN1NREzseNqEthZ2v VX/BjzFhbZEE3rStTMTR8cwN/NTBDyE9S3PK2V/CkYLZCNEae9NNhsGY3d8FvwcBUVTb wJWouA+wncWzoP056pM/eiqTvaEcYAbSGeIg/rDzKaxBYcfM117VJHWeA363B2Rx1L1O eE+xcPYCHzE5W251q24uuWz7oX4s4TtliGjJTXTnV5jsusMM7xbrJHRrsKF/pGExCKrl +v85gsbXezwiLniXEBvzfrDYJoDMl7oqrt7zqJjRwb6QO3waIlmBXYpkWuI3Vnrb0bYO egew== 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=n5+walZLQ4r7Avz41v/pdmNGIR5HbVkJTmz+NJtUjlE=; b=gv7B7z2Pl4pYOtrz+78S96rssKrLH60LIRHoRcKxenUS847unhKFRJmZzUuXquVqNf IHl35yGoaUQz1EgqPmqCtGj8mvJxNcUuuYgUzLgJuHteaROY+knVfxTBlOoZkLX7oqGH KbSpsfzXpFZA24gcCLpDSe658MR32AR06s2ez0tYdKl2cfqLD34JTVhYWLXmGHWi77I5 ZRR+kCdHIejTQs002bgKOBFvupqflrxMLSYN7ptkZObWLTtoSAIbb0zw/ZzRnGH7vnd3 3GBkh2AS+cY9cnsQ0ZbcRqjpPbfbX4bG1qQZfWVQO4hYkiGGXSAd99BVZR/0glPzs3rv qU8A== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533ftTD7xYY/9zJUYP3uk+BS5246+NSzzsJESVwVDlSQcM4J8qe9 t5V+jhgvgGZ7HHz6yYTgcWA= X-Google-Smtp-Source: ABdhPJz+c42L9pwCgV6KqKoOJxKnpM4wkmd9tgVwdLVKU9v9hJGCwyyEaD+5ohGjGLLJ7/n84rOrEA== X-Received: by 2002:a02:ca03:: with SMTP id i3mr14763430jak.234.1642614942384; Wed, 19 Jan 2022 09:55:42 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6602:14c2:: with SMTP id b2ls334677iow.6.gmail; Wed, 19 Jan 2022 09:55:40 -0800 (PST) X-Received: by 2002:a5d:81c7:: with SMTP id t7mr16357369iol.10.1642614940827; Wed, 19 Jan 2022 09:55:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642614940; cv=none; d=google.com; s=arc-20160816; b=J8+DqdgqDY19u/osPJvKXmCDHmADJ5hyVp18UIfrhAnqOwF1akgt86NA7x9LGVUHAE VmiE08epCGTej4LNT5IptkRMxkyCWIJzusR4r/k1AYa3/5qFDpAIl6xcPXj7qb63EmTD ASwQTbTo/9CG4SZorsMXZJqwBd3XsjdAR/VC+f+FWQX0xE5pWt1DfHtfxF1YQETAmO0o Vf1pDD6urszPiLsgWGg5lXC12FODRyT7iNv3fpmTzB2LCq47hhMbqxE+8NSv+ssKGTxY OoGBFBRxXEBADQtuuGGLqRGxWP8kyrP0wN6FO0ICZ7s6iFxL2I70fUhS/uvWwL38hipY 15xQ== 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=kRBjIEJ7fF1aj+XnNBgjgSd8XMIzQT//cD+CsF6Zvfo=; b=oU6ZxJEPbeFOTbWPxR+mvmBYRdHFNGP1G6jyZvLeHCgx0nSUbX9BICZFKktNnog/56 /SO3aSyaFMeFqY1tl4IDhgWB7D60ACKEPzxbiCgbgLTaFBp7/rEJFYp8YaZx3z8FUEV9 WCzhLEp9jB6nWYZUCTL/BUBrta1pigHF5FKGJhiYV46pshL7ozcNJkuC15j+jUzGoqQT VU8J7jYup/OajUSsvYBVbwWuPpcQrjtw7YA5oi4XcKsovFcVxK8J7ZGwiDJiijpo0c7X sGvIecATA36/K+gh2l5/8e2lL0/lyxzDNWH9Qbdp9NYsl85NwGekK+a4CyATuD6Cfy9u Qg1w== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=MHeabFGX; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1033 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com. [2607:f8b0:4864:20::1033]) by gmr-mx.google.com with ESMTPS id j19si61876jat.1.2022.01.19.09.55.40 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Jan 2022 09:55:40 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1033 as permitted sender) client-ip=2607:f8b0:4864:20::1033; Original-Received: by mail-pj1-x1033.google.com with SMTP id l16so3128891pjl.4 for ; Wed, 19 Jan 2022 09:55:40 -0800 (PST) X-Received: by 2002:a17:902:8c83:b0:149:8ef6:b2ff with SMTP id t3-20020a1709028c8300b001498ef6b2ffmr33329486plo.32.1642614939850; Wed, 19 Jan 2022 09:55:39 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id s3sm38956pji.31.2022.01.19.09.55.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jan 2022 09:55:39 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 0125CA29D; Wed, 19 Jan 2022 12:55:27 -0500 (EST) In-Reply-To: <81339d69-ff5e-4f9e-8ee5-1d7ba12a9d7dn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 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=MHeabFGX; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1033 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:30006 Archived-At: 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 > > . > > 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-discuss+unsubscribe-/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.