From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulf Stegemann Subject: Re: Exporting to single LaTeX file and multiple HTML files Date: Thu, 22 Apr 2010 17:44:16 +0200 Message-ID: References: <87wrvzcya9.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4ya8-0005LR-5N for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 11:44:48 -0400 Received: from [140.186.70.92] (port=47945 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4ya6-0005L5-E8 for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 11:44:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4ya1-0001if-Vx for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 11:44:46 -0400 Received: from lo.gmane.org ([80.91.229.12]:51751) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4ya1-0001ib-PW for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 11:44:41 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O4ya0-00060W-In for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 17:44:40 +0200 Received: from london.zeitform.net ([146.140.213.100]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Apr 2010 17:44:35 +0200 Received: from ulf-news by london.zeitform.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Apr 2010 17:44:35 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Sebastian, Sebastian Rose wrote: > Ulf Stegemann writes: >> I'm wondering what's the best way to export a single org file to a >> /single/ LaTeX file but also to /multiple/ HTML files. Think of lengthy >> manuals and things like that where such a strategy may be sensible. What >> came to my mind were include commands or publishing functions that >> post-process the export but this seems all rather cumbersome. Has anyone >> a better idea? > > - http://orgmode.org/worg/code/org-info-js/ yes, this is a nice one but sometimes separate files are really needed. > - pdftohtml Ah, a clever one, too ;) Sure, it's possible to create a PDF and convert it to HTML later on but this still seems a bit cumbersome and I'm not quite sure about the reliability of the tool. When I used it last (some time ago) it desperately failed on some PDFs. Originally, I thought I could somehow achieve some sort of `split' behaviour (e.g. like in texi2html) where you can specify to create a separate file on export for every first (second, third ...) level headline. But that's probably a bit tricky. Ulf