[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Evaluating inline source blocks on export issue
From: |
Grant Rettke |
Subject: |
[O] Evaluating inline source blocks on export issue |
Date: |
Tue, 22 Jul 2014 20:50:46 -0500 |
Good evening,
From [org-scraps] I pasted this example into a buffer:
,—-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
#+name: square
#+begin_src emacs-lisp :var it=0
(* it it)
#+end_src
Here is a call_square(it=4), stuck in the middle of some prose.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
`—-
When I export the buffer I get:
,—-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
╭────
│ (* it it)
╰────
Here is a , stuck in the middle of some prose.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
`—-
I expected a 16 to have appeared there.
I did double check that inline call blocks work on export:
╭────
│ (list org-export-babel-evaluate)
╰────
#+NAME:
| inline-only |
Clearly I am missing something.
What am I doing wrong here?
My environment:
╭────
│ (format "%S" (emacs-version))
╰────
#+NAME:
#+begin_example
"GNU Emacs 24.3.1 (x86_64-apple-darwin13.2.0, Carbon Version 1.6.0
AppKit 1265.2)
of 2014-07-03 on orion"
#+end_example
╭────
│ (format "%S" (org-version))
╰────
#+NAME:
#+begin_example
"8.2.7a"
#+end_example
Kind regards,
gcr
[org-scraps]
https://raw.githubusercontent.com/eschulte/org-scraps/master/scraps.org
- [O] Evaluating inline source blocks on export issue,
Grant Rettke <=