From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frank Fischer Subject: Bug: Additional empty line in TeXinfo export of #+BEGIN_SRC ... #+END_SRC [7.9.3e (7.9.3e-957-g03e433 @ /home/fifr/.emacs.d/el-get/org-mode/lisp/)] Date: Sun, 10 Feb 2013 11:00:36 +0100 Message-ID: <20130210110036.70cb93af@mawo> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4TlK-0003zd-Tz for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 05:03:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4TlI-0007p9-12 for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 05:03:54 -0500 Received: from mout3.freenet.de ([195.4.92.93]:51763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4TlH-0007oq-RD for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 05:03:51 -0500 Received: from [195.4.92.140] (helo=mjail0.freenet.de) by mout3.freenet.de with esmtpa (ID frank-fischer@shadow-soft.de) (port 25) (Exim 4.76 #1) id 1U4TlE-0008BB-KX for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 11:03:48 +0100 Received: from localhost ([::1]:41677 helo=mjail0.freenet.de) by mjail0.freenet.de with esmtpa (ID frank-fischer@shadow-soft.de) (Exim 4.76 #1) id 1U4TlE-0002WA-Ge for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 11:03:48 +0100 Received: from [195.4.92.12] (port=39685 helo=2.mx.freenet.de) by mjail0.freenet.de with esmtpa (ID frank-fischer@shadow-soft.de) (Exim 4.76 #1) id 1U4TiN-00075W-Md for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 11:00:51 +0100 Received: from i59f6c010.versanet.de ([89.246.192.16]:57335 helo=mawo) by 2.mx.freenet.de with esmtpsa (ID frank-fischer@shadow-soft.de) (UNKNOWN:AES128-SHA:128) (port 465) (Exim 4.76 #1) id 1U4TiM-0006D6-2t for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 11:00:51 +0100 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 Consider the following minimal org-file: === One line before #+BEGIN_SRC shell Some example #+END_SRC One line after === When exporting to texi, the file contains an additional empty line before the "@end example": === ... One line before @example Some example @end example One line after ... === While this makes no difference for the resulting "info" file when converting this file by "makeinfo test.texi", it does make a difference when converting to pdf by "texi2pdf test.texi": there's an extra empty line between the example and the following text. Therefore I think the exported file should not contain that empty line. Emacs : GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-11-09 on lakoocha, modified by Debian Package: Org-mode version 7.9.3e (7.9.3e-957-g03e433 @ ~/.emacs.d/el-get/org-mode/lisp/)