* traling whitespace inconsistency for inline babel
@ 2015-01-31 11:13 Daniele Pizzolli
2015-01-31 17:19 ` Charles C. Berry
0 siblings, 1 reply; 3+ messages in thread
From: Daniele Pizzolli @ 2015-01-31 11:13 UTC (permalink / raw)
To: Charles C. Berry; +Cc: org-mode mailing list
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 .
Thanks,
Daniele
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: traling whitespace inconsistency for inline babel
2015-01-31 11:13 traling whitespace inconsistency for inline babel Daniele Pizzolli
@ 2015-01-31 17:19 ` Charles C. Berry
2015-01-31 17:42 ` Daniele Pizzolli
0 siblings, 1 reply; 3+ messages in thread
From: Charles C. Berry @ 2015-01-31 17:19 UTC (permalink / raw)
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 <mail@nicolasgoaziou.fr>
Date: Sat Jan 31 12:46:50 2015 +0100
which is the latest in master.
Chuck
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: traling whitespace inconsistency for inline babel
2015-01-31 17:19 ` Charles C. Berry
@ 2015-01-31 17:42 ` Daniele Pizzolli
0 siblings, 0 replies; 3+ messages in thread
From: Daniele Pizzolli @ 2015-01-31 17:42 UTC (permalink / raw)
To: Charles C. Berry; +Cc: org-mode mailing list
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 <mail@nicolasgoaziou.fr>
> Date: Sat Jan 31 12:46:50 2015 +0100
>
> which is the latest in master.
Now me too. Thanks again,
Daniele
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-31 17:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-31 11:13 traling whitespace inconsistency for inline babel Daniele Pizzolli
2015-01-31 17:19 ` Charles C. Berry
2015-01-31 17:42 ` Daniele Pizzolli
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).