public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Paul Gesting <folofjc-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: ignorenonframetext in default.latex
Date: Thu, 20 Jan 2022 21:40:00 -0800 (PST)	[thread overview]
Message-ID: <4a30c413-8ce3-4269-afb9-848f328b8a2dn@googlegroups.com> (raw)
In-Reply-To: <34cc5349-a24d-494f-8abe-cd7cbf2994f0n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 7529 bytes --]

Hi John,

Thanks so much for the quick fix, I really appreciate it! 

On Thursday, January 20, 2022 at 6:40:39 AM UTC+1 Paul Gesting wrote:

> Hi John,
>
> I am using 2.11.2 on Ubuntu 20.04 LTS and it adds it, as you saw. I 
> created two issues: One for the feature request 
> <https://github.com/jgm/pandoc/issues/7857> and one for the documentation 
> <https://github.com/jgm/pandoc/issues/7856>.
>
> Thanks again for all your help and for how incredibly useful pandoc is!
>
> On Wednesday, January 19, 2022 at 8:54:00 PM UTC+1 John MacFarlane wrote:
>
>>
>> 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 <j...-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> writes:
>>
>> > It didn't add a frame for me when I tried it...
>> > Are you using an up-to-date pandoc?
>> >
>> > Paul Gesting <fol...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 <fol...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 <thomas....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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-discus...-/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
>> .
>>
>

-- 
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/4a30c413-8ce3-4269-afb9-848f328b8a2dn%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 13426 bytes --]

  parent reply	other threads:[~2022-01-21  5:40 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-13 18:36 Thomas Hodgson
     [not found] ` <69361063-4c69-4403-85c7-31d943d138fdn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-09-13 19:23   ` John MacFarlane
     [not found]     ` <m2mu1th46i.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-09-13 20:26       ` Thomas Hodgson
     [not found]         ` <2a37b9d4-8b50-4764-950b-d97f2701f8f4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-09-13 21:04           ` Thomas Hodgson
     [not found]             ` <8d3b5815-bc30-4113-9683-11c166866e32n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-09-13 21:36               ` John MacFarlane
     [not found]                 ` <m28sddgy0t.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-09-13 22:42                   ` Thomas Hodgson
2022-01-19 16:27               ` Paul Gesting
     [not found]                 ` <81339d69-ff5e-4f9e-8ee5-1d7ba12a9d7dn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-01-19 17:55                   ` John MacFarlane
     [not found]                     ` <m2v8yftxtc.fsf-jF64zX8BO0+FqBokazbCQ6OPv3vYUT2dxr7GGTnW70NeoWH0uzbU5w@public.gmane.org>
2022-01-19 19:26                       ` Paul Gesting
     [not found]                         ` <5bfb6c9d-5237-4849-8dd8-26b6a81f7af9n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-01-19 19:49                           ` John MacFarlane
     [not found]                             ` <yh480kiluf5wvb.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2022-01-19 19:53                               ` John MacFarlane
     [not found]                                 ` <yh480kfspj5wov.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2022-01-20  5:40                                   ` Paul Gesting
     [not found]                                     ` <34cc5349-a24d-494f-8abe-cd7cbf2994f0n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-01-21  5:40                                       ` Paul Gesting [this message]
     [not found]                                         ` <4a30c413-8ce3-4269-afb9-848f328b8a2dn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-07-07 14:14                                           ` Stephan Boltzmann
2022-01-19 19:41                       ` Paul Gesting

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4a30c413-8ce3-4269-afb9-848f328b8a2dn@googlegroups.com \
    --to=folofjc-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).