From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id iD9EK/DAuGZuIAAAe85BDQ:P1 (envelope-from ) for ; Sun, 11 Aug 2024 13:47:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id iD9EK/DAuGZuIAAAe85BDQ (envelope-from ) for ; Sun, 11 Aug 2024 15:47:28 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=LNUjXi63; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1723384048; 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=pEMCfg2wb9OeBI8Cdz0npFehNpnNXIT1MrFnuHNrvFQ=; b=iws4e6JjLKMAUrJRCw/Yi/ryJE/3OCcbsNm2g3rHgsy2uPUgAAaLFLWnDOKT4DsOVKue6+ QW7ABZSO9+wnAkCferlHUG/Lrp0juYaVMXCFr7+9f+4QdK+RE0FqUB7iRqC0GmRUbvFyuO Ms1Jd1ngoDrjlfmDPAtRQeTzTrC0pwgt2UwmPcVn5Z1GcjOnS4UWU8hCXIbGUjxgQ7PMOu 5Rxl8RXkRVIcmtpREzeTxJaZOVqoXvnvhZabkfN4sT/dayZvOa3RZO9ooDTBoKetaDQdq6 mgK+DWVi+0HKCu8mG04hX9dY42Ah9YNlmPMkw9RinOw7SLn5rDuGP+zvBmuxiw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=LNUjXi63; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723384048; a=rsa-sha256; cv=none; b=FgN9PoTaG5L9Y8NH0+Zfq/0RKce8ZtRuv+bC15i9+2OiXoHFdw/GQw6L1v4Pdd6rxWuBd3 Xd8UnYYMzZaFrtldIYK4Mf0BRFb3qKIhY6Ofle/fOnkS3XiBCGXj5Z3DOIVg/jKd6g7bKM ylrans5Nbi7awpwbFItBLHknAE/sr7tKbkm4Dl1WpzMOObONWqqhi+SB0x9IzrPdMdQ2Ie qDKJ7juqPIFMzexLEcF/kZcfOhshKkznpJ7fivcLAvOgJhwfcxGVWXhdDTI+8wDowMR8QO jXzF97Ch0cg08WIWS1AUefbeHzQlEIkVxsyCWxToYAAkWAw1jZmQC6Uf5TkYCg== 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 85F6751B69 for ; Sun, 11 Aug 2024 15:47:28 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sd8tz-0001JK-ON; Sun, 11 Aug 2024 09:46:31 -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 1sd8tx-0001J5-Q5 for emacs-orgmode@gnu.org; Sun, 11 Aug 2024 09:46:29 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sd8tv-0002KR-J6 for emacs-orgmode@gnu.org; Sun, 11 Aug 2024 09:46:29 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id F3C40240028 for ; Sun, 11 Aug 2024 15:46:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1723383981; bh=a7Cwp/OMyIGx66WjjYq8d6qEHbWmB2fPfJBS3uJsuqI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=LNUjXi63dh9hGD12g0rYyRCuxZUDfBQ0qMDaMU/c/KW/iaFeYf8FWzOJMwKwFTPzG nXTfsSTMuWj/YiiM+Wmox5foCM1q1W8gidcv2C1G88gbwUBDely81LF5IJRU1BB0b/ q1ANcfa0vMlTFjJubyPz3kzukmTlfBdAGky5XmqnbOipCVSWnCKtVE/ulI/W4Yl9yE cYKy2d+I7O2Ze2JSqThWN6X2TJc7q17uK2oDp63gTc2RPtnZjSCaouDYdJqVFrONHw 83LpJ86HgC5uYG6yxsbczpeFk2Xem03UwvAfjqrCN/bS8jWqn8pQw3chYlMZQgFCb0 K+AVcBoC055+Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Whf7c18DLz9rxQ; Sun, 11 Aug 2024 15:46:20 +0200 (CEST) From: Ihor Radchenko To: Orm Finnendahl Cc: Org mailing list Subject: Re: multipage html output In-Reply-To: References: <87frrzdrbz.fsf@localhost> <87plr14wka.fsf@localhost> <87bk2i8w07.fsf@localhost> <87r0b2kext.fsf@localhost> <87zfpk36er.fsf@localhost> Date: Sun, 11 Aug 2024 13:47:30 +0000 Message-ID: <87a5hjxjbh.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 85F6751B69 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -9.67 X-Spam-Score: -9.67 X-TUID: Tp8Ysj35AfkL Orm Finnendahl writes: >> Also, as a side note, this docstring does not follow docstring >> conventions. Try M-x checkdoc > > I corrected it adding your suggestion explicitely. Checkdoc doesn't > complain about this one any more, but complains all over the place > with other docstrings not written by me as well, so I'm not > sure. Please check again. > (defvar org-export-multipage-split-functions nil > "List of functions applied to the parse tree. > The functions are applied only, when multipage output is > requested. They are called after the parse tree has been split > for multipage output. This is kind of accurate (because of the implementation details), but very confusing. Mostly because this docstring also serves as the docstring for :filter-multipage-split export option. I'd prefer to be a bit more explicit in the design. Maybe, instead of using the same :filter-multipage-split option both to perform the document splitting and to post-process it, we can introduce two export options: 1. :multipage-split-function - the function (always one function!) to perform the split 2. :filter-multipage - functions applied on document AST after it is processed by :multipage-split-function. >> I do not see `org-export-transcode-multipage' in >> https://github.com/ormf/org-mode/tree/org-html-multipage >> >> Did you forget to push some commits? > > No, that was a typo in my mail. It should have said: > >> I factored out org-html-transcode-multipage to >> org-export-transcode-org-data and got rid of >> org-html-transcode-multipage. I think you misunderstood what I was asking about. My point is that `org-html-transcode-org-page' largely duplicates what is already done in `org-export-transcode-org-data' - processing 'inner-templtate and 'template. My suggestion is to move generic parts of `org-html-transcode-org-page' to ox.el and call it `org-export-transcode-org-page'. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at