From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gary Oberbrunner Subject: export "simple" HTML? Date: Sun, 12 Oct 2014 14:14:27 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdNfA-0004eX-T8 for emacs-orgmode@gnu.org; Sun, 12 Oct 2014 14:14:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XdNf3-0004Ps-EQ for emacs-orgmode@gnu.org; Sun, 12 Oct 2014 14:14:36 -0400 Received: from mail-pa0-f51.google.com ([209.85.220.51]:49312) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdNf3-0004Pm-8u for emacs-orgmode@gnu.org; Sun, 12 Oct 2014 14:14:29 -0400 Received: by mail-pa0-f51.google.com with SMTP id lj1so4565368pab.24 for ; Sun, 12 Oct 2014 11:14:27 -0700 (PDT) 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: Orgmode Mailing List 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. -- Gary From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: export "simple" HTML? Date: Mon, 13 Oct 2014 02:46:02 +0800 Message-ID: <87a9512kk5.fsf@ericabrahamsen.net> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdO8l-0001hE-Dj for emacs-orgmode@gnu.org; Sun, 12 Oct 2014 14:45:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XdO8f-0004aL-PR for emacs-orgmode@gnu.org; Sun, 12 Oct 2014 14:45:11 -0400 Received: from plane.gmane.org ([80.91.229.3]:38701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdO8f-0004ZQ-Iv for emacs-orgmode@gnu.org; Sun, 12 Oct 2014 14:45:05 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XdO8d-0007Uf-8n for emacs-orgmode@gnu.org; Sun, 12 Oct 2014 20:45:03 +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 ; Sun, 12 Oct 2014 20:45:03 +0200 Received: from eric by 114.248.11.237 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Oct 2014 20:45:03 +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 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. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Rettke Subject: Re: export "simple" HTML? Date: Sun, 12 Oct 2014 20:02:09 -0500 Message-ID: References: <87a9512kk5.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdU1b-0002yn-Lv for emacs-orgmode@gnu.org; Sun, 12 Oct 2014 21:02:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XdU1a-0007vI-HK for emacs-orgmode@gnu.org; Sun, 12 Oct 2014 21:02:11 -0400 Received: from mail-oi0-x231.google.com ([2607:f8b0:4003:c06::231]:53292) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdU1a-0007vE-9n for emacs-orgmode@gnu.org; Sun, 12 Oct 2014 21:02:10 -0400 Received: by mail-oi0-f49.google.com with SMTP id a3so11453433oib.8 for ; Sun, 12 Oct 2014 18:02:09 -0700 (PDT) In-Reply-To: <87a9512kk5.fsf@ericabrahamsen.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: Eric Abrahamsen Cc: "emacs-orgmode@gnu.org" If it is an easy answer, how would one do this in batch mode? 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. > > --=20 Grant Rettke gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/ =E2=80=9CWisdom begins in wonder.=E2=80=9D --Socrates ((=CE=BB (x) (x x)) (=CE=BB (x) (x x))) =E2=80=9CLife has become immeasurably better since I have been forced to st= op taking it seriously.=E2=80=9D --Thompson 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. >> >> From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Niessen Subject: Re: export "simple" HTML? Date: Mon, 13 Oct 2014 09:47:51 +0200 Message-ID: <86h9z8wguw.fsf@example.com> References: <87a9512kk5.fsf@ericabrahamsen.net> <8761fo3drd.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Eric Abrahamsen wrote: > Grant Rettke writes: >> 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. >> >> 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. Making advertisement for my own stuff, you now have the option "--body-only" to the Orgmk family of scripts (among others, org2html). See https://github.com/fniessen/orgmk for more information (or example code). Best regards, Fabrice -- Fabrice Niessen Leuven, Belgium http://www.pirilampo.org/