From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Leech-Pepin Subject: Re: Fwd: Export to Texinfo Date: Fri, 3 Aug 2012 09:30:02 -0400 Message-ID: References: <87y5meaib9.fsf@gmail.com> <87a9yupn0c.fsf@gmail.com> <871ujppaty.fsf@gnu.org> <87a9yccqqr.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxHxA-0005mG-87 for emacs-orgmode@gnu.org; Fri, 03 Aug 2012 09:30:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SxHx8-00027p-TL for emacs-orgmode@gnu.org; Fri, 03 Aug 2012 09:30:08 -0400 Received: from mail-yx0-f169.google.com ([209.85.213.169]:36765) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxHx8-0001z8-KF for emacs-orgmode@gnu.org; Fri, 03 Aug 2012 09:30:06 -0400 Received: by yenr5 with SMTP id r5so952457yen.0 for ; Fri, 03 Aug 2012 06:30:02 -0700 (PDT) In-Reply-To: <87a9yccqqr.fsf@gmail.com> 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: Nicolas Goaziou Cc: Org Mode Mailing List Hello, On Fri, Aug 3, 2012 at 4:41 AM, Nicolas Goaziou wrote: > Hello, > > Jonathan Leech-Pepin writes: > >> Nested lists do work with only a small issue I can see at the moment, >> if there are no blank lines between the items in org there are none in >> the info file either, however there are 2 blank lines at the end of >> the nested list (end of nested list+end of parent item). > > By default, Org export preserves the number of blank lines during > conversion. If no blank line separates two elements in the Org buffer, > no blank line will separate their transcoded version. > > You can change this by using filters. For example "md" back-end > enforces at least one blank line between elements (see > `org-md-separate-elements') and "e-ascii" back-end normalizes the number > of blank lines after an headline (see > `org-e-ascii-filter-headline-blank-lines'). > > Filters are installed by :filters-alist keyword in > `org-export-define-backend' and `org-export-define-derived-backend'. > I thought I'd set it to normalize (set a filter similar to the one in org-e-ascii), but I must have gotten some part not quite right. I'll look it over again. >> When I export the attached .org file the only difference I get from >> your .texi is the AUTHOR and the chapter/sections are numbered rather >> than unnumbered (and the level 4 headline is an enumerate rather than >> an itemize). > > Ideally, for "listified" headlines, list type (ordered or not) should be > determined by `org-export-numbered-headline-p' predicate. > They do follow the numbered/unnumbered settings. When I exported every headline (listified or otherwise) was numbered, in Bastien's example they were all unnumbered, so it was consistent. > > Regards, > > -- > Nicolas Goaziou Regards, -- Jon