From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MFBPIQ0R/GGenQAAgWs5BA (envelope-from ) for ; Thu, 03 Feb 2022 18:29:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eDEUGg0R/GGhLgAAG6o9tA (envelope-from ) for ; Thu, 03 Feb 2022 18:29:49 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B92D434B91 for ; Thu, 3 Feb 2022 18:29:48 +0100 (CET) Received: from localhost ([::1]:33860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFfvX-0001Is-Rw for larch@yhetil.org; Thu, 03 Feb 2022 12:29:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFfpF-0000y0-6M for emacs-orgmode@gnu.org; Thu, 03 Feb 2022 12:23:18 -0500 Received: from [2a01:c0:2:6:225:90ff:fed2:2b47] (port=42298 helo=mail.oa5.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFfp8-0006e9-PN for emacs-orgmode@gnu.org; Thu, 03 Feb 2022 12:23:16 -0500 Received: from dhcp-10-248-205-17.eduroam.wireless.private.cam.ac.uk (assp.oa5.com [89.187.75.252]) hugo@heagren.com (authenticated bits=0) by mail.oa5.com (8.14.4/8.12.11) with ESMTP id 213HN3h9008168 sender hugo@heagren.com for ; Thu, 3 Feb 2022 17:23:03 GMT DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=heagren.com; h= Message-ID:From:Subject:Date:To:MIME-Version:Content-Type; s= 202202; bh=z6xFxyBSB8lfG1ZY8DqtfrA9/+I=; b=Y+NuxKHyywXdgXcq0QoKs yCVeoa1b+eNUawtDQY6tPx2sfpDP/8Wx3d7hYesHFX9dJSARDf88CYf6SUJn5Pjy S/ZqH9dygReJmhOENkO71eXKokGmwyMFJRP+7O+Kt2OQ4flNxulGcAJNOfj/oycc xXNP+oocifYa1H8NSKIgs4cLNRe53RhhMlzPGxABsPHzksdjEaI9TdckWZNlou/M HzuS+/KSnGg6+CN7BkrprxLxSPrCTlfpsaJ/Cdg+Hvt X-Assp-Version: 2.6.5(21218) on ASSP.OA5.COM X-Assp-ID: ASSP.OA5.COM X-Assp-Session: 7F1B824E0528 (mail 1) X-Assp-Envelope-From: hugo@heagren.com X-Assp-Intended-For: emacs-orgmode@gnu.org X-Assp-Client-SSL: yes Received: from global-5-154.nat-2.net.cam.ac.uk ([131.111.5.154] helo=dhcp-10-248-205-17.eduroam.wireless.private.cam.ac.uk) by ASSP.OA5.COM with SMTPSA(TLSv1_2 ECDHE-RSA-AES128-GCM-SHA256) (2.6.5); 3 Feb 2022 17:23:03 +0000 Message-ID: Subject: [BUG] beamer export -- text inside section, before next headline, has no frame [9.5.2 (9.5.2-ge7ea95 @ /home/hugo/.config/emacs/straight/build/org/)] From: Hugo Heagren To: emacs-orgmode@gnu.org Date: Thu, 03 Feb 2022 17:26:06 +0000 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:c0:2:6:225:90ff:fed2:2b47 (failed) Received-SPF: pass client-ip=2a01:c0:2:6:225:90ff:fed2:2b47; envelope-from=hugo@heagren.com; helo=mail.oa5.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643909388; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=O0EiE6Tjv54Zioh1RvelFYMN5gbR7b3QztHE+Mf2NfI=; b=O+uqa9eZ7jfUBhnZmmvuKwNYoOxe7v2fR1Fc9aUgEYvGRVdPPQJRYSZjC2hW0OZP3pDWxr h1RNw1CQxQjCJFVLV9PjXJhqHuIGxJyuY8cmbf3Dv8MzUtDNWf2oTlkeEa1BvBg1sHNn3V MxbJn48a38pGaeQOsRf4OuO0Hpg+kMiDkG7s9GQ9t0sln7sMfbTXEiMgp0yyzXeVCDdHxo jTxtI3iuVv63sl+JsNtFU1lRqFHui+GJv1zWGDkUKWrc7212InX0ByChZOePRN/VDAw90J VIde/5FBfVvcq93poUABImjJQCD1DgL+h5/5ghnWac5wDA4jGM1brTX+AtMisw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643909389; a=rsa-sha256; cv=none; b=JfhdoyBEv1qkGd7aunGSQZzhf8yAvSIBZTAyKqMwy6XJYz7Z9vVEqrQQa70yQ7tZyO30cx yA/aAy1gU7aRxjQ3y8fTlL2nPQ1CvcGRL3XhWA9KhZeDwW8FiTfdCNdaRJkLsFwa4ifgMR c2VDGuBdRseNm1wGO+IZZejXW1MS/ik7upljYNTHOW9VC4kynCazG39a97JV5H6b1tRf+n 76JQgoiVqpP5gqlAk2OMBjGMbEHgW0BT1xvM/BMRPbYy7FU5VgjDEZQLpijaEP89F9KXTH BputbX8ejKXUvBMi1rnWLLjccv/k1w0Bj7zjH3ssubD2rOz4zYYt0ThUUulBUg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=heagren.com header.s=202202 header.b=Y+NuxKHy; dmarc=pass (policy=quarantine) header.from=heagren.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -6.83 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=heagren.com header.s=202202 header.b=Y+NuxKHy; dmarc=pass (policy=quarantine) header.from=heagren.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B92D434B91 X-Spam-Score: -6.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: rT3ByEpM3W2T Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. --------------------------------------------------------------------- --- I have org-beamer-frame-level set to 2, so when exporting to beamer, top-level headlines become sections, and second-level headlines become frames. I often want to include a short explanation/intro of the section, before moving onto the more specific slide (I have found this is good for complex lectures). So I have something like: ```org * A section This is in the section, but not in the subsection (and is therefore not in a frame, and shows up at the top of the slide). ** A subsection Some text in the subsection. This /is/ in a frame, and so behaves correctly. ``` As the MWE says, the text inside the top-level (section) headline, but before the next (frame) headline, is not wrapped in a frame environment when exported, so it renders strangely (at the top of the slide). I feel like this is an easy fix for someone who understands the exporter code well. I've had a look and it's very complex, but I would be grateful if someone else could try. emacs : GNU Emacs 29.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo version 1.16.0) of 2022-01-15 Package: Org mode version 9.5.2 (9.5.2-ge7ea95 @ /home/hugo/.config/emacs/straight/build/org/) Blue skies, Hugo Appendix. --------- I tested the above MWE with the following minimal init.el and reproduced the bug (well, it's minimal for me, since I'm used to using straight and use-package, and didn't want to learn any other way of installing all this stuff just to check a bug): ```elisp (defvar bootstrap-version) (let ((bootstrap-file (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory)) (bootstrap-version 5)) (unless (file-exists-p bootstrap-file) (with-current-buffer (url-retrieve-synchronously " https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el " 'silent 'inhibit-cookies) (goto-char (point-max)) (eval-print-last-sexp))) (load bootstrap-file nil 'nomessage)) ;; Always integrate straight.el with use-package (setq straight-use-package-by-default t) ;; Actually INSTALL use-package (straight-use-package 'use-package) (use-package org :straight (:includes ox-beamer)) (use-package ox-beamer :after org :config (add-to-list 'org-latex-classes `("beamer" ,(concat "\\documentclass[presentation]{beamer}\n" "[DEFAULT-PACKAGES]" "[PACKAGES]" "[EXTRA]\n") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))) :custom (org-beamer-frame-level 2)) ```