From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23309 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Pandoc #4317 side effect Date: Tue, 27 Aug 2019 09:22:59 -0700 Message-ID: References: <6a083675-a292-4bad-9ff4-8d834c477239@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="104959"; mail-complaints-to="usenet@blaine.gmane.org" To: Thomas Chevrier , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBB4FRSXVQKGQE3GMPL6Q-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Aug 27 18:23:14 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-vs1-f64.google.com ([209.85.217.64]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1i2eFW-000R6M-Ea for gtp-pandoc-discuss@m.gmane.org; Tue, 27 Aug 2019 18:23:14 +0200 Original-Received: by mail-vs1-f64.google.com with SMTP id n2sf5047626vsq.14 for ; Tue, 27 Aug 2019 09:23:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1566922993; cv=pass; d=google.com; s=arc-20160816; b=aC1Yjz4Jun8IoMfPx3v7m5pUdt4ovrem68l5KORYju86tHujwdbn7mSsxowSZ/7wDJ WmmJHBCRWiow9q9955kgoOEXCrWb8pIuf1FS4LVoz8Em3r+LvZabapvfjY12AVF3pimz KbLcQdV/BjkAvSlSfNSfwtNy24Yf3flF3y0P2y60GS9uLb6YfpoXvUudRegI1HXxmwaF +xJ1mLeSUmBH5SWFwLjLA4NXH4iO9rq5ah07oV4hkEcfnrZYe4OAXG3x+0aQwBRFClVh 50PdcHAVkW8EBvkHhLq+iqHNXE3+sz4NRhZmjxBypxbEQJTXUmUM0kDO8bAsDPQFW6CX DFTw== 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=3JdOuMtbmAmxqBCF8Ajw+gGzXRsUjLLKmZwarK6iiRg=; b=ZtLoMbB8R8mjre6YokgJ25CZVuItFrOC4KRXjg5HmWYkuelolfFtd+BXy+KOfyOBbd YunG+CCVFh8m6np5vwN+WZolxOG86dv0OY/xgrWBrPfDKfRruLladgRCYCj4gzatYFXC TwXuHL6ZXGq0KEecXeYT+BazGZNmKTopOb+2B3dJjhNKJPb5fYojX1HyOdcAJdncjAnq jd2vn9XLk66+FMXVRux5TddspphIyWUPy6xeBPcNcWnEfkmO2lELDpCgmQTxkwnBjsRL wJQIZ5aTtjRfRzzvo6/RRVSusUCo6uh2x2RH/AJ1TRq8mW8J4KPb8F0CSOx/f6w6Hkna VG5g== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=oKBz+lLf; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52c 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=3JdOuMtbmAmxqBCF8Ajw+gGzXRsUjLLKmZwarK6iiRg=; b=IIdo3eKdWi1nln/0lEyFlPSgi++kR1aIc/zQypDWR8rBlTGDm8RlZYbVoTgjF6tfds H0v6mOGLk3yZCl+QdOHg+In9YKjO9QKzcF7cnXhPGTANH2xCxdtPHrNv1zle0FXryd62 jns5+dsBnZYUD2/Q16dgESQoHNMfcJ88roHqYXFI9t3ISInfomMvEqwMAz53mSA0mbda 29FAOtW1pzTU1xTUOzn1A4dSdD2OSkvdkQVtBP5FuRD9CtR4JcoatGE2Ni8oYLB3O3er Hh/Xr0mhv3ElnssIGFYPNjq3ym08HeDKaGcaeP04QSXsVRWnMM9P+ITBeD0n3rLq02Lt 5e2A== 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=3JdOuMtbmAmxqBCF8Ajw+gGzXRsUjLLKmZwarK6iiRg=; b=irq6wbYbawqkiOFTGaD2zMVb6NU+sGJEo2m69FZDQKz4L+jGOo+nvZafKSR0kIW15o aXO3CovDjg0DEzSZAgVhAXDRFomLq/m7e7dIcNJOyK/iPljFn7fnHcHHnckEFjvNcO/2 U07holWSRVUPF7fYlNjrznX4QZeSOyIR71UW9fsMJ+mhClXbuZvqpmfJt5CUHR6XN/jd uyZ8gUkd8BbLO9X4INKm28ietAfs0i1ZhRXk9s7Fx1J8lmi/bJ5zrhoaJVFMKYXxxRKx QkNoFxGa2M86kVOYpOVWFGhds07mOCN9u7nSDV1c7iN/b52SqGrD8y24PUHlI4xXaFo9 EFdA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAXU7gmLCAabRb9aRbyfFHHsCV1xJXDPwPDkAiMqXNOlqHF2ML3y OuDmXjsNLRRGCBVJxpeSIP4= X-Google-Smtp-Source: APXvYqzHznt9BpyxIEy9pJO8sta2z9eZlIPSGxO5xSmdKmy5GHhe670jqEPpcnfn3AiuZDzvrOH40Q== X-Received: by 2002:a67:cfc2:: with SMTP id h2mr14338145vsm.30.1566922993110; Tue, 27 Aug 2019 09:23:13 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ab0:81:: with SMTP id 1ls1132955uaj.4.gmail; Tue, 27 Aug 2019 09:23:11 -0700 (PDT) X-Received: by 2002:ab0:210f:: with SMTP id d15mr1287888ual.129.1566922991740; Tue, 27 Aug 2019 09:23:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566922991; cv=none; d=google.com; s=arc-20160816; b=JclyyBZraC2VvniUNRe4T3i9p1EBiMK3/E8CTS4ip9S9TDUSPYHwg/28Q6HAvqpjCd QtkISLagrPpNx0j/lNFlpJ+cB/DaJLU/TQQ1mZ2v1OWxdh33yp/Y8imRcATkH43MyHKD 1lLL+Iu/lv5lS2pgXSrfB37UOLnr9AmdExBIEfGSwHWyTtSAxf6gkjtcAa1PqCc56KVE O/v1bGRZPWk1OcnOQRGPstVj0F1E7JbZvsNv8sWGK9V04V6OKs99VzJdvHw/gt4U2J7H sD7r3Q0gPQaZfy3bA/f2Jn6MWmGLBIyf6dr80bKCELv3B0CUZiR8ar9jx2PHOY0eWgDU Bryg== 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=YFJwSkWT6+cXBXXbg+ELJ08YYkcybvm1wfMkwAcPIEs=; b=PhpHy00hZjI+GyHYVrp2fWAYttQ3bcqprMTBx3pvne44ihs+DSN9JcHllK4g4kT6R7 yojYve9Pti9KTBe2OoZJOgD2Zoay38+MBuwJcFu/3/nOIioDIJmuqUsHaFOLvM7gERLj xt0tIfnR0XR89RwyLFaBP/kH8d4uDWPqMA2J2olmS0xnG2fwuGcWwRUtzIxNDngjMh+5 pXQS2z1AfzP9u3zm8l3PHkJr2rG5Be5Kw/QHVjgNFWxzXBhXpj3/fyW59v1owL8FHTBo C4RTidWZEB2RrgGS3NbORDGT4/cqy5rH/Ive/csqiLNv9E5zYeH8LhaTTgA7MWkKTPJQ rYjg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=oKBz+lLf; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52c as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com. [2607:f8b0:4864:20::52c]) by gmr-mx.google.com with ESMTPS id w19si972250vkm.3.2019.08.27.09.23.11 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Aug 2019 09:23:11 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52c as permitted sender) client-ip=2607:f8b0:4864:20::52c; Original-Received: by mail-pg1-x52c.google.com with SMTP id x15so12972962pgg.8 for ; Tue, 27 Aug 2019 09:23:11 -0700 (PDT) X-Received: by 2002:a17:90a:2e86:: with SMTP id r6mr24090943pjd.67.1566922991309; Tue, 27 Aug 2019 09:23:11 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id z25sm8148144pfa.91.2019.08.27.09.23.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Aug 2019 09:23:10 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id CDC9EA18E; Tue, 27 Aug 2019 12:22:59 -0400 (EDT) In-Reply-To: <6a083675-a292-4bad-9ff4-8d834c477239-/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=oKBz+lLf; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52c 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.org gmane.text.pandoc:23309 Archived-At: To summarize the issue here, which concerns a change to slide show formats: Prior to 2.7, versions of pandoc only put material under the "slide level" headings on slides. If you set slide level to 2, then only material under level-2 headings would appear on slides, and text under level-1 headings would not appear at all (though level-1 headings would create "title slides" with just the section title). Reveal.js users consistently complained (#4317, #5237) that this made it hard to structure reveal.js 2D slide shows, in which it is common to have the "top" slide on each column contain both a title and some text. In response, I changed pandoc in 2.7 -- as the changelog says, > Slide show formats behavior change: content under headers less > than slide level is no longer ignored, but included in the title > slide (for HTML slide shows) or in a slide after the title slide > (for beamer). This change makes possible 2D reveal.js slideshows > with content in the top slide on each stack (#4317, #5237). The change to reveal.js has been welcomed by reveal.js users, but the change to beamer is apparently not welcome by everyone. The reason I made the change to both formats is because I want slide shows to work the same no matter what output format you use. (So you can switch from beamer to reveal.js, for example, and the slides will look more or less the same.) I had thought the beamer change was innocuous, since it could be worked around by people who wanted to include content under top-level section headings but not in the slides, e.g. by using a filter to strip out this content. Unfortunately, Thomas Chevrier's use case can't be handled that way. He wants to insert raw tex commands that (a) can't be stripped out but (b) only work if they're outside the 'frame' environment created for a slide. I can't think of any workaround for this. One possible course of action would be to revert the beamer change while keeping the reveal.js change. This would potentially have two bad consequences: 1) slide shows would render differently (in content, not just form) in reveal.js and beamer. 2) this may break slide shows that were constructed using the new behavior since 2.7 was released. A less radical change might be to introduce special Div whose contents get moved outside the slide itself. Anyway, comments welcome.