From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wOyEKD9TkmZL+gAAqHPOHw:P1 (envelope-from ) for ; Sat, 13 Jul 2024 10:13:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id wOyEKD9TkmZL+gAAqHPOHw (envelope-from ) for ; Sat, 13 Jul 2024 12:13:19 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dvATcrcR; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720865599; 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=PedxwwDyqj5+gcG1Yx9S/HoCos5pHbKrvj0TYITxm9o=; b=QcaCivOOCLuP4VMYcurHQ9qcW2YQ2uI9q/ypo7GwKEZQO5JkAvLnZ/fKm0Ne1FbFxngLA5 s2Wb6l6r8iYBmm86gzFNjsPCXKyZ331/whHGmXqfeFQ7GAlB/y1L9UGB+0H1iOYkj1GTfD SaipT8VHZMzstgWDzUInBUK1NIDDwgMUn1ax9pZdCW3jFTav2tSRSbQsj1+wz2iYP0K0BE Ykj0BglUstm8StH3EgNvc6DJm1V81s7//Q5tkpYhQrlhmVbKMwBlPiRCdyupOj4lYrtGSH cgVZmEgJVNuFy9oQ3dtGhc/PjJUWRRJOXUDgvcoijgDwzDP3jYWE6NEHggJNcA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720865599; a=rsa-sha256; cv=none; b=KJzcu3Ygo9cXjeIz/rFvq73CNMWdREbyWSPOH4RhNoqC5u9MTngGiPVaTC5fRYXGAadLdV IgXGVariJa4CeAEngm/8bCsvTomzU7NyxxPXg0ggHpTdhlp1RzH+ijw9bpOGWpVBruGwPX /r/EX0/Sxdgny4DZWt4Dud/aWXVsnEcbgCZNJxfwSKlzXh46hZiNiE0YK6sDef+3GRCylT BIGJN/zp4+ROl+metcfN7sKCqXCX/RlqLxqczlmUHV1mjyrtx7yJfutK/rnpclh5m7eBoe EGVlfzegB52ewFBn+3IZdHAfxy0e2l6DRWDE08nVTJuQ1J30qdXH3n4qbrIGew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dvATcrcR; 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" 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 4AA1810220 for ; Sat, 13 Jul 2024 12:13:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sSZk1-0001q1-Op; Sat, 13 Jul 2024 06:12:33 -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 1sSZjz-0001pm-EN for emacs-orgmode@gnu.org; Sat, 13 Jul 2024 06:12:31 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sSZjw-0002ZH-VM for emacs-orgmode@gnu.org; Sat, 13 Jul 2024 06:12:31 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 4FBEE240103 for ; Sat, 13 Jul 2024 12:12:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1720865544; bh=KeOVNJuSNQLcDc7t0LvuuHp/2Yzl04bWMXL7Tp7NgS4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=dvATcrcRYtqMaEUwndX1CPTCiEXSj2s1Y1TdN3Oq+suAe71RRZq6kUC4rhKZvKzCB gP9rZCW5ZefT9GArACbPG4YmxB6j3AceKeiadmrfxb2G0EWLgRcWUCMB+XceIsIDZN +AQEIp1rTfmg3zyI2hPnm+4cQntePJi08bFWlZF/8/Berx5PJXMUkUy+Ez+4K1R70i afR/w/znm7fwtLVZDdUUV6ygnBMp5wd/oMutKI3dGAJtxE8N1uX2ajX/U7ER6PYU8u st116DrvOZysHAMErYxPKi7QLm/dWQRS2FhyQo3CNC/vlJWdrd+prfIlEFTopsQ31v fDOxvm2Ry2ScA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WLkm74HVkz9rxK; Sat, 13 Jul 2024 12:12:23 +0200 (CEST) From: Ihor Radchenko To: Orm Finnendahl Cc: emacs-orgmode@gnu.org Subject: Re: multipage html output In-Reply-To: References: <87sewp9liq.fsf@localhost> <87y16bzzxl.fsf@localhost> <87o777zxkv.fsf@localhost> <87r0c2781h.fsf@localhost> <87r0c05com.fsf@localhost> Date: Sat, 13 Jul 2024 10:13:56 +0000 Message-ID: <87wmlp38gr.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 4AA1810220 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.63 X-Spam-Score: -9.63 X-TUID: X9dTi+CPx4oe Orm Finnendahl writes: >> This sounds like some kind of extension to :filter-final-output. >> I think it should also be an ok option. > > :filter-final-output functions could be used, but the name is a bit > misleading. Therefore I'd suggest to extend the > org-export-filters-alist with :export-final-output which only gets > called if non-nil. Otherwise org-export-as will return a single string > as before, so we don't break anything. It is not very clear for me from the name how :export-final-output would differ from :filter-final-output. Maybe :finalize-export-functions? > In the multipage case we still need a hook to split the parse tree > before transcoding. The place for this should probably be in > org-export--annotate-info. I don't see any mechanism/alist function to > use so I would suggest to add an option :multipage-process-hook to > org-export-filters-alist. We should better use a new option, yes. Many existing options can be modified by users by accident, and we do not want that. > In addition the backend will set a :multipage option at the beginning > of the export, when exporting to multipage. It will be more in-line with the existing design to set :export-options. See `org-export--get-export-attributes'. > I will go ahead and implement a proposal. Let me know if something > sounds bad/unreasonable. As you see, nothing major. We can work out the details after you get a prototype to work with. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at