From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 INK0CMNhhWarPgAAe85BDQ:P1 (envelope-from ) for ; Wed, 03 Jul 2024 14:35:47 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id INK0CMNhhWarPgAAe85BDQ (envelope-from ) for ; Wed, 03 Jul 2024 16:35:47 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=christianmoe.com header.s=x header.b="FVJbRK/Z"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=christianmoe.com (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=1720017347; 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=avZJpaM5KZiz5Vl6QGbD0S+ZDro0vCadVWw4cQ+TxiQ=; b=iKMcKlskkkTMw1iyYhvJhXlqUvhnCLO6Mn5UGrVYHBfy8orBbcEITNU3v9EA95idaZrfsL y/lRXFyAIiph1ckuzNgguHyPcLLXPXS4rkjmLRtaYjI56PSxb4CDNbyGonHXD1kEYKGkSt WDbCxPB0cmsjrBq5oPNr9lTuTjZqWEc6XFY7GjcbA1bEADhHm0zasGvUc/fqhXPCbLCmbs Vs7kwi9Ib8l9l7l+67tlffFMAtsryWS12Nctc7T5h8v+odahXl75qvZ0DafhdBmoBBVy2J W+8j4HMGzzblD+zQG0XrXsEJPLPdBqmaHxlyMjvpOq6P2YgjylJTa5jjq/Em1w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720017347; a=rsa-sha256; cv=none; b=cAMcHkFzoBb4zEquJoCCQHO1ih7AtToNzE/9Z0bN422OycKpu3pOmG5zqPYCd5AtzQ63l0 RnjWx0MaclfbqPOHq78sRMtBRIaQnsW+nXysw4mtTVXUoDSFEDPIw8zS7gJndCrQuE2/wd gdfEStNMlol6a90AmLgBr2G96xQRTUKTODKkQy56sImJp5wzFw4pemqqWFP1ckdVAAoBGJ OtB0QsdY/8B8UiIiNzyjcy+tVXQLiug7hOcSeQvXSNR4WT1RqB5MsJJB8oxWAYxXUzvlbt cMBiAb3XANDB/Pfc9csd/iLdjbgvwwMB/qnoyOYt+7nOyNzI94mW0jlxuWP9sg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=christianmoe.com header.s=x header.b="FVJbRK/Z"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=christianmoe.com (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 0A53812D5A for ; Wed, 3 Jul 2024 16:35:46 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sP14E-0007OP-5s; Wed, 03 Jul 2024 10:34:42 -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 1sP14B-0007Jt-Pd for emacs-orgmode@gnu.org; Wed, 03 Jul 2024 10:34:40 -0400 Received: from mailer-211-145.hitrost.net ([91.185.211.145]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sP149-00030o-RH for emacs-orgmode@gnu.org; Wed, 03 Jul 2024 10:34:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=christianmoe.com; s=x; h=Content-Type:MIME-Version:Message-ID:Date: In-reply-to:Subject:Cc:To:From:References:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=avZJpaM5KZiz5Vl6QGbD0S+ZDro0vCadVWw4cQ+TxiQ=; b=FVJbRK/ZRQPkagVoLQlho5XnfF Ez/pqIFJUpIfmUR6szZMDJWN2U/KEc9ykg0+SPgLOiL2JAXfJwmbBXcTivTNUV8p35Cr9FFZCuZ4u BMmK1bW5+AIFQ8KMXv2LWKpmODm5Mzjb3D0sdQ+K+I6BNjwN2rDQsxd/5/DSUBy+oNjIAlEy9LCZm QW6a55nfkCiSDAhOiwJ33jVtO5fEesDh5vz9K/KDL4t+ZYx8pY7Aev3J/insG3EUC0NUbwAvt+LLl HMfRQVtGP2NZs4tZSAF7j2ONnEduUQKT/FA3O5leh6MFVs5tc7SikEfwfTTdB+VwG1j4f9LIkqBTE 7IPF9ZMg==; Received: from 94-140-65-206.dynamic.telemach.net ([94.140.65.206] helo=Tauriel) by b1.hitrost.net with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1sP145-00000009gaN-3Ap3; Wed, 03 Jul 2024 16:34:33 +0200 References: <875xtmd9nz.fsf@christianmoe.com> <87msmypwfw.fsf@localhost> User-agent: mu4e 1.2.0; emacs 27.2 From: Christian Moe To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: multipage html output In-reply-to: <87msmypwfw.fsf@localhost> Date: Wed, 03 Jul 2024 16:34:33 +0200 Message-ID: <874j96cznq.fsf@christianmoe.com> MIME-Version: 1.0 Content-Type: text/plain X-GeoIP: Country [IP], SI [94.140.65.206] X-Authenticated-Id: mail@christianmoe.com Received-SPF: pass client-ip=91.185.211.145; envelope-from=mail@christianmoe.com; helo=mailer-211-145.hitrost.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-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: 0A53812D5A X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -5.29 X-Spam-Score: -5.29 X-TUID: pA6cMq/zsFzM Ihor Radchenko writes: > Christian Moe writes: > >>> after my clunky publishing chain from org to gitbook with multipage >>> page output broke down recently I finally decided to tackle adding an >>> export backend for multipage html output to org-export. >>> >>> (... snip ...) >>> >>> - Is there widespread interest to fully integrate it into org mode? >> >> It would be nice to have. >> >> Conceptually, I'd see it as fitting into org-publish, perhaps, rather >> than as an exporter? With org-publish-project-alist as a convenient >> place to set up various options? > > Not really. ox-publish is more about exporting multiple input > .org/non-.org files into outputs. I was thinking in terms of purpose: organizing export of multiple outputs to be published together. It does that with multiple inputs because, as you say, one-to-one export is the option we currently have. > I'd rather see this kind of feature being a part of ox.el - an option to > export one .org to many smaller files. Currently, we only have an option > to export one .org (or part of it) to a single string/file. (And then, > ox-odt has to try various kludges to make things work as expected with > .odt, which consist of multiple files under the hood). Yes, I suppose the code for multipage export belongs on the ox.el level. And then one would want to be able to use it out of the box without necessarily having to configure a publishing project, just relying on sensible defaults. So I take that back. (There might be some considerations for ox-publish when using multipage/chunked export *inside* a publishing project, e.g. regarding which levels of output to include in a sitemap, but that's for another day.) Yours, Christian