From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: ox-texinfo: empty line before "* Menu:" is missing Date: Wed, 06 Apr 2016 22:29:13 +0200 Message-ID: <87inzu8orq.fsf@nicolasgoaziou.fr> References: <87wpoahbh4.fsf@bernoul.li> <87vb3uh8ew.fsf@bernoul.li> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anu2d-00034X-JA for emacs-orgmode@gnu.org; Wed, 06 Apr 2016 16:27:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anu2a-0000Na-Cy for emacs-orgmode@gnu.org; Wed, 06 Apr 2016 16:27:07 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:47668) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anu2a-0000NW-7X for emacs-orgmode@gnu.org; Wed, 06 Apr 2016 16:27:04 -0400 In-Reply-To: <87vb3uh8ew.fsf@bernoul.li> (Jonas Bernoulli's message of "Wed, 06 Apr 2016 20:57:43 +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: Jonas Bernoulli Cc: emacs-orgmode@gnu.org Hello, Jonas Bernoulli writes: > The related `org-texinfo--build-menu' has a similar issue. Unlike > `org-texinfo-make-menu' which may end up not inserting a newline > when it should, it may end up removing a newline when it should not. > > Given this Org file: > > #+TITLE: Demo2 Manual > #+TEXINFO_DIR_CATEGORY: Emacs > #+TEXINFO_DIR_TITLE: Demo2: (demo2). > #+TEXINFO_DIR_DESC: Demo2. > > * chapter ends with subsection > > ** section > > *** subsection > > * chapter ends with section > > ** just a section > > * another chapter > > we end up with an info file containing > > * subsection:: > chapter ends with section > > but there should be an empty line between these two lines. Fixed. Thank you. Regards, -- Nicolas Goaziou