From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30004 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 08:27:00 -0800 (PST) Message-ID: <81339d69-ff5e-4f9e-8ee5-1d7ba12a9d7dn@googlegroups.com> 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: multipart/mixed; boundary="----=_Part_2002_1164538823.1642609620451" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32609"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCJ2VV4Y2UORBVPXUCHQMGQEIOH4ZIA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jan 19 17:27:04 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f185.google.com ([209.85.167.185]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nADnc-0008Fv-6y for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 19 Jan 2022 17:27:04 +0100 Original-Received: by mail-oi1-f185.google.com with SMTP id j126-20020acaeb84000000b002c90b1bb864sf2040035oih.3 for ; Wed, 19 Jan 2022 08:27:04 -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=b86zwD/RK9kxU2+TCfWxOlljwFHF4iFw0BXPB+Zh+So=; b=H1ily866CmRbWd4aSky40Tbo6ZWU9Jjx1n08dFbaNrAmGLtIojzOI/yBw28FRkopWt RfE0ceHl72UeuxayqOoUoAZNQOrRSG65CqUH5FPlAzlCeJkQLnPnOeb4sKGV376chJgH IQr5XzNY50azp964NSm2gQMd2rwbq2IHjHfk1hezHPYdd6S8b/a2hoK5kJ6YF006jyLS opX0aggCJXbcra9PwcAxAzNMJ+b1b7Hap5VDWphRnKtP2oxflfJMZ3S1I/fpVs9QDg1i r0LZVjGW7S5rJxws/uNzJszPQCvovVjIh5igJAdMKIC5xWTPW6RWekZwln5KAoaZgNIz tUGA== 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=b86zwD/RK9kxU2+TCfWxOlljwFHF4iFw0BXPB+Zh+So=; b=jwDkdfnqPTfCIaN6jxnJJ/9OSh7kOCD4VmzH8vRUjoK2eXxUTISgtSbXlDvfF4TxGl BMiRNhAnvq5HLcUGkRfQTjVMchUvYYHnIiJGqG7rrQPu/VFx5ZcfrDJqTIqzwdI17KZw +d0+YukMW80bsynh/VdDWh4/RpxKEUuSV43ew2s7fNf+b6frnM4L9ZEdN02rwYwWom5C RV075uCOu4OHOkyRwj28JRSse2BJmZ0KlPMJYAnDTvd+gp+hG1fGZMLDhkK1SLTSCfht 59fTOtFu5Ud3agvFyTapZS6kYU+WzUHsThfJDrZJrb5eTPEi80p6SN/BOJNnUKsMr+f6 yZ9g== 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=b86zwD/RK9kxU2+TCfWxOlljwFHF4iFw0BXPB+Zh+So=; b=6UrseUUPAdgtOLlrZfHo5p+pNYGrnJgwyVq/U0EjohWv6XwwmB+XEsd/YgG126O+/Q lxDxCucsFXF+2VMWwtsOmX0HRTbKDL4OzfXZ2u+TzDN1QyJR3oL2EWcgquVbzjasCS7l eVISyUqi50ezFZhgH4cCrTjmqBUUZOmBA2yORWFyuyLUmZ9UDut7cfZ8E6GsYtUjcicH oGwKw4oPdQlxr9+W1XghpqMAANdaYuJkjSXxJq0zel9iM8UyLZX5S/CZWCXhW2b0yYLw +MUetMH2XrMM0cKh4zMbLQiDHHQRLH0c56jMAqc0VXUl6YLkb+NdSGR3PVSzDhP1xkR6 qJAg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5309Qdtcdk9v/q7kgUcsnsTAFXMP7E8VIket/yA6rhNOQGP9L6zz srPaPZlGj/g6CRojHcxi1+Q= X-Google-Smtp-Source: ABdhPJxpdVAIu0Irlia4Ps30Snrd9dI1Ycqb5sA/RfFoPvN+QbURaSiqjiDJoNmbBPOKz4E7/OqsuA== X-Received: by 2002:a9d:61da:: with SMTP id h26mr10384523otk.140.1642609622767; Wed, 19 Jan 2022 08:27:02 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:4414:: with SMTP id q20ls691112otv.6.gmail; Wed, 19 Jan 2022 08:27:01 -0800 (PST) X-Received: by 2002:a9d:c07:: with SMTP id 7mr15663772otr.221.1642609621026; Wed, 19 Jan 2022 08:27:01 -0800 (PST) In-Reply-To: <8d3b5815-bc30-4113-9683-11c166866e32n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 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:30004 Archived-At: ------=_Part_2002_1164538823.1642609620451 Content-Type: multipart/alternative; boundary="----=_Part_2003_1993933249.1642609620451" ------=_Part_2003_1993933249.1642609620451 Content-Type: text/plain; charset="UTF-8" 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. ------=_Part_2003_1993933249.1642609620451 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 fra= me. Is this still possible after the change that is cited above?

On Sun= day, September 13, 2020 at 11:04:16 PM UTC+2 thomas....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
Here is so= mething that would be different after the change:

= A md like this:

```
# Foo

=
Foo

## Bar

Bar=
```

The command: `$ pandoc --slide-leve= l=3D2 -t beamer -o test.tex test.md` produces LaTeX where there is text (&#= 39;Foo') outside of a frame. If ignorefametext is removed from the temp= late, doing $ pandoc --slide-level=3D2 -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, 1= 3 September 2020 at 22:26:02 UTC+2 Thomas Hodgson wrote:
Is there a case where it would be e= xpected 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 <thomas....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wri= tes:

> The default.latex template uses the 'ignorenonframetext' f= or Beamer. Is=20
> there a good reason for this? If that was removed from the templat= e, there=20
> would be no need to handle making titles differently for beamer an= d other=20
> formats, i.e., it could be done with `\maketitle` in both cases. I= think=20
> that that's better when using themes that treat a title slide = differently=20
> from ordinary slides (such as Metropolis).
>
> --=20
> 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...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/6936= 1063-4c69-4403-85c7-31d943d138fdn%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/81339d69-ff5e-4f9e-8ee5-1d7ba12a9d7dn%40googlegroups.= com.
------=_Part_2003_1993933249.1642609620451-- ------=_Part_2002_1164538823.1642609620451--