From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Exporting to multiple files Date: Sun, 9 Mar 2014 02:34:09 +0100 Message-ID: <20140309023409.15f5bd11@aga-netbook> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMSd8-0005g0-P8 for emacs-orgmode@gnu.org; Sat, 08 Mar 2014 20:34:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WMSd3-0006Tm-75 for emacs-orgmode@gnu.org; Sat, 08 Mar 2014 20:34:18 -0500 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:45356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMSd3-0006Te-0g for emacs-orgmode@gnu.org; Sat, 08 Mar 2014 20:34:13 -0500 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 844D542066 for ; Sun, 9 Mar 2014 02:34:11 +0100 (CET) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d8o6zxdLkeZ3 for ; Sun, 9 Mar 2014 02:34:11 +0100 (CET) Received: from aga-netbook (99-234.echostar.pl [213.156.99.234]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 5451A42062 for ; Sun, 9 Mar 2014 02:34:11 +0100 (CET) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org-mode mailing list Hi all, I'd like to export an Org-mode file to /multiple/ HTML files. For instance, I might want to convert all first and second level headings to files, and third-level headings to

, fourth-level ones to

inside these files etc. Is that possible? I looked into the docs, but didn't find anything like this. Of course, there's an issue of /naming/ these files. Basing the names on the text of the heading would be the best thing to have, but it's not strictly necessary for me - numbers or (as a /very last/ resort) some kind of SHA hashes might do as well. (In fact, I'd like to write a custom HTML exporter based on the HTML one, so that I'd be fine with some Elisp to do this as opposed to just setting some variables.) TIA, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University