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...@gmail.com> 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...-/JYPxA39Uh5TLH3MbocFFw@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...@googlegroups.com.
> 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-/JYPxA39Uh5TLH3MbocFFw@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.