From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 uIoPNVEsK2OQyQAAbAwnHQ (envelope-from ) for ; Wed, 21 Sep 2022 17:22:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KKIVNFEsK2MuyQAAG6o9tA (envelope-from ) for ; Wed, 21 Sep 2022 17:22:57 +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 4A52B2346A for ; Wed, 21 Sep 2022 17:22:57 +0200 (CEST) Received: from localhost ([::1]:48358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ob1Yu-0002Qp-6a for larch@yhetil.org; Wed, 21 Sep 2022 11:22:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ob1Xi-0002PU-Su for emacs-orgmode@gnu.org; Wed, 21 Sep 2022 11:21:45 -0400 Received: from mail-am6eur05on2117.outbound.protection.outlook.com ([40.107.22.117]:21825 helo=EUR05-AM6-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 1ob1Xf-0001KS-CE for emacs-orgmode@gnu.org; Wed, 21 Sep 2022 11:21:41 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZYi/Gke4lGEyBj4kV18ZioOulvHKRFLlz8LNBrQRB1cDHcErPhwLqZlI1VKkYVdAl6eUTMbQ91QDp7+f4prwi3rgxvh00+6TDcV0TfpXHXeflrH8DPc6SnReIqxRtYrR+bZeVCkdqEME926Z9YICe7ROAxutLWFb8rX55S9jqhRyyEY33063f4sP84u+/3lGcvAq1V4JAbPfUhQyAZeFO+duncd8YA8/IzDxBRuQg8vOk2AwmA0aDflZ+tf8kqDZIpiqzFJSODYV6Zn1O06g+9Pc2FrR0cmRzJ8jydH1JATV72ZDBtFObrkCryjSDVleMJ9xk2QKQxUXzCNgxxjZsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=3ENFkFwYW1wWXnUIamEOdY69fsky8Ce5glZxhpkCD5M=; b=EnDCGFF9mjj7y/CBeRt4tC1Gpkh7j6/SWcvKCXdafOYgErGOtd5euC7b4OWRWYajOb/M5OLJgRBzmrxYlJwYjd9ap2Lby9Y1heojn67i4j/d+4WmG2ZsAGR2idt9ef7LUs4ll9S0btVyZGzCA23snmkIHRLwbpxLrcvKUUzu+MP/8dz8ItxoI9bEQE9GiwKfHqO15IfiLkaXQNn5rk0X49v6T8EWHnYaiGZ47UIsIxDJ387zU0ODjjBbCyZ7X6GI68eejfzfGvbGE3pc5etredK9zeNhDBH9QxRC40BXDQj83rQmKU4pcOUMv/qloeyN19tR9TriX9urbUCp5hq0TA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ucl.ac.uk; dmarc=pass action=none header.from=ucl.ac.uk; dkim=pass header.d=ucl.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucl.ac.uk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3ENFkFwYW1wWXnUIamEOdY69fsky8Ce5glZxhpkCD5M=; b=T9xOFcUMIgPMyUJfupYBx7Xb1Q6LCpb+7NdtzC1npGjCyE7qx+IwdVglbSguFa0MrehNtDHyLIwEHQLNIdFh6HUKxSE44HenSK1aeWZSlKnq9fipmleXJ6o7XYg9VuAhMvi1MH2HpiZttSmuA/sZEzzda6mXzxW0ve0vmhMP2Us= Received: from AS4PR01MB10249.eurprd01.prod.exchangelabs.com (2603:10a6:20b:4fa::21) by DBAPR01MB6549.eurprd01.prod.exchangelabs.com (2603:10a6:10:180::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.16; Wed, 21 Sep 2022 15:21:35 +0000 Received: from AS4PR01MB10249.eurprd01.prod.exchangelabs.com ([fe80::3911:aa6a:7db3:6ccc]) by AS4PR01MB10249.eurprd01.prod.exchangelabs.com ([fe80::3911:aa6a:7db3:6ccc%7]) with mapi id 15.20.5654.016; Wed, 21 Sep 2022 15:21:35 +0000 From: "Fraga, Eric" To: Daniel Fleischer CC: Ihor Radchenko , =?iso-8859-1?Q?Juan_Manuel_Mac=EDas?= , orgmode Subject: Re: [Patch] Pre-/postpend arbitrary LaTeX code to a section Thread-Topic: [Patch] Pre-/postpend arbitrary LaTeX code to a section Thread-Index: AQHYy1ppWxuoMNLAokmsO8IWe5upvw== Date: Wed, 21 Sep 2022 15:21:35 +0000 Message-ID: <87r1047ny9.fsf@ucl.ac.uk> References: <87o7vcsw8m.fsf@posteo.net> <87czbqyy5i.fsf@localhost> <87sfkmdkxa.fsf@posteo.net> <878rmdxg17.fsf@localhost> In-Reply-To: (Daniel Fleischer's message of "Wed, 21 Sep 2022 16:55:20 +0300") Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) x-url: http://www.ucl.ac.uk/~ucecesf/ mail-followup-to: Org Mode List x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AS4PR01MB10249:EE_|DBAPR01MB6549:EE_ x-ms-office365-filtering-correlation-id: 60f9c8b3-04e3-47f3-47e5-08da9be4f8a2 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /1YXx84yxIl9iN/cV1deGEVVOWkl0EbfYQugp5cRkPYUP3JCoM80pJfaqKDTeLKfdwBf7a9idtz7uWwar86Kk/AqFueIeszC9JC87yJR/3boNvl9/qLvj7GV9rI4g9E+Uvbhk2bpVuWcJD86453CeQW/fcIFlBdL12AklM62AYsDfosrsKna+Dwk3Q07yfg82sCmMZZ3dFs1WvCQ7hTormU+wk8LmPaovPwrGhwJ3uxx1LAeJyVwv5k9WnTcnl0ImRbc4MfzK/Qi2ilgNRPYY9swTCYEYF6huHel6yx7MI2IyM/S8nwtfJ5xascRrr+9v6HEmhp+OarA9HYdQMJKyzpuHknguHYK+uFk0/b7PfzUzlpXXqsi+BDO3b5J3+tZ20bkp+CBqDa61Dxp0OpXLaEDMQPgYlyeWZ0Q0CxH3ucEbo1A37RRGtgnEHl9Ner2N32kWjtapw1B9HxKzTAASSiKaWQ92amdE8gaayG8Z9HC3bkcITQ4IZmKSRfF4SE0eAIcqaKmSRvYrP+c34NX0vhRjuKlzxZXaYnpODPo63ygHyEjiRO6yPAE4iOKEjBARj0oO6yf+wXAILYp28lbC/6hJffbzGm6yrtM/unjOMOJQTASngogm7YDehN4VpYDIEHb6JwibQpPtBmQVdg7DLF8qF9zpUMJWU2AhG4NddtNqRQK9MKFbEC9+a7WASw8jV4FdO16la9xIiVQ0dIrKiI29Sv3xTUIohEmeMDctZFrsHyftVJHiQqOqiXiSanLq6KMWGESx3xAX1rVQIZHzA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS4PR01MB10249.eurprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(13230022)(6029001)(4636009)(39860400002)(366004)(396003)(346002)(136003)(376002)(451199015)(38070700005)(2906002)(186003)(36756003)(41300700001)(2616005)(4744005)(86362001)(122000001)(38100700002)(8676002)(316002)(6506007)(786003)(54906003)(76116006)(6512007)(26005)(71200400001)(91956017)(4326008)(478600001)(66446008)(6916009)(64756008)(66556008)(8936002)(5660300002)(66476007)(66946007)(6486002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?NI/S7GC8ZdX8gzqmohJ0+l5eF5gHvpJB4gzJPZ6hCyKT7d0wKDzvh84BGc?= =?iso-8859-1?Q?rBo1XH81w3LU5Vl2waQethKlwEwP7CvQjGZK44hBKA0PkxdaJwqasjipd0?= =?iso-8859-1?Q?xkUPK2debyPrpDb43X2u1GBFbBAiojpVkyaxQUDDC6XJQEi3vxope57kKl?= =?iso-8859-1?Q?F6SCGR/lJ/binkK8J3SXNV/uKmhLVVxJOXilpxwIuVTtJ1Sg/b0dHpx/Em?= =?iso-8859-1?Q?FzqEA3ll1akqoLn4HAIO1WFfc9xFooPKyUhnfn2UwPydvQi62O479RkRQf?= =?iso-8859-1?Q?LY41A9idxwVSNPQ6Tow6bdwIo2gqGAbNvYFDNEmxHa/SZjT7BWWKmbixuB?= =?iso-8859-1?Q?iz09Vrr2l7tqeMaBqzsyp2HMwyfCtKm2jUG2uShXeNVIpzUc4yENCi0OI1?= =?iso-8859-1?Q?DD2JxufXn5DYmUNwO4nv0SvWsxxXwRZ6ny5wbCtvhagikT2F+dJzCUGjTw?= =?iso-8859-1?Q?HIK5lfTyeQlg+ICa6i1JvKb4i78MibO97UJkeForsIFVBPPgNQ/NFYIlgc?= =?iso-8859-1?Q?yu6CYaHWZxFWTJDVbMtSTaKNzr+kyPhSxHEwwl2K6n0RhXmHa4ex/q++Pt?= =?iso-8859-1?Q?xgthPQi2WvNzKhQwYFm5H2HbI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Q?O0biKWc/DbtwxT1Pj5B7u/p9YBoTHOngVKbycyt2K3aaj5k1T7ETykD/R3?= =?iso-8859-1?Q?ybmyde8iIWoMt0kRr11e085+LrD86XyqJhCuiwubEn8nUg84e15K0CAJg7?= =?iso-8859-1?Q?uLUjHkbi60VSVP2kC1inQ/AwRcJoE2d1Lq?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: ucl.ac.uk X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AS4PR01MB10249.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 60f9c8b3-04e3-47f3-47e5-08da9be4f8a2 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Sep 2022 15:21:35.2267 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 1faf88fe-a998-4c5b-93c9-210a11d9a5c2 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: d4m+aExIeMoU36LsA6gBld8CJvAaC8ihXC1trjcoIjNimBpV+OoTt1adfP8VQ5z1hLG+AyQSUDDXdX1RZlC50g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR01MB6549 Received-SPF: pass client-ip=40.107.22.117; envelope-from=e.fraga@ucl.ac.uk; helo=EUR05-AM6-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663773777; 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=3ENFkFwYW1wWXnUIamEOdY69fsky8Ce5glZxhpkCD5M=; b=kFxakpDmSasqxCM5pya6SWXhEtVOE4eMUetxmwCeNT3XBT7BWBcZ1IOpPC7OJ7ADHU3CTD nl0OoO/KvgY09++QTfOBdkfudlFIjTjwu9hC6S15JOLEusjAZtzv6VRUc2xcsnCfd85b2w D+3RgN8Tc1plpIB81FqTh9n5mC/cTE9YfXWsvWszmZOKUyJytaJt450zwTtedH6Pd/uMfP KtpALzPM5OTA4Fqjf4Uk5Mg4z1qv1W24fhKMPgp+COLieuK7vqBhFMSoBTQFjkq+vCMoE2 wyBVDd212ib9k4cN+poYykujw5GiBX2JuTjjNHOf+2s9I/HnxPoQaqxRLisdMg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1663773777; a=rsa-sha256; cv=pass; b=sKFFpBPaucYXcOKUcgr3tEXzqhsWUSt5YaO86cvPLhfGB9AmjYzHODt5VWZsbB1MdiWb0g wly6YxVIYdlgkpflsc/EQUjv6ADxqirVsc8BzVwpByw8G/6LBt7KibGmSkp4YsaMBPx7Aj KWOYcrIm/OuRVQJgt3Y7Xr23mv++l/8KQgH9CpjrVjYahIW+380Fm7r837Cur2Xlj4N75b k4ZDmd0BnY4Z8GnrCUPS/8zDTHSYoVepBZxYuoSOUpMo5i5HjMj1QyYEHadkdhyY/NpVN/ bQbF2Q34FYibAU1WlndT2k/Cqh6MZKUBv+PdTGam9hC39gvzwo0tCrCY81F9Pw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=T9xOFcUM; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=ucl.ac.uk; 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: -5.84 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=T9xOFcUM; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=ucl.ac.uk; 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: 4A52B2346A X-Spam-Score: -5.84 X-Migadu-Scanner: scn1.migadu.com X-TUID: 3jOXcX6+HQxJ On Wednesday, 21 Sep 2022 at 16:55, Daniel Fleischer wrote: > I don't understand the usecase, that's why I wasn't really following. If > you write \vspace{10cm} before some headline, it's going to do the right > thing even if it "belongs" to a previous headline. For me, the issue is that I often have many sections that are commented out or not selected for export. I may also move sections around. In these cases, the "pre" text ends up in the wrong place or not in effect at all. --=20 : Eric S Fraga, with org release_9.5.4-768-g5bb699 in Emacs 29.0.50=