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: Charles C. Berry
Subject: Re: [O] Problem with src_ruby inline code and []
Date: Tue, 15 Mar 2016 14:51:00 -0700
User-agent: Alpine 2.20 (OSX 67 2015-01-07)

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

HTH,

Chuck



reply via email to

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