From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30010 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:49:44 -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="29728"; mail-complaints-to="usenet@ciao.gmane.io" To: Paul Gesting , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBB36WUGHQMGQEEJUU2MY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jan 19 20:50:14 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yb1-f186.google.com ([209.85.219.186]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nAGyA-0007Le-I6 for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 19 Jan 2022 20:50:10 +0100 Original-Received: by mail-yb1-f186.google.com with SMTP id k4-20020a252404000000b00613504b364fsf6868816ybk.3 for ; Wed, 19 Jan 2022 11:50:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1642621809; cv=pass; d=google.com; s=arc-20160816; b=yFGuS2cCuszUcp+HYH4aaVw8FCwjxXIr2smm6FDFYT7N9V5uopnJvc3mhpaOBv39CI n8+DpCv8i1BEj49rwQl0K63SngdRTAKswrsf+DdhX0OiGf7gs9+hHpVb0pgMP04+79iz UbpGD5q3pOPmq7WDPg06xYt3NiyFFlwrHum4aWHqVCrXpOFcyErF+pSkzbyWJieZdvWU kt/kWlgi5xl9sHvFj9afJR6DMwR4cpbsrq8tQyYurfZaIvCbeI9Wu1pWt3JSe6Md6UqH w661eBFSWUa1mLAmDzdKP6io/xyATYYXe8Kg5cn3EUBCka2LFAk6+1xk0DO2lLdAGJMx zYFA== 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=b913zyqA8zUi9VQ70teODfYLpuNEtTATfBGY/hGJnLo=; b=Zp13UDV9hAgM8JpvuLGz+bf82VzWGyMsfMO5K5Pse49HHbyd6lZcKhHsyvMyIS+iIL 4Qbvk9YEYtplegGiL3+5AGMCsNxvgngHzsoT/T9RWuoDnzqvWBWo7BKoPXWQiS7X+AC+ aISQcppS8abL9XpI76zrcgTZbL+MpYOebTGVj9ZRemPeqjdFQL8LgV4P0T4rpsYZ4IK4 zmpmjlF36vTvb4jm//+CObimc6GapCTeYmwKfVdPF5x67/bCAEkOlyZLjxsgKOYEmn5p XYZXjfkrPyYjctlHDpRAaVcpg2zHLpTmNw5hETe9D/77bvzs26drF7943QWQ67CIVGK9 or4g== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=kgp+Uc0l; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::630 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=b913zyqA8zUi9VQ70teODfYLpuNEtTATfBGY/hGJnLo=; b=XZP7VyJBzvKMg8VAILF3/5z4tTo82Ubf4Kn1fckX87rTgcbbMt8Qlw2XBLZC2jHdMM pksRd08RnwlmSJte6a3YOdZP80TCm1Lt2Lw/4aykA+LO0YSm3VxdDE1h0wXEztgb6LJ3 nDwdvWwGh33MUCF9kRhq6uE/5OD6Kz076OscqGT3O8skZ2Owg6hLr4iINQK8OdTeR2A1 eRFLYcITaD6AK7v9T7yTc0HQojZ1zLgYknMy2rdGSSFTEmyMf/PgmiZY4+kWhkjKqhmf tie/MHhs8OdkNM/MRdkAP+iAnUa7fdIRyBnrBhh0z6iuxGXGxjl9jACdLzgqb0SXEsfl pvnA== 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=b913zyqA8zUi9VQ70teODfYLpuNEtTATfBGY/hGJnLo=; b=VACMRXtEw/7ks2qxxJOkq7HjKGeZKmBH6hkaxX1EEcJm/0OVTOy5N0nLH+9b+EoHOI Zx5E/D/v/9G7keBswtaB60VU45HDc5GLhf096o0QLx3UTfZv8sV5FBan8ebEsLBeaFHw FFhOltpDL62iVd5izN1lrYeYaN5w3BxZs3HlCVpaxRz/GF1+xFTxSY4fi0sB4Pv4sm6A WewGEK+2T/ZgvscLaWRxK2A8DnTYvC6za96HFtU1EHAD2hrnSPQeWb6xp2wnydE5ueyp unFetPOqMyeDThJl+kiYx0I9i8zbtPRSGGItrvwVoOMOSENI8uj3nYDjMEJyC4/dlFXo 4VPg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532/RSibqCisO+B4TsSpI3uQ78KbuUBbnXQ6Wd6KAMy0b6YALFA9 Fc9O+yWyDwCdBBWbqexujmM= X-Google-Smtp-Source: ABdhPJxFooURqAvUKM+rLz/HkZD6rvpyXZXyrH6umKJkyLQm9lUfRBIdP0ml54rAHVkB6rk2uOXiYg== X-Received: by 2002:a05:6902:124c:: with SMTP id t12mr18535663ybu.524.1642621809546; Wed, 19 Jan 2022 11:50:09 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a25:2c44:: with SMTP id s65ls2826656ybs.9.gmail; Wed, 19 Jan 2022 11:50:06 -0800 (PST) X-Received: by 2002:a5b:f0e:: with SMTP id x14mr42003972ybr.671.1642621806858; Wed, 19 Jan 2022 11:50:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642621806; cv=none; d=google.com; s=arc-20160816; b=jMgx6KNS9V9ivthNcYEr46k8ccvyND6VvVOsv+nbZGc+EbB22WHjaBWSqFNy0T1ehJ JWCQ5XKI9LQysxyjHxHRnmnfXTJ6xfC22lXVe0k6ZvYKT1PzS+XFNHylwkn07KXuyFL1 0nZtK8p5YpM+Nf8jqeuxo10fc3zd6WEEZmZOd2nCwpqIGJxJGHSMKjRZZdRsHoYzNYri /eCCHl/3G4ytICqi13kbTqglSdPSFCJriHY4TFBdB52X0RuAEgQ+AxqxAyI651r+r8hC ztHIYW1ur8IbSu8gll9rAE/CTvsRdu92DxiOupBl8G+IJKz3+hg4RfplrMAWPIJoZYwE hFdQ== 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=wWiwXdDOD3JRxdvtXeZFpWW6JrzVn0eH5qDSLmwG2Dg=; b=v1V2hbaGz6e6DG8d8QvYnAEyh1XlhvVqAEmBMhsLyObQKtg/Oahc3NuJIrOnn1+pFW VvbJi35v0sFwda/OHvzb84hCU6XSQB0KQTzZwcxzukZnQSxg1KNLiCa1plWVcHUMeu/f RH0R31eEU7r3wjbZxtNGOiEFnpj6x6nHvSE3t+zteZEQR6/vXr3DNJnBK5soPAsV9FAD rKp4w7EGq9ZNTQBCEUdh4ARYmoIDrqEKNcLR2Rsa950vILVGfSCM5y9GGwbUt6s1/IR+ +gL6+ih0/V/tv0bR9K1Tp7CL+H0tUnW3NYDErS754dZyXvxjiWVDdr+MaR3oeG0kK+6O zKfg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20210112.gappssmtp.com header.s=20210112 header.b=kgp+Uc0l; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::630 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com. [2607:f8b0:4864:20::630]) by gmr-mx.google.com with ESMTPS id 188si97869ybc.4.2022.01.19.11.50.06 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Jan 2022 11:50:06 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::630 as permitted sender) client-ip=2607:f8b0:4864:20::630; Original-Received: by mail-pl1-x630.google.com with SMTP id n8so3206846plc.3 for ; Wed, 19 Jan 2022 11:50:06 -0800 (PST) X-Received: by 2002:a17:90a:4594:: with SMTP id v20mr6199852pjg.105.1642621805688; Wed, 19 Jan 2022 11:50:05 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id nh18sm167043pjb.18.2022.01.19.11.50.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jan 2022 11:50:04 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id CCA5BA29D; Wed, 19 Jan 2022 14:49:53 -0500 (EST) In-Reply-To: <5bfb6c9d-5237-4849-8dd8-26b6a81f7af9n-/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=kgp+Uc0l; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::630 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:30010 Archived-At: 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.