From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [patch] Re: meaning of body-only in org-export-as-html Date: Mon, 02 Apr 2012 10:07:41 +0200 Message-ID: <87aa2u4kvm.fsf@gnu.org> References: <87k42k18i5.fsf@gmail.com> <87haxgheoe.fsf@gmail.com> <87obrcie1l.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SEcHV-0003vU-Ho for emacs-orgmode@gnu.org; Mon, 02 Apr 2012 04:06:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SEcHT-0005Ve-KR for emacs-orgmode@gnu.org; Mon, 02 Apr 2012 04:06:29 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:40522) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SEcHT-0005VS-CG for emacs-orgmode@gnu.org; Mon, 02 Apr 2012 04:06:27 -0400 Received: by wibhj13 with SMTP id hj13so1903812wib.12 for ; Mon, 02 Apr 2012 01:06:25 -0700 (PDT) In-Reply-To: <87obrcie1l.fsf@gmail.com> (Chris Gray's message of "Sat, 31 Mar 2012 16:47:02 -0600") 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: Chris Gray Cc: Myles English , emacs-orgmode@gnu.org Hi Chris, Chris Gray writes: >> I see one problem in that it would be then be inconsistent with >> org-export-as-ascii which considers the TOC to be part of the header. I >> would like to be able to export just the TOC (as ascii, and I understand >> a new ascii exporter has been written lately). The same thing for the >> html exporter would presumably solve your problem too because then you >> could export TOC+body (as html)? > > The thing is, the docstring is not consistent with the code. It would > make my life easier if the code was changed to match the docstring, but > I would also be okay if the opposite happened. > > I am also looking forward to the new exporter being ready, but I guess > this small issue should be fixed in the current exporter until it is. > > I have attached the patch that I suggested for the HTML exporter. I'm ready to apply this patch, but can you add a proper Emacs ChangeLog? Thanks, -- Bastien