From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6OltH0XYn2aSVwEAqHPOHw:P1 (envelope-from ) for ; Tue, 23 Jul 2024 16:20:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6OltH0XYn2aSVwEAqHPOHw (envelope-from ) for ; Tue, 23 Jul 2024 18:20:21 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=RBHsf7S2; 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=1721751621; 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=pwfZW/AUtcyCMLBbFI2LBM6xDpOay+NWZjT+IITi+70=; b=sU0BabJRHiBVarcFi8yyUylVh607M43HYoWTZl1ukUqMKFeZ5bFzOawtUJKIb5jwi3bL1t 1OE8yke+gYpOdUSxTBeSG8ze4jKEJofUNsKlTmDPdQv6hGlg3P5/vA59OASr9jdQAMd7L0 gTXeXg8IyAOJIE+lexqlhucubLhSYrmDmiYIisQJOSKn/vaYpbVKCjUriOtO0mONvbzn2s aclqAGVyqxouPjFh7ITQ8W8uT6XtcwJ7Ksu5KoJcCfxE/5qBIZ8hUA/zUQOIAGJKVGcYo9 Bm6M9F1pl2w3XRMEAlfaIzeExYWsJU8RT4al5VYuyjWcrl//8Yc0Y5hC4g9sKQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=RBHsf7S2; 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=1721751621; a=rsa-sha256; cv=none; b=MrPaNwELeijOQ6JWa7Xy5kMD0RDn5efR9pWI4vXcZD19KPSEsyGcEV9ji21zTuYw04e8YI 7jrjRBv6DRHZNFqaxGcHoZOm6fCmvQtJzAkkT2tFxnVeWk+vbVAgnsP87YOV4BEHjqJAkE cVnnMl9t+i27UoxMGdhQHtQ9jHMu8FENLVUBvQEAj42QchoKPOExHinPXLoqBjx5EMYhUu u+GCcRbT24V7mBxTRI1JdVbOBUiQpi7TdL8rU3duKu99YSfP05ns8DPlH/QKY6xpuKGvuw pZOpYQpfk/AXdDK0LlgQYRDNa5a1CQhEpneb+U5We1eSgF08ESKJsHPdR19vjg== 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 4403822E0B for ; Tue, 23 Jul 2024 18:20:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWIEd-0000ei-Gz; Tue, 23 Jul 2024 12:19: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 1sWIEX-0000a3-VT for emacs-orgmode@gnu.org; Tue, 23 Jul 2024 12:19:27 -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 1sWIEV-000687-PC for emacs-orgmode@gnu.org; Tue, 23 Jul 2024 12:19:25 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 2702A240105 for ; Tue, 23 Jul 2024 18:19:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1721751561; bh=oncQxBaqeyqG+V6UBC1g/B4TVJ4fF4gcSNzdCmvsN/I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=RBHsf7S28h4Hz8H4gNxlhSZ8OX9lti1HsqlORxUSm5NAiqbzgaaflm73KwKiOKSor kiV2O1fSrRr0l/sKFhz/aP7ZkQ+T72+VV9gC70gUThwG3OomLMUXrVxKNiUnGJMHDA o3axa1cEMOlYdBcd7OmzN3kyYLI/uFAIupbsxqc1flAik9UO6Na/bawFlFhwrKj7xa DXoBF5y3+un4h4jSAY7AZeVhbPXQO6cp4xYVzCGmd1DR9eqtyFHYia700UPR2Au9Qg 05mkXcwnU76IrXHx3ziC8xMC9jAioWuz36qBIXvIhJpZQhSy/KZuAdNlmQuYz8CLRP Eqt/Pig5ZB/Ag== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WT2Qw1phcz6tyl; Tue, 23 Jul 2024 18:19:20 +0200 (CEST) From: Ihor Radchenko To: Orm Finnendahl Cc: emacs-orgmode@gnu.org Subject: Re: multipage html output In-Reply-To: References: <87r0c2781h.fsf@localhost> <87r0c05com.fsf@localhost> <87wmlp38gr.fsf@localhost> <874j8gz9qh.fsf@localhost> <877cdc2nu3.fsf@localhost> Date: Tue, 23 Jul 2024 16:20:39 +0000 Message-ID: <871q3k2i7c.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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -9.64 X-Migadu-Queue-Id: 4403822E0B X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.64 X-TUID: +qhxhlJFPCa7 Orm Finnendahl writes: >> `org-export--collect-headline-numbering' is evaluated unconditionally, >> regardless of num:t or num:nil settings. > > Are you sure? org-export--collect-headline-numbering has this in its > body: > > (org-element-map data 'headline > (lambda (headline) > (when (and (org-export-numbered-headline-p headline options) > (not (org-element-property :footnote-section-p headline))) > ...))) > > If num:nil headline numbers don't get collected, or am I missing > something? You are right. However, changing `org-export-numbered-headline-p' to use :multipage is not the right approach to achieve what you need. If you think that multipage export should use a different set of options, we need to implement it differently. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at