From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id KNnTOQZZIGfbOgEA62LTzQ:P1 (envelope-from ) for ; Tue, 29 Oct 2024 03:39:51 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id KNnTOQZZIGfbOgEA62LTzQ (envelope-from ) for ; Tue, 29 Oct 2024 04:39:51 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=c0PGsW5E; dmarc=pass (policy=none) header.from=outlook.com; arc=pass ("microsoft.com:s=arcselector10001:i=1"); 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=2; s=key1; d=yhetil.org; t=1730173190; a=rsa-sha256; cv=pass; b=Z5NQi7PIUt20sWfnYb2h3t42Pj3BAAGhDpSBJw6ZdxS6dCdjYxUlX4/jmzVcqlVUg90pRp 3gPAA2lY2ocP38WeL8/8zwhHZVACkQHAkSGiNMffmwwyCKh0hCLQmFlSZ6P1vhaokWfZqD ZS6T+5n/crs0LeYz/KELSppJ+Vc98FaCzgGTrI9IJrVKDuSRMvoA0j5jq0clcnA5LiOFhn QncLxYKe7QcyOgcjgnH/Y26nRKdpW7S3GS862ZO+T7P2JJ9Eqv7z5TR5fD2jY8xRQjWX45 5h6oX40x3fqvr+XWf8cSqzy0o8gLyTA6/uv8xxmT9JbghyUMOxqMunx+mrnObg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=c0PGsW5E; dmarc=pass (policy=none) header.from=outlook.com; arc=pass ("microsoft.com:s=arcselector10001:i=1"); 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730173190; 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=qY+Pe4AwNfG9FWI4ZmPpD1EgqfAGmX8xbJk7ZJv/YOU=; b=ikQOwQ/iuhFexU+DeBTf1eqmxcaWGfy+QwhANJgpY6PMy+fwiJJl33I6bjyBVwUyNnwV26 e76cH9uC8IFyW/s/psSPw9coWZYhPdmNWqvlpqk0LPdIT3J9WaJUKBAT+s+HGoICsb07Sc gdPMvRdubY+KcsypK8k3rAAKxAieRAaxu8O12IpfIMJ5NB/jhcw0eLrDNijp+LD5LH7Nud QtoQHK/gq0C2U96nliI+SPBXHuXR3VGpafv2TCMNoWEAO7sVaQnmvjxhrEolt6dtldjSM4 CBS0WEHLOyM5Uff+hudl24kpaPjdanqSl8tZHZGhULAwG2XGPhud8O9uBTA9mA== 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 57D1F1F14F for ; Tue, 29 Oct 2024 04:39:50 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5d4P-0003TD-9R; Mon, 28 Oct 2024 23:39:01 -0400 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 1t5d4O-0003T4-B5 for emacs-orgmode@gnu.org; Mon, 28 Oct 2024 23:39:00 -0400 Received: from mail-mw2nam10olkn2107.outbound.protection.outlook.com ([40.92.42.107] helo=NAM10-MW2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t5d4M-0001IQ-Dk for emacs-orgmode@gnu.org; Mon, 28 Oct 2024 23:39:00 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=oca36/BaydmlXxQswBU0z4gQNl3aJlF+ZbvmZ6CIbuNZjaMUxWJBJQOkQt+dRgO2QoJhei2ygTvDve88TLZXOqO05ah+1XTpwWnE8wO6116RDlky3PyvN4fxjATNrG2i2vt6bIkufNuMUIuI6ABf2n2nQwF33P36Zn1/UsiAv26P8Lb0XalFmsNErPdu6V9qvrlemblrVSXjC3WX7OwMtrItZwM7lQHn7P5CcT0ASdABS22DvawEPR5kzIQsNk6I0HQHTFMMSHbULtxZ3I1n5wPM314UNC+mrC1terF00AQlBixCMeTARy4w35iSMgrdoImDQOsqgBILM27darzojw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=qY+Pe4AwNfG9FWI4ZmPpD1EgqfAGmX8xbJk7ZJv/YOU=; b=N/Vsuqh+cEx7uUTg8YJgxxJAvI3aePaTKEt0XK+ZmkanizoSAafocjCphMu2DFSk1BLUJFGlmym1oczWUUcP8TSliOxLtJYbXJhVTxkb5qC/DWdTA200E7gCfDjLm7XOu7N1xcDoC1fTT24bRG2BDpzKbm3KWUyX50BsDZxIDuCxmgv9fUnbc6UXTzp087NbATpBUbFEHLnuJkDMEbuc2NhqvBV+J4+dgXPc5YH0hmNeWP5FDPGXA9nDci4zLyz+ZPB1k5JUeQ7p0o8r+YqPPOly2vg+DJKxm8SfD62V7Wo7/BOmvYeSc07UUItavuo+tdLj943+geUruRsWZ/nSvg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qY+Pe4AwNfG9FWI4ZmPpD1EgqfAGmX8xbJk7ZJv/YOU=; b=c0PGsW5EXDmAARvXO57VutmkttEAbqONv7liusLyWWeVLGff8Rd4Bv2AMmikgnHldc0y0OMyHEszRXioToslmkF9YlgqRe6CO83bH/5//pswbUdosBzsCFqsvlE3LKZNCbII46gFb01TXU2LOR+s+RBtd1FeHkOLbDUqefU3jEVtUAAVFvWoWWSglfDaCXa4JrRG/Az5fP/Z0ZU+8N5XOkb9E040siZs7xrapkJ4PleCNE7LjBOq1Lgo6gHHBVlOFob0hqm7VCAPFViKP3bjjdZAy6T1Jkdrs16NzKofhdEF5LtX33Lldp1WK3Jmp3WOvGBZZdl8oIBNG0mRo1YrMQ== Received: from LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM (2603:10b6:408:1be::16) by PH7P223MB0690.NAMP223.PROD.OUTLOOK.COM (2603:10b6:510:1b4::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.29; Tue, 29 Oct 2024 03:38:53 +0000 Received: from LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM ([fe80::ec63:e3ac:48b2:8c01]) by LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM ([fe80::ec63:e3ac:48b2:8c01%7]) with mapi id 15.20.8093.027; Tue, 29 Oct 2024 03:38:53 +0000 Message-ID: Date: Mon, 28 Oct 2024 20:38:48 -0700 User-Agent: Betterbird (Linux) Subject: Re: Orgmode and Beamer To: Leo Butler Cc: "emacs-orgmode@gnu.org" References: <87v7xbacjr.fsf@t14.reltub.ca> Content-Language: en-US From: David Masterson In-Reply-To: <87v7xbacjr.fsf@t14.reltub.ca> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: PH0PR07CA0055.namprd07.prod.outlook.com (2603:10b6:510:e::30) To LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM (2603:10b6:408:1be::16) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV8P223MB0920:EE_|PH7P223MB0690:EE_ X-MS-Office365-Filtering-Correlation-Id: 164b73bc-caf4-4cfb-896b-08dcf7cb3484 X-Microsoft-Antispam: BCL:0; ARA:14566002|8060799006|15080799006|7092599003|19110799003|461199028|5072599009|6090799003|440099028|3412199025; X-Microsoft-Antispam-Message-Info: dvMz4YNcx5NM7jv/cQmq6enLnY60T/86t8nYEZ4l1NHPIkIeKgrefOtPJbiz+R/3rJy45afeB+kCvP2kVirKEeq27RgNKG/duQt8Cyp2wLKgYC/7cOopiQi1byqpY1HW8+WhZNjlEGbItZrvI+LaO0dkW81aFNHc8GizRn0hi6WPmhYRmjQmz9pHrXkXNMXKROm0TWAScJ1RIh18XWNePGI4PH+SBiimb13Ye9wEwdVkceRFZlv8WzZZ01DwMkiFk389a2NwwKkUnrheKB73L7eMg6xX7z11BDgYGqJmLUKVAk6JthVbY+9Y9eKcWLOxYf2u4K3D62mSPF4esgjW2c2pqLhXSq8LkxHsI2VPg4WvO60bY3InJtObc/n6AFDHcvxaNI/6gKjMsT5V3nxq6V3sT8KoWAKUn1KyqlUff971xhDr4IzLpp7DskuV7Ad2VZetd4wctd9YGyBEZvQO/Dh/bfUG2E1yvJMahqpTAhYm66jws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sbDdhckszRmZW?= =?utf-8?B?NUsya2hNMkJwS3RJbzFta0J5RWU4UHFpb3hJT2wxQWlQUmJBUEFpb3NydFRT?= =?utf-8?B?bUxLMDJFUU1LM2dYWTdpeG5xZ2RZUnh6a3JGb0w3V1pnWlcyanZXa2VZSHdl?= =?utf-8?B?alFiQWhCeThUaTRHcjVpWXdYVkcrUk5mQW9UalQ4bnFjcGEvcFRRR0E5aC9a?= =?utf-8?B?S1hLcU5OOHk2SDZZUGtybEhoN0tYMnkrejV5OVN0enBNUjRkTXBMazZDQ2Qw?= =?utf-8?Q?s+85g31Fkn4SQl5jBL1zLbeaBrMcMoQi1u+zcgJ?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 164b73bc-caf4-4cfb-896b-08dcf7cb3484 X-MS-Exchange-CrossTenant-AuthSource: LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2024 03:38:51.5505 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7P223MB0690 Received-SPF: pass client-ip=40.92.42.107; envelope-from=dsmasterson92630@outlook.com; helo=NAM10-MW2-obe.outbound.protection.outlook.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, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.15 X-Spam-Score: -5.15 X-Migadu-Queue-Id: 57D1F1F14F X-Migadu-Scanner: mx10.migadu.com X-TUID: DC6L0pNNR+Lt Thanks.  That's what I was looking for.  Didn't previously understand the use of the :*only: tags. On 10/28/24 19:05, Leo Butler wrote: > On Mon, Oct 28 2024, David Masterson wrote: > >> Does anyone have a recommendation on how to structure an Org document >> such that it can be exported to either Latex or Beamer? Suppose you >> have a (small) thesis that you are writing and you want to generate >> Beamer slides of a high-level view of the document, but also generate >> a PDF for the whole document.   I suppose you could break it into two >> files, but then you'd have to copy (certain) changes from file to >> file.  I was wondering if it could be done with one file such that >> updates to the master document are simultaneously reflected in the >> Beamer slides.  Is this going to involve liberal use of >> #+BEGIN...#+END blocks? >> >> David Masterson >> >> > I think I would add the tags > > #+TAGS: beameronly latexonly noexport > > and then define an elisp function that changes beameronly tags to > noexport when the export backend is latex and similar for latexonly. > Add that function to the `org-export-before-processing-functions' so it > gets executed before export begins. > > Attached is an example. > > Note that you likely would need to fiddle with conditionally loading > packages, depending on the export backend. > > Best regards, > Leo >