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 MNa3BeUrK2PWYQAAbAwnHQ (envelope-from ) for ; Wed, 21 Sep 2022 17:21:09 +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 KAG4BeUrK2NCbgEA9RJhRA (envelope-from ) for ; Wed, 21 Sep 2022 17:21:09 +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 AD58D23598 for ; Wed, 21 Sep 2022 17:21:08 +0200 (CEST) Received: from localhost ([::1]:59978 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ob1X9-00011T-3r for larch@yhetil.org; Wed, 21 Sep 2022 11:21:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ob14z-0006RG-5w for emacs-orgmode@gnu.org; Wed, 21 Sep 2022 10:52:08 -0400 Received: from mout01.posteo.de ([185.67.36.65]:34167) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ob14x-0004Xr-Fo for emacs-orgmode@gnu.org; Wed, 21 Sep 2022 10:52:00 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 76DEB240026 for ; Wed, 21 Sep 2022 16:51:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1663771917; bh=h8xxXYFuX9q9p6TzkGM+TSmBCNo0sZSdOscoSoUwkHI=; h=From:To:Cc:Subject:Date:From; b=NkG5uiR8Ajcl9eEOxZuWMs9MOt4D/lyLaMTkr3+7XVd6eJMPgBzvqjYX/jPOQxwOx UX/9+dI7q+Pr2JHADc89R6trWMU6UliSu2k+WL/onPeU2EQOQk801EjfE/AC4VHPok smIwpGelRTmfG9zPh2xjQfS7+VhkqCMPjf/ZOURgwTrNZ2QM6Seosykp+DlY/QWmbV Ksjm8TL3CLZbdfoW38Vg2Un193vLfeWyagxP5gxnR+4/VASnjnZYGYMft6Fs5Gg1Ts MDwwxNrMKfsLBeKziKLnxAuVNKb91QdD3E4dkR9UAZun3d2FhMPmKuY2kpDVSPSUNZ tcSgGvZO4IeNg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MXhFm4KSHz6tpW; Wed, 21 Sep 2022 16:51:56 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Daniel Fleischer Cc: Ihor Radchenko , orgmode Subject: Re: [Patch] Pre-/postpend arbitrary LaTeX code to a section References: <87o7vcsw8m.fsf@posteo.net> <87czbqyy5i.fsf@localhost> <87sfkmdkxa.fsf@posteo.net> <878rmdxg17.fsf@localhost> Date: Wed, 21 Sep 2022 14:51:54 +0000 In-Reply-To: (Daniel Fleischer's message of "Wed, 21 Sep 2022 16:55:20 +0300") Message-ID: <874jx0vkz9.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@posteo.net; helo=mout01.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, 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: , 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=1663773668; 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=h8xxXYFuX9q9p6TzkGM+TSmBCNo0sZSdOscoSoUwkHI=; b=ftTG+0We5pvNuaYnjJI2ITeLi8tXfRx2iQKWpEfphWC6J0Gso79kDr/ISqfoxfxqCpVKUU ikWO0faFmo4xPXIm58iLkLb58qQZDicAosVddCPT6/r7dEvR84VufnI5oInJWwAR4mYL6H IJRm6m1WJPbJWrf/5/nGEhaQZB1pQjhIGej/kSXyogvOlX+xZn5mkBijSEU9DkTHr/mIa4 n+IK/ePO/STYvUn6BpMcLA6bxY5AlGHyZ+CMCeEuprvxsArVloIsBTcHANhgr6TZzGDPaH it+UF54jFI4PJFG0HY537HfNi9ZYAzuBSqvWpKBDgqyFJ6uNZBpk1ijjQTH05g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663773668; a=rsa-sha256; cv=none; b=pTJ1NBliBWNEKpW8stvpPZjzRA1a1rdp0okFwjvQ3EM5FWLJ+dfhvYYsnlOCw3EnIRX26W gLrJcPhgSEwmreKAsw58cIoH0YA8bfGDSkhOXCVmw227ECy1N3S26NncKJyJvjq1wSPyUN edPEQPveLKp69UpwBl+plMca4q8Eh9DE7OBlyCrg8y6SYhSvXzTpAF8tYE0vUoP4bvWaEh yxpehCF2B99kFwvl+dc9+rqK/KnSgeYnqAjOnTgq5jqfO5lvUtA9AFYDhrFFqirAT9lBKG bQW7Vi5L+3MCaWfAS98lzj/5RpdfTBIlByNpyKRyMOM0iPGwaHJ7RCUGQqHlSg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=NkG5uiR8; 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" X-Migadu-Spam-Score: -4.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=NkG5uiR8; 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" X-Migadu-Queue-Id: AD58D23598 X-Spam-Score: -4.04 X-Migadu-Scanner: scn1.migadu.com X-TUID: ufsyZ1N1T3sO Daniel Fleischer writes: > 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. Imagine, for example, that you have defined a LaTeX command that changes the style of the section (or chapter, subsection, or whatever) below. And you want to apply it before a certain section. If for any reason you comment out the preceding section, or mark it as non-exportable, or even delete it, the preceding command is no longer there when you export to LaTeX. That would also happen if you move the section. Best regards, Juan Manuel --=20 -- ------------------------------------------------------ Juan Manuel Mac=C3=ADas=20 https://juanmanuelmacias.com https://lunotipia.juanmanuelmacias.com https://gnutas.juanmanuelmacias.com