From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 4JvRKpyyu2XX6wAAe85BDQ:P1 (envelope-from ) for ; Thu, 01 Feb 2024 16:02:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 4JvRKpyyu2XX6wAAe85BDQ (envelope-from ) for ; Thu, 01 Feb 2024 16:02:52 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=QoY0YXij; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706799772; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=UgDzL1qNag1Hdza3QOEBrrzvL5bFzUVUU/IFjt1b430=; b=iqWhdJmklaapMZBReAer7b5kYcoKh4ryyl/EgLzCKWyvu/J5Rc+d44DegbpoSP2ZFsc8hR Mjb8Zbr+Y9kBbHL0QMjfheG1zh6fqrj4Rczt8go+D9iyD4sJoVP4ZshyIj6QY95/xD5NMB YsoIy8oRYWITzU+9TUmZo/3LONwhU65vxyiZqHPeag03WWzkYIo3ezAZfyhbt1rjYi81X5 gUrETxAGXdZxcIrNuRmdpa+FEGddSe9pidP7nacJO6/uyGrmwvLSK2AkI7KX8sX51x1z8J 0GqdZe/Wi1A4CCSgsC2Z/uUMSfC+Y1WUlmxidGY+mBI7TPxr+VDlfdCxhKZySw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=QoY0YXij; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706799772; a=rsa-sha256; cv=none; b=qyu6/iSiVd/+h5hv7MMTDA7Dm5OvMoT0BPvYn+aVMQKBvvlLKarXDdlmMmaCfsVuV8mI2B LrLSLIIZKo/rEYbQq9E/11USB+/MEpEJKN7tgq1grPonoFYCXu1SQHjuNoij0TdEiGd8ss B1Ha6A86ueu+GunKuAhlaJm5SboUjbtoKIO5BZyzMp5io8g4dIqb0XApWlYOh3i2zk8EFz FlDb5UCpm7SfHqPlCUk81v2pBRaAZId/SUEH+7M4HLsesa0M83N10gQgGsPimU7B0oPjFe oMYHqCForSYC2xaGSYjbEFz/7H+eh+0iDAuRsSLGyGJirXTWTpqMilyJdJCZOA== 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 8409A1E230 for ; Thu, 1 Feb 2024 16:02:52 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVYZY-0004Hy-Cp; Thu, 01 Feb 2024 10:01:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rVYZ9-00044w-Eo for emacs-orgmode@gnu.org; Thu, 01 Feb 2024 10:01:24 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rVYZ6-0002Ev-Hg for emacs-orgmode@gnu.org; Thu, 01 Feb 2024 10:01:23 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 72F64240105 for ; Thu, 1 Feb 2024 16:01:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1706799678; bh=8rSJ8cBBzhq3J5sgX2UNj9vm8DF624u704E6wBUzUKA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=QoY0YXij0oi+G8EQs1SObqCZ0krJc9A6Mbx9xpCtayGF3pEdImA4ibzATDVXmEbUm 80xxfCYBbOVO+lUxYofp1ZCP5chGebsbq2BVWc/DM/YOvjpRDipGprxkzGC/4xZ5Vx xGWGQjr1SQ/8Js9mKvXspaRkAnUFGEeJ50LHumXs6BgI93+fHXHBwxFxbo5QVePyBi Ab7Jo+7bQ1C82+DgCMq0kVucFkMoc+KJvRSNnKjzKhzA5z5BvJdzVkPCePyZSJPn2X HFQ4viBxR0xuId2FhxZIfjZoGyX6o5BkNwoy3Mu9+PigYJMPjH2FbMz6/0C/1Dsdlb mzBw8kleXl2Vg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TQhtj455Sz6tyr; Thu, 1 Feb 2024 16:01:17 +0100 (CET) From: Ihor Radchenko To: Leo Butler Cc: Ihor Radchenko , Daniel Fleischer , Org Mode Mailing List Subject: Re: [BUG] beamer export In-Reply-To: <87v87bstyl.fsf@t14.reltub.ca> References: <871qrvjn9d.fsf@t14.reltub.ca> <877d1maogi.fsf@localhost> <87il3o5a0q.fsf@localhost> <87zfwwrnpt.fsf@t14.reltub.ca> <87le8eg1hs.fsf@localhost> <871qa5qtl0.fsf@t14.reltub.ca> <87cytofhdd.fsf@localhost> <87wmrvlsso.fsf@t14.reltub.ca> <87v87bstyl.fsf@t14.reltub.ca> Date: Thu, 01 Feb 2024 15:04:48 +0000 Message-ID: <87il38i5tb.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.64 X-Spam-Score: -7.64 X-Migadu-Queue-Id: 8409A1E230 X-Migadu-Scanner: mx12.migadu.com X-TUID: cVS0lB/W+Rja Leo Butler writes: > The docstring of `org-latex-classes' says: > > The HEADER-STRING is the header that will be inserted into the > LaTeX file. It should contain the \documentclass macro, and > anything else that is needed for this setup. > > From that, I figured that would be the correct place to put that > \newenvironment command. I have moved it, as requested. Yes, but org-latex-classes is a custom option. If user accidentally deletes the \newenvironment command, things will not compile. We generally prefer to keep things that we expect to remain constant out of customizations. > Replying to self: Attached is a patch that adds a property, > BEAMER_FRAME, that lets the frame environment name be set on a > frame-by-frame basis. In addition, it typesets any fragile frame in the > `orgframe' environment. I am not sure if the latter is really needed, > given the former. Thanks! > Comments? I am not a big fan of introducing a new BEAMER_FRAME option. We already have BEAMER_ENV. However, BEAMER_ENV is somewhat tricky for frame headings - ox-beamer allows special values of frame and fullframe (the latter is not fully documented) to allow frames nesting different from `org-beamer-frame-level'. What about not adding BEAMER_FRAME, but instead adding org-lint checker that will detect when frame text contains the problematic \end{orgframe}? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at