From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 4IT3DNBekmY4PgEAe85BDQ:P1 (envelope-from ) for ; Sat, 13 Jul 2024 11:02:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 4IT3DNBekmY4PgEAe85BDQ (envelope-from ) for ; Sat, 13 Jul 2024 13:02:40 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=hfmdk-frankfurt.de (policy=none); 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=1720868560; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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; bh=KsUjY5q3qET0qFBZDHeGEoJF+EGZ+dxmhsizMBVS/cA=; b=OO+hCRZ4K9JSwRo3va49AxyQEViRY2Be+sjUC5ev8gHARAwU4zt49vx307VNlUeYAbKK0u to93ULPJTqkEeu5k4j+PMPXq5UrJPxGqU035M2VuWTauM80GE8bisuM0CMHPXAnbc/Mj0Q wnIJc36xwHwEkVpsA9nTREfkXRd5nqhBzKn7LwXvy4+6Q53XCDrVFVPvEZayPCiPmpTLti 0WbAGn2uAwfow4NfLShJVPbnxzKjlCVe6gYgMbkUlCoN/2dNXggIegjWpN9qlAtPwzsFRl +wdtYXMsklNFbQ9pdIPJaP5Ktv+SA5pbxsw39gfYStp5q0Z6UjRz5qsHrzhTfQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720868560; a=rsa-sha256; cv=none; b=ocfgaIiru/IVlLuQNElU0xEU4vCveVac+Fnksemw0uykGAbHFCFTVDDsxNhVa+GPAOeMAH MWq6pvGABNkklRuiKkusILNYj5nKR9BfhD6Usna/Gjc9+U4/azsHLqKcPKGXcKlRu9QtoC 7gLosIOPK6BljtzbFSaA1l9/7xWUdnEDks3NMtg8Jtl7fiLrslhPWEg4UwaDYTo0KglK04 55U6Sfmj9NjbLr3PH+3GgSalrnx7LqAj333FqLiv5cvlJdqNAc862gLUMcIk3zhSdKUtvu VziIwzDutXNi/SCLSpSjA3Sq0lST9B/A/ebIjR3Z5Gowo3mnhDng7SBicq67Yg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=hfmdk-frankfurt.de (policy=none); 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 EDF923DEAD for ; Sat, 13 Jul 2024 13:02:39 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sSaVY-0005nZ-7Q; Sat, 13 Jul 2024 07:01:40 -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 1sSaVX-0005mL-3u for emacs-orgmode@gnu.org; Sat, 13 Jul 2024 07:01:39 -0400 Received: from www.selma.hfmdk-frankfurt.de ([46.4.92.145] helo=mail.selma.hfmdk-frankfurt.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sSaVU-0002uG-Hy for emacs-orgmode@gnu.org; Sat, 13 Jul 2024 07:01:38 -0400 Received: by mail.selma.hfmdk-frankfurt.de (Postfix, from userid 113) id 845EBF61C9A; Sat, 13 Jul 2024 13:01:33 +0200 (CEST) Received: from selma.hfmdk-frankfurt.de (ip-037-201-128-004.um10.pools.vodafone-ip.de [37.201.128.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (Client did not present a certificate) by mail.selma.hfmdk-frankfurt.de (Postfix) with ESMTPSA id 5E686F608C9 for ; Sat, 13 Jul 2024 13:01:31 +0200 (CEST) Received: by selma.hfmdk-frankfurt.de (Postfix, from userid 1000) id 03B7B3960555; Sat, 13 Jul 2024 13:01:30 +0200 (CEST) Date: Sat, 13 Jul 2024 13:01:30 +0200 From: Orm Finnendahl To: emacs-orgmode@gnu.org Subject: Re: multipage html output Message-ID: Mail-Followup-To: emacs-orgmode@gnu.org References: <87y16bzzxl.fsf@localhost> <87o777zxkv.fsf@localhost> <87r0c2781h.fsf@localhost> <87r0c05com.fsf@localhost> <87wmlp38gr.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87wmlp38gr.fsf@localhost> X-Disclaimer: Why are you listening to me? X-Operating-System: GNU/Linux Organization: Hochschule =?utf-8?B?ZsO8?= =?utf-8?Q?r?= Musik und Darstellende Kunst Frankfurt, Frankfurt, Germany Received-SPF: pass client-ip=46.4.92.145; envelope-from=orm.finnendahl@selma.hfmdk-frankfurt.de; helo=mail.selma.hfmdk-frankfurt.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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-Spam-Score: -2.80 X-Spam-Score: -2.80 X-Migadu-Queue-Id: EDF923DEAD X-Migadu-Scanner: mx11.migadu.com X-TUID: fLouVNHnPIT5 Hi, while doing it, I found out it only needs one function call in org-export-as for splitting, transcoding and writing the file. Currently it's called :process-multipage, but we can change that later. I'll take your advice and use an :export-option for multipage. -- Orm Am Samstag, den 13. Juli 2024 um 10:13:56 Uhr (+0000) schrieb Ihor Radchenko: > 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