From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: Export to multiple HTML files Date: Thu, 26 Feb 2015 18:50:03 +0100 Message-ID: <877fv4sgtw.fsf@wmi.amu.edu.pl> References: <87385svd0s.fsf@enterprise.sectorq.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YR2Zk-00027y-Gl for emacs-orgmode@gnu.org; Thu, 26 Feb 2015 12:50:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YR2Ze-0007qr-LN for emacs-orgmode@gnu.org; Thu, 26 Feb 2015 12:50:16 -0500 Received: from msg.wmi.amu.edu.pl ([150.254.78.50]:33171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YR2Ze-0007qS-Fk for emacs-orgmode@gnu.org; Thu, 26 Feb 2015 12:50:10 -0500 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id EBCF457AE2 for ; Thu, 26 Feb 2015 18:50:08 +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 k7NrbSlguUkJ for ; Thu, 26 Feb 2015 18:50:08 +0100 (CET) Received: from localhost (117-116.echostar.pl [213.156.117.116]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id AD72457AE0 for ; Thu, 26 Feb 2015 18:50:08 +0100 (CET) In-reply-to: <87385svd0s.fsf@enterprise.sectorq.net> 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: emacs-orgmode@gnu.org On 2015-02-26, at 17:44, Pete Ley wrote: > I can't seem to find anything in the manual or the googles. > > Is there a ready-made way to use ox-html to export a subtree or file to > multiple HTML files? What I'm looking for is that format you find in > documentation (texinfo maybe? I'm not sure what is used -- forgive my > ignorance) online where it gives you the option of HTML -- one file and > HTML -- multiple files. Each heading's HTML file would just contain its > entry text and links to the HTML files of the subtrees. This: https://github.com/mbork/org-one-to-many may be a starting point. It is a small library which splits an org file into many smaller ones. (Bug reports/feature requests welcome, btw.) The main function returns the list of generated files, so you could #'mapc some export function over it. > Is this possible or do I need to hack something? > > Thanks Hth, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University