From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QC4GCYp9LGMcYQAAbAwnHQ (envelope-from ) for ; Thu, 22 Sep 2022 17:21:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YDv8CIp9LGNqUQAA9RJhRA (envelope-from ) for ; Thu, 22 Sep 2022 17:21:46 +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 B294218F9 for ; Thu, 22 Sep 2022 17:21:45 +0200 (CEST) Received: from localhost ([::1]:42160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obNNV-0006P3-IN for larch@yhetil.org; Thu, 22 Sep 2022 10:40:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obMaz-0005DK-Sg for emacs-orgmode@gnu.org; Thu, 22 Sep 2022 09:50:38 -0400 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]:41822) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obMay-0004jv-6s for emacs-orgmode@gnu.org; Thu, 22 Sep 2022 09:50:29 -0400 Received: by mail-pl1-x634.google.com with SMTP id d11so1431450pll.8 for ; Thu, 22 Sep 2022 06:50:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date; bh=f/UE48AEPnJLdDQz+Sw4L4jU0DATYrhbeG7IDHa1WAI=; b=KPZdIhNl4cfmJRkt4SDQRXZ3ZAfz4zKgTzfYNmWyWW96RwAQRYsSKUWNQoTQNwsc1V TdsYHtgjwFIjYQxiSeG9p7taM4XCEtR/+FYkaV0z2kil/SngSqx/98xzr8qy+eoNk0bJ ThX03VtdFytRLZzWBMWwMCRmC0xmFwZ+/DO2aHqLSWb3dsV8YP5J9QVoVsVW8D9Xw3FF mIPleqOM82W4LKnxy+I5Z19cCcpH34f102Fg9ReqDeLS/RQ1UzqIIznJsXIbg1ucfd/5 yo1PpbT8R/of3JxFbgM58dTjNvlrYdPMHOATRWS+WwxLbHrngVx3b75Ote8dcJZKRhVV WjPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=f/UE48AEPnJLdDQz+Sw4L4jU0DATYrhbeG7IDHa1WAI=; b=JyeYvMxWgDuYxPGcRZTFjL/Et1e97HGB5dob1jXDLFitx0Hg98f1R6AtmSEZsh9LUl 2WlivoMtNNSKYCz4OuVWSlcEDDP4xynTjeeB4hH6539Mi+gisNXitM86CQoJ7IaZNJn9 yy5dIo/0AzUOmGWCzLUoYNtLc7abO1DsA15qLJ1zyijbjRXEmEx4PPExQaQqGz2pPyvt N87q/tHEsEdrZCOqDnMktNl7qET3JlnbieVusPzkoChoN0oV3x+2NO1xRJNSX5IEMWrg Cjxoxo89RvdZgt2rLyLmj1IfDNetZ9PctQwCRThXGJ+hOQSTFgn8r0lemgxs7jKpWDPU 2O0g== X-Gm-Message-State: ACrzQf3ZWeHp+G1V/YjBS5W1r48E592dN7F6yYnyEXgtcC9Kse7dUMf4 NW9h8rO4XhKi8xTBxneYn9fCQZbmS6s= X-Google-Smtp-Source: AMsMyM4ATBB9DOidvpw3NwK5971vUWAwOrLUDROTEn1wykN5Z/FjdsNDaICJyg2FJg6SgqvTdldN6w== X-Received: by 2002:a17:902:724c:b0:177:5080:cbeb with SMTP id c12-20020a170902724c00b001775080cbebmr3504526pll.67.1663854626779; Thu, 22 Sep 2022 06:50:26 -0700 (PDT) Received: from localhost ([2409:8a70:2b5:ad00:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id l19-20020a170902f69300b00176b3c9693esm4153627plg.299.2022.09.22.06.50.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Sep 2022 06:50:25 -0700 (PDT) From: Ihor Radchenko To: Daniel Fleischer Cc: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= , orgmode Subject: Re: [Patch] Pre-/postpend arbitrary LaTeX code to a section In-Reply-To: References: <87o7vcsw8m.fsf@posteo.net> <87czbqyy5i.fsf@localhost> <87sfkmdkxa.fsf@posteo.net> <878rmdxg17.fsf@localhost> Date: Thu, 22 Sep 2022 21:51:19 +0800 Message-ID: <87illfa560.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::634; envelope-from=yantar92@gmail.com; helo=mail-pl1-x634.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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 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=1663860105; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=f/UE48AEPnJLdDQz+Sw4L4jU0DATYrhbeG7IDHa1WAI=; b=Cz9BD+8nAvRe0Veg/cFv/0JrKXE89ZEQBG5sMf2D6XaApnDM86P2BKqdUj+yQOH5Pi5Mmd HKFxXBFuNBZb86zrE3J2Q/wvxwDwyiDipgvzzV/j5d0k/9gF1jv8BXLOTY/nM/IxOJshMp Y5Cbtr2l15+Z7Dyz9n4xEuCsWWE1QIfiDIIcSptvgh8iuRr8dX/18Gmp+CINz0M+yyY9VH IJFOhTwIzud6EIanBQ8Xgh/TL/xOVsqVJjemPKRt9Ff/N3/owOVRiY9/zIEKe6m/78W+rq cZ3N0+VFKqc9xPucR8Sq6VZc6IqI5PjdKNa4TrjJa+kD7Y+RdYUGp/UJnfvOcQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663860105; a=rsa-sha256; cv=none; b=cyvOEyMcy/tGlTYWyeqOAzcnTTX8ac0ecvFA8D4IJkXdjeSHQJ+FCDXbGwO+7JCEFGOJ4i Zhv07V7gXgl4t0axORbEPTwFF/gV7UPwWpJfeJRHAFu0LCEANzPGWSkhI/C3vARCLKzQoh X28F8JBETJLeA6mmPfPjldyg+ICTvExp7MfAmgOf9dtmgWAexO+yD1FfwDaM/9fpYY5BUD EKtQsMjyzYPWYf/JCN0qOW4J+r7TC+7u377sCXfP4bX8hMXS7UkPCZnrIHc3JktZlwWk9r lohAezC1dOjevnjbRNxyAGAbldaMT5DEVX/lAlbmXlxB7H7G/K9j7J3yPnWzyA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=KPZdIhNl; 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: -4.45 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=KPZdIhNl; 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: B294218F9 X-Spam-Score: -4.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: HeFnwFsKgJIW Daniel Fleischer writes: > If org-latex-classes is not a good enough solution I also think it should > be a general export feature, not specific to latex. In that case you > need a general syntax, e.g. properties like "export_prefix", > "export_postfix" and the code should be as simple as possible, i.e. > copying the text one line before/after the headline. I agree that it will fit the general export better. -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92