From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Option for minimalist html file Date: Wed, 23 May 2012 17:17:21 +0530 Message-ID: <81ehqbazli.fsf@gmail.com> References: <1337363998.45694.YahooMailNeo@web121405.mail.ne1.yahoo.com> <1337716856.46783.YahooMailNeo@web121405.mail.ne1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXA2W-0003xH-CL for emacs-orgmode@gnu.org; Wed, 23 May 2012 07:47:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SXA2R-0002Jn-LN for emacs-orgmode@gnu.org; Wed, 23 May 2012 07:47:39 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:33070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXA2R-0002JT-C3 for emacs-orgmode@gnu.org; Wed, 23 May 2012 07:47:35 -0400 Received: by pbbrp2 with SMTP id rp2so10387935pbb.0 for ; Wed, 23 May 2012 04:47:33 -0700 (PDT) In-Reply-To: <1337716856.46783.YahooMailNeo@web121405.mail.ne1.yahoo.com> (Endak A.'s message of "Tue, 22 May 2012 13:00:56 -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: Endak A Cc: "emacs-orgmode@gnu.org" Endak A writes: > Can there be an option like > #+OPTIONS: html-minimal:t > > which does not have > > > >
> ... >
> >
> ... >
> > or any of the meta tags except : > > > or
and the accompanying
but obviously the > stuff in-between. > > If I want to, I can insert any of the html code that is missing from > the minimalist version that I want using #+HTML: or #+STYLE: You need to use the new e-html exporter and roll out your own defun for custom template. Get the default template function: M-: (assoc-default 'template org-e-html-translate-alist) => org-e-html-template Replace the default template function with your own: M-: (setcdr (assoc 'template org-e-html-translate-alist) 'org-my-e-html-template) Fill out org-my-e-html-template based on your needs. (Hint: M-x load-library RET org-e-html and M-x find-function RET org-e-html-template) > > > Best wishes, > > Enda > > > > --