From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: traling whitespace inconsistency for inline babel Date: Sat, 31 Jan 2015 09:19:40 -0800 Message-ID: References: <86k3035hk6.fsf@me.localhost.invalid> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHbi0-0004f1-El for emacs-orgmode@gnu.org; Sat, 31 Jan 2015 12:19:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHbhv-0005eB-GW for emacs-orgmode@gnu.org; Sat, 31 Jan 2015 12:19:48 -0500 Received: from iport-acv1-out.ucsd.edu ([132.239.0.176]:47768) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHbhv-0005du-7c for emacs-orgmode@gnu.org; Sat, 31 Jan 2015 12:19:43 -0500 In-Reply-To: <86k3035hk6.fsf@me.localhost.invalid> 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: Daniele Pizzolli Cc: org-mode mailing list On Sat, 31 Jan 2015, Daniele Pizzolli wrote: > Hello Charles, > > Thanks for fixing the leading whitespace issue. > > I found another, more impacting, inconsistency involving trailing > whitespace during export in release_8.3beta-780-g37fc86: > > The following line in org: > > 1 + 4 in R is src_R[:exports results]{1+4}. > > Export in latex correctly as: > > 1 + 4 in R is 5. > > while the following (with the babel result): > > 1 + 4 in R is src_R[:exports results]{1+4} {{{results(5)}}}. > > export with an extra trailing whitespace in latex: > > 1 + 4 in R is 5 . Both are wrong for *latex*. But I get 1 + 4 in R is \texttt{5}. In both cases, and when I export to pdf I get `5.' (via copy and paste). I am using commit a752684bf0368ddea1f6480157e770c0dd57b7a5 Author: Nicolas Goaziou Date: Sat Jan 31 12:46:50 2015 +0100 which is the latest in master. Chuck