[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Something wrong with the src_python babel execution
From: |
iemacs |
Subject: |
[O] Something wrong with the src_python babel execution |
Date: |
Mon, 15 Dec 2014 10:42:19 -0500 |
Hi,
I'm using GNU Emacs 24.4.4 (x86_64-apple-darwin13.4.0, Carbon Version
157 AppKit 1265.21) with Org-mode version 8.2.10
(8.2.10-29-g89a0ac-elpaplus).
Example file:
--8<---------------cut here---------------start------------->8---
#+BEGIN_SRC python :session test :exports none
a = 0.55
#+END_SRC
The result is src_python[:session test :results raw]{'${:.1f}$'.format(a)}.
--8<---------------cut here---------------end--------------->8---
This used to execute without any problem. Now the related latex export is:
--8<---------------cut here---------------start------------->8---
The result is
\$'.format(a)\}.
--8<---------------cut here---------------end--------------->8---
And there are the outputs in the *test* session:
--8<---------------cut here---------------start------------->8---
>>> '${:.1f
'${:.1f
File "<stdin>", line 1
'${:.1f
^
SyntaxError: EOL while scanning string literal
--8<---------------cut here---------------end--------------->8---
Yours faithfully,
Tian Qiu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] Something wrong with the src_python babel execution,
iemacs <=