From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gCBjGhfet2LhBgAAbAwnHQ (envelope-from ) for ; Sun, 26 Jun 2022 06:18:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0FRmGhfet2LuaQAA9RJhRA (envelope-from ) for ; Sun, 26 Jun 2022 06:18:31 +0200 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 BE5839991 for ; Sun, 26 Jun 2022 06:18:30 +0200 (CEST) Received: from localhost ([::1]:56182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5JjB-0006H5-9A for larch@yhetil.org; Sun, 26 Jun 2022 00:18:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5JhZ-00060p-9I for emacs-orgmode@gnu.org; Sun, 26 Jun 2022 00:16:50 -0400 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]:52988) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5JhX-00009b-PO for emacs-orgmode@gnu.org; Sun, 26 Jun 2022 00:16:49 -0400 Received: by mail-pj1-x1033.google.com with SMTP id g7so1242523pjj.2 for ; Sat, 25 Jun 2022 21:16:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=WXkgXzR8LrgkabrqBZKvF7oixUH6+6MaLCOwdrLsiZ0=; b=BbFpvgOiY4+52qv3Jhfph3t9KN0BSGBJaq6quA6af8rXzEZFbMYMhmX+DsqiCLFEuM Zm3qvlVKLkI+1m9WUer8LRt9h4vg3c6gM5hQXpRpJpfi9cMPbaN0vsHv5lAKQ7ltZFlI zeCpmUmtCh0fZTPoNbFcF+clqzb/8sq63OnQJqvjkqMm3HXkeB/TjB0H7iOHkbBQ/hCg /wbgcpvYtgLX5Cc1F8kzJMHTrA4g1SjJMaazG+DkYAjdT+nQc1d3p2wVJ/l3NaqEAn2o mTAMke3mcr1WsehxrsUQVej8NL4w51FxKBf/cC9bv80Y6BsESRjqpPQbLQclT2Vi9iJx yZvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=WXkgXzR8LrgkabrqBZKvF7oixUH6+6MaLCOwdrLsiZ0=; b=EfKDw0Y9T5Q9x2zli6ItCZn/hvHvLCa1wVlRSwTarYsnOEvVnYrPuqVum00LalayQc RQxdzmTzO42Ji+GZ0gL1X0TpM6ha8xAED/gs1Wn+FKWIpvQJ1raqPP8+5eND6l4EbGOR 0EGmwywtFiBllu24ZhtBYuYYW9pKQLTv795i3Mj8zEneimZY+Xg3aho5BKQJHCw2iRBO eQwGqmFVG38MLIinOdDFbmSWvpXzHzMX+Zlzl47ZCfIlx7zaWxkuIP6YRtkQMEkfnafA BUwIqjlcT6bpjTFzqfgPpKo0Hn1VbUwsRFAjhEty2MF0hcI12aDLc8f7jPvDBtWwvfp9 zhHg== X-Gm-Message-State: AJIora8sDD/YOGkapICRo8CClUvpaYIJtR+CtCIZ+rife9TEa+S9gy1q +ekY8L8bGibjPYr9GSabmvc= X-Google-Smtp-Source: AGRyM1sPzUhC9KbxO/+DyeiNT95z7kgdodJAPF9Z0IqA+Tos1ggU2SysbcqBjLHpdC7mW1npopQ7xg== X-Received: by 2002:a17:902:f64c:b0:156:7ceb:b579 with SMTP id m12-20020a170902f64c00b001567cebb579mr7536174plg.73.1656217006225; Sat, 25 Jun 2022 21:16:46 -0700 (PDT) Received: from localhost ([104.223.86.8]) by smtp.gmail.com with ESMTPSA id iy11-20020a170903130b00b0016a4a2ea92asm4432937plb.255.2022.06.25.21.16.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jun 2022 21:16:45 -0700 (PDT) From: Ihor Radchenko To: "Fraga, Eric" Cc: Org-mode Subject: Re: Beamer export: Executing LaTeX between two frames In-Reply-To: <878rppniqx.fsf@ucl.ac.uk> References: <87mte6tphc.fsf@guelker.eu> <878rppniqx.fsf@ucl.ac.uk> Date: Sun, 26 Jun 2022 12:17:58 +0800 Message-ID: <878rpk3vnt.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1033.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656217110; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=WXkgXzR8LrgkabrqBZKvF7oixUH6+6MaLCOwdrLsiZ0=; b=l8eQQLqotx/Qa7e4QYpry+IC2dJ7xjGZg2Rj7sabm5wENa3GVaJ6+PwMEuglekRQUwtnzO uuvFVwq6/6hGgVIIjGYavqyBOZjp0FFxFQzlt6kv0zkLM3X7ngBRCwcj6hHnkBNdjEYM80 hFdx8m7/lxfAfoW/Mvijl4eFKidP8dicZJTC+9w+xpnYPMzL36PgoanzNALGT+zPjfUPA0 a/T9uxJarwMHbYVkPgy1YTpKAhPbwaG9CipwugI2B957iSo8qIjnSiXwz/Golbko1Wt3rQ rqLTUh8mhbhRS5lsSxQ1aFCgaPpLqC7d4O1kazVdOQuB+6iz5WRneuqC/z0i4Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656217110; a=rsa-sha256; cv=none; b=AI5qGO/5cdeDdbhNB1Kd9y5mn9+C6porXb8hLhKxEA2DHwbENlkMHN7iP6Dw5w7lniXL/e 28Xygf0lbs57p4FemDJfYZ0QWnSsDUUImwgSz5uDi/W6xWoW+Dv8s7x1/AEEuX3hR/zy9d fpZtczhK3rxAhztKU89d7GZja7llD0w7W2fe3NrUsXwXYNbTSRir07+EBussbuThV7cJIp pDzq9nmEpIrO6hxgoWwdR4RUCBIqpUSEHQsUCYYXpNynoulB2E/d3TokaHc2+OYuAGa5t7 cRDRCGF3Zy5WwhHxjeYdXVM7Iaq/aFmRXxWNWSRUobkSiM07vN9OCfqXKModuQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BbFpvgOi; dmarc=pass (policy=none) header.from=gmail.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: -7.26 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BbFpvgOi; dmarc=pass (policy=none) header.from=gmail.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: BE5839991 X-Spam-Score: -7.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: tIC5Q3BrUw1G "Fraga, Eric" writes: > On Tuesday, 21 Jun 2022 at 10:01, M. =E2=80=98quintus=E2=80=99 G=C3=BClke= r wrote: >> I am working on a presentation for a conference (using org-mode and its >> beamer export) and want to exchange the entire background for a specific >> frame with an image. This is possible with Beamer, see > > This is a bit hacky but see attached file. The trick is to end the > previous frame explicitly, create the frame with the desired background, > and then start explicitly a new frame but which is not shown in > presentation mode. This is too hacky as for my taste. I'd rather use :ignore: tag from ox-extra: * This is frame 1 * This is background wrapper, heading title ignored :ignore: #+begin_export beamer {\usebackgroundtemplate{\includegraphics[width=3D\paperwidth]{kitten.jpg}}% #+end_export * This is frame 2 * This is background ending :ignore: #+begin_export beamer } #+end_export The above exports to \begin{document} \begin{frame}{Outline} \tableofcontents \end{frame} \begin{frame}[label=3D{sec:orgea52eac}]{This is frame 1} \end{frame} {\usebackgroundtemplate{\includegraphics[width=3D\paperwidth]{kitten.jpg}}% \begin{frame}[label=3D{sec:org39b6485}]{This is frame 2} \end{frame} } \end{document} Best, Ihor