emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] traling whitespace inconsistency for inline babel


From: Daniele Pizzolli
Subject: Re: [O] traling whitespace inconsistency for inline babel
Date: Sat, 31 Jan 2015 18:42:54 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Hello Charles,

"Charles C. Berry" writes:

> 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*.

Yes, you are right.  Thanks and sorry for the noise.  A complete restart
of emacs fixed this.  I made the previous test after an el-get-update
org-mode and org-reload.  Maybe I misconfigured something.

> But I get
>
> 1 + 4 in R is \texttt{5}.

I also forgot to mention that there was no \texttt{} because of custom
setting: (setq org-babel-inline-result-wrap "%s").  Sure, now I have the
correct output.

> In both cases, and when I export to pdf I get `5.' (via copy and
> paste).

I used export to latex buffer (C-c C-e l L).

> I am using
>
>  commit a752684bf0368ddea1f6480157e770c0dd57b7a5
>   Author: Nicolas Goaziou <address@hidden>
>   Date:   Sat Jan 31 12:46:50 2015 +0100
>
> which is the latest in master.

Now me too. Thanks again,
Daniele



reply via email to

[Prev in Thread] Current Thread [Next in Thread]