From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id sAPxNw2wK2YpAwAAqHPOHw:P1 (envelope-from ) for ; Fri, 26 Apr 2024 15:45:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id sAPxNw2wK2YpAwAAqHPOHw (envelope-from ) for ; Fri, 26 Apr 2024 15:45:49 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=WaZESnMk; 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=1714139149; 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=tk7isb94xzbw7DI/NMjKpJMdO2G/pzYIrlnNOeu4ibY=; b=JTUoLL/GVs0OuClza3xjXOEOAdL4MjOw8YOsN7edzZLqASVXlOI+AyS7GlAUGIvAJZ9r8J ka9W1zQriYDwWa1/NZOdZLNCQbPu0kJ4fSjoeiplv44YVxN/hPIYZtNQ8aWDOEEoQqxkv/ kDYpaHXcNLEy+YY5QFQPZmv3NMZt+6dZqq/9BurqvKeoFEeDQYXr8NiAt1ihVIMFttvjk/ Gz0b2vyr5Puj9122KPS20Gdw5Fs8pOpnhVpbzV3NhAizi5Tn/YpojR3hdmplwOaFuToNZV +E06VtFBEJbDoZ8FnzrTmAE9UVmyndWi9h2835AQL6WKIxkRD4Z3jIcZ7EzW2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=WaZESnMk; 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=1714139149; a=rsa-sha256; cv=none; b=LYFL3rSVooZzxptZf81fNesYq4/JXUmxx3eqFod0gsC4OmQTyKppQZdjnuBYaXdPXFuuUh LM6UGR8TXS+c6mrdDQZ+BbjtUcVxC2C6wGWx7OrMXm7zTnIgbeaBcPX99ylpQN7B6qzQ3w iSt6F6W+K4hxZRbNONTg+XBbJNKRAgHfTS26Y1xmeXW9eaOc3sjYSgBFgUpZqiIuiHSzug uFtlBVmLWN1kgsDcUYOtRyiTAIMqbKAPWSmZCoa2Qj8n/AiNUTnd24kvi9Eu4z7ziQ52O0 TAct9kIqBVnw8ow44afAHd2su2EaZibFG5oSlc5wjYvxIiV7JeKl1PvjnHNVPw== 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 C645C3EA4A for ; Fri, 26 Apr 2024 15:45:49 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s0Lt4-0002X6-MF; Fri, 26 Apr 2024 09:45:14 -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 1s0Lt0-0002WT-FP for emacs-orgmode@gnu.org; Fri, 26 Apr 2024 09:45:10 -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 1s0Lsx-0000gE-LV for emacs-orgmode@gnu.org; Fri, 26 Apr 2024 09:45:10 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 2E514240103 for ; Fri, 26 Apr 2024 15:45:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1714139104; bh=1cQ+pbU4D7cvWEPlN+Le/iIam/i995x2Od6BPWUidAE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=WaZESnMkoA9rwJ0U213GabFuDhkm7g+Nfl9kSdi/9LKlcWEMx8Ct76MkS8e5VoMIG n2NXd2cWTPPoLoAhjzR5dJOoyIG4JzD1Yp/77Rwt+2VpkQMshqsfeKOVFJuITd3zHB f8RXtKxM32gdUluYBax68BS+u58DnVXEGlQZ7VIdhIDXeR2JqTEwlbKXC5Rs97eX93 fcmu2O8iCPLySSMQFJpSYKZ352yRJYOccnjPj/2AGbZwd4iZknwfnIQTtPjMvEoYHF 6a036+HMp1uv7SHWjuGZ5vpHrm991gvD6wEnu/rIojdezVmqEgtAURZQl/39A2OpX1 tJeTQhpCE4kMg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VQv9W2tY3z6txq; Fri, 26 Apr 2024 15:45:03 +0200 (CEST) From: Ihor Radchenko To: Matt Price Cc: Org Mode Subject: Re: keeping subtree heading on export In-Reply-To: References: Date: Fri, 26 Apr 2024 13:46:04 +0000 Message-ID: <87mspgtexv.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_H4=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-Spam-Score: -6.60 X-Spam-Score: -6.60 X-Migadu-Queue-Id: C645C3EA4A X-Migadu-Scanner: mx13.migadu.com X-TUID: wqxapXpOS+6I Matt Price writes: > ... I need to export each individual page > of the "book" to its own markdown page. However, jupyter-book expects to > find the title of the page in the initial first-level heading. So I'd like > to retain the subtree "title" as a first-level heading, and demote the > remaining headings to their original state within the larger org document. > > Does anyone know of an existing exporter that already does this, from which > I can steal? Or if not, how would you suggest I go about doing this? May you provide an example demonstrating initial Org mode document and how the exported md documents should look like? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at