emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: export of #+INCLUDE appears broken with :exports results
Date: Mon, 15 Oct 2012 14:30:19 +0200	[thread overview]
Message-ID: <80hapvc3z8.fsf@somewhere.org> (raw)
In-Reply-To: 87391fexaq.fsf@ed.ac.uk

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

  reply	other threads:[~2012-10-15 12:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-15 12:26 export of #+INCLUDE appears broken with :exports results Myles English
2012-10-15 12:30 ` Sebastien Vauban [this message]
2012-10-15 13:27   ` Myles English
2012-12-18 17:27     ` Bastien
2012-12-18 18:24       ` Nicolas Goaziou
2012-12-20 11:26         ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=80hapvc3z8.fsf@somewhere.org \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).