emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Problem with src_ruby inline code and []


From: Nicolas Goaziou
Subject: Re: [O] Problem with src_ruby inline code and []
Date: Wed, 16 Mar 2016 18:18:34 +0100

Hello,

"Charles C. Berry" <address@hidden> writes:

> On Tue, 15 Mar 2016, William Denton wrote:
>
>> I was updating and exporting a file where I use Ruby to do some basic 
>> arithmetic on tables, and noticed that inline code blocks where I reference 
>> an array aren't working.
>>
>
> ECM:
>
> src_ruby[:var t=sampletable]{t[2][2]}
>
> #+BEGIN_SRC emacs-lisp
>    (save-excursion
>      (search-backward (concat "src" "_"))
>      (org-element-property :value (org-element-inline-src-block-parser)))
> #+END_SRC
>
> #+RESULTS: : t[2

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]