[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Evaluating inline source blocks on export issue
From: |
Nick Dokos |
Subject: |
Re: [O] Evaluating inline source blocks on export issue |
Date: |
Wed, 23 Jul 2014 08:43:24 -0400 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3.50 (gnu/linux) |
Grant Rettke <address@hidden> writes:
> 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.
>
The following works for me:
--8<---------------cut here---------------start------------->8---
#+name: square
#+begin_src emacs-lisp :var it=0 :exports none
(* it it)
#+end_src
Here is a call_square(it=4), stuck in the middle of some prose.
--8<---------------cut here---------------end--------------->8---
--
Nick