From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: export "simple" HTML? Date: Mon, 13 Oct 2014 10:27:34 +0800 Message-ID: <8761fo3drd.fsf@ericabrahamsen.net> References: <87a9512kk5.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdVHk-0004RN-Rk for emacs-orgmode@gnu.org; Sun, 12 Oct 2014 22:23:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XdVHf-0004nA-Qi for emacs-orgmode@gnu.org; Sun, 12 Oct 2014 22:22:56 -0400 Received: from plane.gmane.org ([80.91.229.3]:48795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdVHf-0004mG-KO for emacs-orgmode@gnu.org; Sun, 12 Oct 2014 22:22:51 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XdVHe-00079U-Jw for emacs-orgmode@gnu.org; Mon, 13 Oct 2014 04:22:50 +0200 Received: from 114.248.11.237 ([114.248.11.237]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Oct 2014 04:22:50 +0200 Received: from eric by 114.248.11.237 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Oct 2014 04:22:50 +0200 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 Grant Rettke writes: > If it is an easy answer, how would one do this in batch mode? I've never actually exported anything in batch mode, so I won't be able to provide a real recipe, but body-only is one of the main export options, usually given as an argument to org-export-as (and family). If you're calling any one of those export functions directly as part of the batch export, you can just set that argument to t. Hope that's enough to get you there... > On Sun, Oct 12, 2014 at 1:46 PM, Eric Abrahamsen > wrote: >> Gary Oberbrunner writes: >> >>> Has anyone created an HTML exporter that just exports "simple" HTML >>> with no fancy CSS stuff, just "normal" tags like and and >>> and and
  • ? Basically something that could be pasted into >>> an email or a larger document. The current HTML export is beautiful, >>> but it adds all kinds of divs, spans, CSS tags, and other extraneous >>> stuff. >> >> Try the "body only" export option: in the export dispatcher, hit "C-b" >> to toggle. That should give you clean HTML with no file template, and no >> bells and whistles. >> >>