* Something wrong with the src_python babel execution
@ 2014-12-15 15:42 iemacs
0 siblings, 0 replies; only message in thread
From: iemacs @ 2014-12-15 15:42 UTC (permalink / raw)
To: org-mode
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-12-15 15:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-15 15:42 Something wrong with the src_python babel execution iemacs
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).