[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Evaluating inline source blocks on export issue
From: |
Grant Rettke |
Subject: |
Re: [O] Evaluating inline source blocks on export issue |
Date: |
Wed, 23 Jul 2014 08:20:07 -0500 |
Thanks for looking Thomas and Nick.
When I set this and export
,----
| (setq org-export-babel-evaluate t)
`----
I get the expected result of
,----
| Here is a `16', stuck in the middle of some prose.
`----
But when I do this and export
,----
| (setq org-export-babel-evaluate 'inline-only)
`----
I get this output which is not what I expected
,----
| Here is a , stuck in the middle of some prose.
`----
I thought that I was enabling inline code block execution correctly
and making the inline call correctly.
How does it look should it be doing what I had wanted?
I have not yet begun trimming down my org initialization, and trying
to decide when I need to start narrowing things down by deduction.
Grant Rettke | ACM, ASA, FSF, IEEE, SIAM
address@hidden | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson
On Wed, Jul 23, 2014 at 7:43 AM, Nick Dokos <address@hidden> wrote:
> 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
>
>