From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/26134 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: Sun, 13 Sep 2020 14:36:02 -0700 Message-ID: References: <69361063-4c69-4403-85c7-31d943d138fdn@googlegroups.com> <2a37b9d4-8b50-4764-950b-d97f2701f8f4n@googlegroups.com> <8d3b5815-bc30-4113-9683-11c166866e32n@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="4294"; mail-complaints-to="usenet@ciao.gmane.io" To: Thomas Hodgson , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBT5B7L5AKGQEE73TGLY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Sep 13 23:36:19 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-vk1-f188.google.com ([209.85.221.188]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kHZfX-00010l-3A for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 13 Sep 2020 23:36:19 +0200 Original-Received: by mail-vk1-f188.google.com with SMTP id l19sf3889160vka.20 for ; Sun, 13 Sep 2020 14:36:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1600032978; cv=pass; d=google.com; s=arc-20160816; b=UgACtVVzaTsIjafjCXbPxiHi8/ojHKpk4IRht43RTvCU9F0KrKF3LoGMGsXlz6c6gW IDDXCuva2xUM9j9/Sdh3UnpDhA9UQs2ptXOwPU/arWrm8eEfckZfPuS52/Hsldulvb5h cr2eKy53ORd25rv2EqntzIqaqDFOIXaBRs51SWd3HwNgan5pknW68WOKWIgBVyUvV2RA ge1UZBdF60ZmozaBB9wacrIgwqUIgPXnY1Ndbktb1xAtBh/7f6u9LgZMpELd2b7jqMsZ yqoQucZgmwtrONALF1Xr9x4RsBGd8DUanPldwJlhrOuQxzYFzbbo7MmbtqRnMNvQE3re 89VA== 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=Ifu+hVc7L4LJ9/Hijy8JXAVz6+eUj+fFlri/NBrvul4=; b=LvN9ALL7ybVg6Jzbsc+rhC+KxwxLY8tIQzARIN3slH2LaPckWolnaV9SLO+AyU/ckN wLlghMPIlIqoITWGDm9TS/0fRWP5/4l2XmLm+4nw3EOFBqqhMB1F1txBPVM51N+GqaBr u4u/Quhss9+UXphoMC0k3fAcl9XvZbaF0Hv+kwecuvxznTP1y0wgja9CZcHiDL0Ces8Z L4ZscGSPeJuRYF1T7KaqBozBEdWX4tIrVwQwbYgnA0pxeXUmCqpp1X1s7GJJ/lhp3UFE LmVkRiqi7mO7GXwjVlgBdqHSFHh4uBRYozubOdvMVO0trcAcQDHBBpsSwK9v51FUWRms BJPA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=NuDyUeJT; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1035 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=20161025; 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=Ifu+hVc7L4LJ9/Hijy8JXAVz6+eUj+fFlri/NBrvul4=; b=lJPa8SjFxY3DOhUrmQLSPchWVl24IwAwT1qz4HSSa0iFz4N4i8tdrrkKfqvYOO3tyM 1a+EHZH1fhStfbuCTv+yGSEP6akychXXZSjpXzVllNuSdHw6JKsUYFoTbvyspFMIhY+i U3YEbs2+83xXkPZvNdmXEHEgHRn/tTM1VlXHTQEq5EBXScGzKVIiRDRPm35DpqqF+E1m RsiBcFs+4GRNqncgN0r+gxXC82OFG2m/KQ3p+m+5/C/SavulPoHOvq3BjNxt0qIZYH9C oZToKZjoyDvGI33TzzpbjSjgNS5nTeF9aKAQ7HPg1JmwfTKTV6D15OEgCdC3YhSuckQu NbRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; 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=Ifu+hVc7L4LJ9/Hijy8JXAVz6+eUj+fFlri/NBrvul4=; b=GWhLzEmnnRWK5UZ4jQ3eWoRGiy9pc8CPzUFhxgtjN/lfPuctM5pKU94XyjOI0F0Gvl YfK+xeZs/0jgi9ZpK4ncBfV4wpyfJyXxIkXSdpzHQ5SQ6GSzyiqN2CW8/8N+ltGD12rM qqwSYqchBELN+KjBcYWDI5M/ZXwUaeSsuy7PMxhdhs8gCYzKcCzO1PbQmGqQtGn8axuS u3zmzoOLhuIt3SPlVNvHxgXFqxgF/uZXYaG/i4AuYqw58bOTMvVkJcG3FPRyMI2SbJH2 Strn3V/Sug4NK4Odv/hltimdCbFilnwoDNsB0YZzPAndn9OCqDeitNyMOiRasGZTFf24 mGiA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531KTlMIKr+vhybaNMZAq5rZ0n7aozKXsUQKkFNW+hMEMug1BbWF 9f6AKVbZTXs6NMywfjZ6Gro= X-Google-Smtp-Source: ABdhPJybTh8Wx9tRvyogENz/Te8kmQ+VS1HhcAWxgargZBLaNoyQN3pxEFFW2E4duJw+2rQc6hfrpA== X-Received: by 2002:ab0:26d0:: with SMTP id b16mr5317200uap.1.1600032978063; Sun, 13 Sep 2020 14:36:18 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a67:f146:: with SMTP id t6ls911707vsm.7.gmail; Sun, 13 Sep 2020 14:36:15 -0700 (PDT) X-Received: by 2002:a67:ed91:: with SMTP id d17mr5850158vsp.92.1600032975123; Sun, 13 Sep 2020 14:36:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600032975; cv=none; d=google.com; s=arc-20160816; b=kaSd+w69bIcLH74P77Rp2xAFEkoqF1bLssErEIBPCwXrlLF/9voFUPIRw4ctm+EPdV TEOE7+pvRmOXBqigiG52luoyE2N59rCnuqWDxdGQD3chFzzoXXHowVlXUIFThJKflKJY uaRPQx2Yf3Ao2mXrTljxTMYs0M/opSPepOWZWM10f9ly0EMggwsfVOwDq90+pgLfiBzb OMO6BAbOGg26leUiL640ByFGJGOPARxZQe3VsXbTOLc7wz4rU7dKLrwwWwDxzha+XWqE 5Ar2fpt0WXa24ILKq0A57ImMK6p7kRR0657k7Au0QJTs8LsXy46I0TDC0vK0OxrMXGbc g+jg== 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=5oK7k9Qhqp7vc+jisfuKwFTv28DaGPCgegnDOW00xbc=; b=n7gw7fjVZN4+Lv/zBldPt2N0xsLQjjK6mO8/v4QoFqsNB6DM2XusNG0sASOwUtqkUb 99QLEGeP7bNanux5ba2t/hCvQPJ6Sdd2TU98gGrnpGOcTo1fDpgIjUferoshysk4PJs0 ZweaDU1DqbDe5h8MXnGlVd6jBfbA1UCK7XZ+2tKWnhCMOgw23DzELu2R+8ezwE5gBsv+ AFoE9mAhu2Secfs0jMxqt7wFraBsXhLMj7VC5BjGN98SSauo5HjI1/QgOvwKNmWEocX7 wUyNJNqKIHoizPQ/02OrKo5lkP/8xpN1N+DWKeqPlMHq2UBDlqE1cUxN3c+psXTN8+9R V6Mg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=NuDyUeJT; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1035 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com. [2607:f8b0:4864:20::1035]) by gmr-mx.google.com with ESMTPS id u19si484968vsl.0.2020.09.13.14.36.15 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 13 Sep 2020 14:36:15 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1035 as permitted sender) client-ip=2607:f8b0:4864:20::1035; Original-Received: by mail-pj1-x1035.google.com with SMTP id o16so4436054pjr.2 for ; Sun, 13 Sep 2020 14:36:15 -0700 (PDT) X-Received: by 2002:a17:90a:8593:: with SMTP id m19mr11391161pjn.104.1600032974571; Sun, 13 Sep 2020 14:36:14 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id l1sm6678434pgo.11.2020.09.13.14.36.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Sep 2020 14:36:13 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id B1898A2A1; Sun, 13 Sep 2020 17:36:02 -0400 (EDT) In-Reply-To: <8d3b5815-bc30-4113-9683-11c166866e32n-/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.20150623.gappssmtp.com header.s=20150623 header.b=NuDyUeJT; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::1035 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:26134 Archived-At: What version of pandoc are you using? With recent pandoc, you do get a slide with Foo with this input. Thomas Hodgson writes: > 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/8d3b5815-bc30-4113-9683-11c166866e32n%40googlegroups.com.