[-- Attachment #1: Type: text/plain, Size: 465 bytes --] FYI, From http://orgmode.org/worg/org-contrib/babel/intro.html #+name: square(x) #+begin_src python return x*x #+end_src Now we use the source block: #+call: square(x=6) yields Reference 'square' not found in this buffer . It works fine if the parameter name is removed from the #name block: #+name: square #+begin_src python return x*x #+end_src Now we use the source block: #+call: square(x=6) #+RESULTS: square(x=6) : 36 ---George Jones [-- Attachment #2: Type: text/html, Size: 2421 bytes --]
George Jones <eludom@gmail.com> writes: > From http://orgmode.org/worg/org-contrib/babel/intro.html > > #+name: square(x) > > #+begin_src python > > return x*x > > #+end_src > > Now we use the source block: > > > > #+call: square(x=6) > > yields > > Reference 'square' not found in this buffer . > Fixed, thanks. Tom -- Thomas S. Dye http://www.tsdye.com
[-- Attachment #1: Type: text/plain, Size: 110 bytes --] Hi George, George Jones <eludom@gmail.com> writes: > FYI, Things work fine for me with the attached file. [-- Attachment #2: square.org --] [-- Type: application/vnd.lotus-organizer, Size: 148 bytes --] [-- Attachment #3: Type: text/plain, Size: 14 bytes --] -- Bastien