From: Myles English <mylesenglish@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: export of #+INCLUDE appears broken with :exports results
Date: Mon, 15 Oct 2012 13:26:21 +0100 [thread overview]
Message-ID: <87391fexaq.fsf@ed.ac.uk> (raw)
Hi,
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")
signal(error ("Reference 'example-table' not found in this buffer"))
error("Reference '%s' not found in this buffer" "example-table")
org-babel-ref-resolve("example-table")
org-babel-ref-parse("table=example-table")
#[(el) "\bA:\203 \bA\207\301\bA!\207" [el org-babel-ref-parse] 2]((:var . "table=example-table"))
mapcar(#[(el) "\bA:\203 \bA\207\301\bA!\207" [el org-babel-ref-parse] 2] ((:var . "table=example-table")))
org-babel-process-params(((:comments . "") (:shebang . "") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle . "no") (:exports . "results") (:results . "replace") (:var . "table=example-table") (:session . "none") (:padnewline . "yes") (:hlines . "yes") (:colnames . "no")))
org-babel-exp-src-block(("emacs-lisp" ":var" "table=example-table" ":exports" "results"))
org-export-blocks-preprocess()
org-export-preprocess-string(#("\n* Main\n#+INCLUDE: \"./org-example.org\"\n" 0 1 (fontified t) 1 3 (fontified t face org-level-1) 3 7 (fontified t face org-level-1) 7 8 (fontified t) 8 38 (fontified t font-lock-fontified t face org-meta-line) 38 39 (fontified t)) :for-backend ascii :skip-before-1st-heading nil :drawers nil :tags not-in-toc :priority nil :footnotes t :timestamps t :todo-keywords t :tasks t :verbatim-multiline t :select-tags ("export") :exclude-tags ("noexport") :archived-trees headline :add-text nil)
org-export-as-ascii(nil)
call-interactively(org-export-as-ascii)
org-export(nil)
call-interactively(org-export nil nil)
Thanks,
Myles
next reply other threads:[~2012-10-15 12:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-15 12:26 Myles English [this message]
2012-10-15 12:30 ` export of #+INCLUDE appears broken with :exports results Sebastien Vauban
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87391fexaq.fsf@ed.ac.uk \
--to=mylesenglish@gmail.com \
--cc=emacs-orgmode@gnu.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.