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 +Cc1Ha+duGO32QAAbAwnHQ (envelope-from ) for ; Fri, 06 Jan 2023 23:16:15 +0100 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 uClNHK+duGPlUQAA9RJhRA (envelope-from ) for ; Fri, 06 Jan 2023 23:16:15 +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 0ADA21D5DC for ; Fri, 6 Jan 2023 23:16:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pDuzw-0000FC-HX; Fri, 06 Jan 2023 17:15:36 -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 1pDuzt-0000BH-GH for emacs-orgmode@gnu.org; Fri, 06 Jan 2023 17:15:33 -0500 Received: from smtpout01-ext2.partage.renater.fr ([194.254.240.33]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pDuzq-0004N0-Tr for emacs-orgmode@gnu.org; Fri, 06 Jan 2023 17:15:32 -0500 Received: from zmtaauth01.partage.renater.fr (zmtaauth01.partage.renater.fr [194.254.240.25]) by smtpout10.partage.renater.fr (Postfix) with ESMTP id 95DF963A4B; Fri, 6 Jan 2023 23:15:21 +0100 (CET) Received: from zmtaauth01.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth01.partage.renater.fr (Postfix) with ESMTPS id 8E1D1140057; Fri, 6 Jan 2023 23:15:21 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zmtaauth01.partage.renater.fr (Postfix) with ESMTP id 7AA6D140012; Fri, 6 Jan 2023 23:15:21 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth01.partage.renater.fr 7AA6D140012 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unistra.fr; s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3; t=1673043321; bh=GpWhYOSdxmLMoteTboTvXLcIOvvTQ/mytvNstbO4iW4=; h=MIME-Version:Message-ID:Date:From:To; b=DuU+tONvvVXEcnPWBkDK75Dsr1jBjfzzwwGUFRyPtkr3V34blRHBg+hQcy3FVxri4 aRTLKzQa9JC/JnT6IaS4zJ1gSSL2EIisADKAhCliChMD1oRbF1fZ8zlZ7QLJVeC7w3 IuKM/dEzL0+HdCbpPFscWY+Mv89NYZQRfOq2b3+1lOINQQL7ipEA8e9FX+tcZpTuDb HMF9Jps+zFsgFu5PgKkw7rAAh8WjA8fEeaUnBVH2zH1pbj2QZ/0YZep/21XeLh5fOc qvCQR2FSrVxmhQ/9x0jpoA9n3ONT7D1iNmU4t9oTIfSSTGyqtsPFGueYoMhyu3aK5d 2dTNoZNnCoHtw== Received: from zmtaauth01.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth01.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 8Z5CXsIkYWEN; Fri, 6 Jan 2023 23:15:21 +0100 (CET) Received: from 90.56.7.123 (unknown [194.254.241.250]) by zmtaauth01.partage.renater.fr (Postfix) with ESMTPA id C6A27140057; Fri, 6 Jan 2023 23:15:20 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <25528.40312.882538.752027@gargle.gargle.HOWL> Date: Fri, 6 Jan 2023 23:15:20 +0100 From: Alain.Cochard@unistra.fr To: Leo Butler Cc: Org Mode Mailing List Subject: Re: setting export_file_name during export In-Reply-To: <87bknbs5qn.fsf@t14.reltub.ca> References: <87bknbs5qn.fsf@t14.reltub.ca> X-Mailer: VM 8.2.0b under 27.2 (x86_64-redhat-linux-gnu) X-Virus-Scanned: clamav-milter 0.103.6 at clamav02 X-Virus-Status: Clean X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: -100 X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedvhedrkedtgdduheekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecutffgpfetvffgtfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepgggtgffkfffhvfevufgjfhforhesthhqredtredtudenucfhrhhomheptehlrghinhdrvehotghhrghrugesuhhnihhsthhrrgdrfhhrnecuggftrfgrthhtvghrnheptdevffdtuefhieefveegjefhffffffdtuddvgeefuddugffhtefgueffvdfhffegnecukfhppeduleegrddvheegrddvgedurddvhedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudelgedrvdehgedrvdeguddrvdehtddphhgvlhhopeeltddrheeirdejrdduvdefpdhmrghilhhfrhhomheptehlrghinhdrvehotghhrghrugesuhhnihhsthhrrgdrfhhrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepvghmrggtshdqohhrghhmohguvgesghhnuhdrohhrghdprhgtphhtthhopefnvghordeuuhhtlhgvrhesuhhmrghnihhtohgsrgdrtggr Received-SPF: pass client-ip=194.254.240.33; envelope-from=Alain.Cochard@unistra.fr; helo=smtpout01-ext2.partage.renater.fr X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 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, NICE_REPLY_A=-2.939, RCVD_HELO_IP_MISMATCH=2.368, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=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: , Reply-To: alain.cochard@unistra.fr 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673043375; a=rsa-sha256; cv=none; b=OzOEgnJp7YjTchD43bSMkbcIlSHyvqnSFmIrL47MX7de92u3bCRN3ZNMcmAipEmt49MWme Tck4tandp6eMGlX0PwtwOcSM1dfVPh53WlYvC+UqCSTa38kBUxozXriPJrRPpx9u/Jgbj9 lKz9gxlI+xM8tuF+xskKMLce/Db7kdNh2gwCyH4jE90izcgC9z1sSnOxJKOVULlGIOei5b FwWt0dYT57F747U2hfvKpY8oIh4iBAThSgn4N6M7R3B+TOncj1Xcccp7khyTBgDUXIiUGN yzJEkT+fNNRHc+0PhZPpTzv75a6Kn5QbWm9cyd7nHugMmZwNDMKxVUMc1U1JCA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=DuU+tONv; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673043375; h=from:from:sender:sender:reply-to: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=GpWhYOSdxmLMoteTboTvXLcIOvvTQ/mytvNstbO4iW4=; b=lg8dEWJV+eHor26k/sS4aI7hKYKjYAdkbI7vGVRxSZT69vNIMcATdBXoXqBuXb99cnfpME +bOTcnA1G+irVpPm1gimUKXiyH8B7ugx6qlKQbK6NYx5/q7UgDwB5SJv2Ho7zPS7eGs6Rg r8ppfcoLDD7cte9YbU+cT8l4HGwZHooTI3nEOIBuyfKmsuRkRG9js2AEx38yHfrEyuGKSM w/NPgKir4OT5mdD9uJzyOdj10FYYjiqSfgjvPagUSmkLvgfEqh9ZZ0VjDZ82xlVvGmOOEO 0KLFb/NxEOznq9RLvLFHs0aqJZ9SQvqn1ZPvwN8WsdexCvF2jR+ER04hIt2zUQ== X-Spam-Score: -11.64 X-Migadu-Queue-Id: 0ADA21D5DC Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=DuU+tONv; 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"; dmarc=none X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -11.64 X-TUID: LOzG/WTWApnt Leo Butler writes on Fri 6 Jan 2023 21:38: > Hello, >=20 > I am trying something new this semester: all my lecture notes are > organized into a single org file. A minor problem: I want to export = each > lecture (see below) as a separate pdf file. I would like to know if > anyone has ``solved'' this problem or has a suggestion on how to do = it. >=20 > Ideally, I would like to have a single function that retains only th= e > current subtree that contains point, sets EXPORT=5FFILE=5FNAME based= on the > top heading, and exports it as a complete beamer pdf. Hi. Sorry if you already know this and want something more automated it is not too clear to me. (What is not clear either is why you have '* Lecture 1' =5Fand=5F '** Lecture 1', etc., i.e., why not just '* Lecture 1'.) So: if you insert=20 :PROPERTIES: :EXPORT=5FFILE=5FNAME: lecture-1.pdf :END: right after '** Lecture 1' and, with the point inside that subtree, do: C-c C-e C-s l O it seems to me it does the job. > #+AUTHOR: Leo Butler > #+TITLE: Lectures in Math > #+OPTIONS: H:2 toc:t num:t > #+LATEX=5FCLASS: beamer > #+LATEX=5FCLASS=5FOPTIONS: [presentation] > #+STARTUP: beamer > #+EXPORT=5FFILE=5FNAME: lectures >=20 > * Lecture 1 > ** Lecture 1 > In the beginning...This subtree should be exported to =3Dlecture-1.p= df=3D. > * Lecture 2 > ** Lecture 2 > Next...This subtree should be exported to =3Dlecture-2.pdf=3D. --=20 EOST (=C9cole et Observatoire des Sciences de la Terre)=20 ITE (Institut Terre & Environnement) | alain.cochard@unistra.fr 5 rue Ren=E9 Descartes [bureau 110] | Phone: +33 (0)3 68 85 50 44=20= F-67084 Strasbourg Cedex, France | [ slot available for rent ]