public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Thomas Hodgson <thomas.hodgson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: ignorenonframetext in default.latex
Date: Sun, 13 Sep 2020 15:42:22 -0700 (PDT)	[thread overview]
Message-ID: <3b55a8cd-2098-4484-871b-4984b76bd9f0n@googlegroups.com> (raw)
In-Reply-To: <m28sddgy0t.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>


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

I'm using 2.5, the one that Ubuntu 20.04 has. Sorry, I should have realised 
that there might be a difference between that and the latest version.

On Sunday, 13 September 2020 at 23:36:19 UTC+2 John MacFarlane wrote:

>
> What version of pandoc are you using?
>
> With recent pandoc, you do get a slide with Foo
> with this input.
>
> Thomas Hodgson <thomas....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 <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/8d3b5815-bc30-4113-9683-11c166866e32n%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/3b55a8cd-2098-4484-871b-4984b76bd9f0n%40googlegroups.com.

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

  parent reply	other threads:[~2020-09-13 22:42 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 [this message]
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
     [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=3b55a8cd-2098-4484-871b-4984b76bd9f0n@googlegroups.com \
    --to=thomas.hodgson-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).