From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QOJ1MHW1emQBcwAASxT56A (envelope-from ) for ; Sat, 03 Jun 2023 05:37:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MAGaL3W1emRFOwEAG6o9tA (envelope-from ) for ; Sat, 03 Jun 2023 05:37:25 +0200 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 4E9273B31F for ; Sat, 3 Jun 2023 05:37:25 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5I3z-0002QB-G9; Fri, 02 Jun 2023 23:36:23 -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 1q5I3x-0002Pr-6u for emacs-orgmode@gnu.org; Fri, 02 Jun 2023 23:36:21 -0400 Received: from mail.mojserwer.eu ([195.110.48.8]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5I3v-0006dZ-27 for emacs-orgmode@gnu.org; Fri, 02 Jun 2023 23:36:20 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 4E729E80FF4; Sat, 3 Jun 2023 05:36:14 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eJWltOEB5mWP; Sat, 3 Jun 2023 05:36:10 +0200 (CEST) Received: from localhost (178235147098.dynamic-3-poz-k-0-1-0.vectranet.pl [178.235.147.98]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 6196622715A3; Sat, 3 Jun 2023 05:36:10 +0200 (CEST) References: <87353exyyz.fsf@mbork.pl> <87r0qyuyoa.fsf@localhost> <87353dr73o.fsf@mbork.pl> User-agent: mu4e 1.1.0; emacs 30.0.50 From: Marcin Borkowski To: Ihor Radchenko Cc: Org-Mode mailing list Subject: Re: How to export to the simplest possible HTML? In-reply-to: <87353dr73o.fsf@mbork.pl> Date: Sat, 03 Jun 2023 05:36:05 +0200 Message-ID: <87ttvpp68q.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=195.110.48.8; envelope-from=mbork@mbork.pl; helo=mail.mojserwer.eu X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685763445; 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; bh=K6hpV0kWqd4qBMNCvNNQ+sQqsyzPLJYR1amvK7Y25mY=; b=AcmvRbRVCNwipqDuTTe8TYisBv7ChNJddfG6t/zYONOnU/hW0EDaINKX2OLccRps03tGJ4 iNKP2TKM6j5alMGZi2U+jFs9st4vjgNj3guFsor03pqjDXNDLxrah4SCP4YSTyRgGetcMS z6dKz2AlgFnOnk0lOWvk0b/unrDd46penTEB2wMWR6zMDw3nWUc4Ny+hXbVC1aDI9RrTQb sRvVLfIqhvH3a50wm98Y82rXi1Ew4f52nykc1hb2kA/2HWzzGv1yoxaYjxrHdmtutzbBiO jcn5DNueIppvXXGEsNTQ4dgB6wrZnxg70RnBhRdtETK7C26NxHQ3MUtkMSRndw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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-Seal: i=1; s=key1; d=yhetil.org; t=1685763445; a=rsa-sha256; cv=none; b=FBEIVRydu/JSnKvWf/6wy0bSYJHjMZVPEkr7DrbQA8rG7vyK0C5amoFuC/HeLtm54VOebR //AE80f9rGg1bQUVhN/pEc/z2SdUipI//Xq9bVyIt5hICqMtrD8EC2F/8kZzxYsv49iPlN r8MGFzEuMMa20jo8IugUZ80X89Z/v6XlcRzb4TMASk6zMBTcp9PBGL3vohBbD4iAdSiDXu ZjHAc6Y9oSxPcS8aQ3Khu7OjPnNtzbVPEG6vNNYUP/RbXIUS9v6P3r5o8MDvF8l4zJMJtD q/Sc1gIZKnvSwy4WOS2JsBgRX9VpcSpDstoNi2HG7uxycZuBDCkFa4gr2VHtrA== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.07 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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" X-Migadu-Queue-Id: 4E9273B31F X-Spam-Score: -2.07 X-TUID: QZ5ryD3OTblj On 2023-05-30, at 20:45, Marcin Borkowski wrote: >> Just use `org-export-as'. > > Thanks again, I didn't know about that function! I tried playing around with it, but it has one drawback - I can't use it to export a subtree containing a link to another subtree, and that is something I will definitely need. (I can see why it works that way - for that to work, I have to somehow make sure that subtrees containing targets of those links are also exported at some point in time - but I need another behavior...) My current idea is to go with a custom exporter derived from the HTML one, indeed. Is there a better approach? Best, -- Marcin Borkowski http://mbork.pl