Hi Myles, Myles English wrote: > Trying to export as ascii an included file fails with "Reference > 'example-table' not found in this buffer". > > Is this a bug? > > This is the contents of the file I run C-c C-e a from: > > * Main > #+INCLUDE: "./org-example.org" > > Where org-example.org contains only the example at > http://orgmode.org/org.html#Tables but with the adition of ":exports > results": > > #+TBLNAME: example-table > | 1 | > | 2 | > | 3 | > | 4 | > > #+NAME: table-length > #+BEGIN_SRC emacs-lisp :var table=example-table :exports results > (length table) > #+END_SRC > > And the error is: > > Debugger entered--Lisp error: (error "Reference 'example-table' not found in > this buffer")
Did you try first locally in the same file? Did you try with downcase for the TBLNAME keyword? I know it (all upper or down-case) was important at some point in time, but don't remember if this is still of importance. Best regards Seb -- Sebastien Vauban