From: Charles Millar <millarc@verizon.net>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Call org-collector dynamic block
Date: Mon, 11 Jan 2021 16:59:11 -0500 [thread overview]
Message-ID: <bf3cf52e-bd44-3e35-538b-ac8f8850ae74@verizon.net> (raw)
In-Reply-To: bf3cf52e-bd44-3e35-538b-ac8f8850ae74.ref@verizon.net
I'd like to format (latex export) the output from a captured
org-collector dynamic block by using the resulting org-collector table
as a variable for source code block.
I have place #+name: before the collector block.
#+name: bar
#+BEGIN: propview :id "conveyances" :match "BreezyCorners" :cols (ITEM
CUSTOM_ID CONVEYANCEDATE RECORDDATE BOOK PAGE) :colnames (Title ID Dated
Recorded Book Page) :noquote t :defaultval "" :inherit (CONVEYANCEDATE
DEEDDATE RECORDDATE BOOK PAGE)
#+END:
When called from the source block (using :var table=bar) results
(error "Reference not found")
I have placed the #+name inside the block, e.g.,
#+BEGIN: propview :id "conveyances" :match "BreezyCorners" :cols (ITEM
CUSTOM_ID CONVEYANCEDATE RECORDDATE BOOK PAGE) :colnames (Title ID Dated
Recorded Book Page) :noquote t :defaultval "" :inherit (CONVEYANCEDATE
DEEDDATE RECORDDATE BOOK PAGE)
#+name: bar
#+END:
When I attempt to generate the table -Lisp error: (error "(user-error
Not at a table)")
The above idea was in StackOverflow concerning a columnview block - see
https://emacs.stackexchange.com/questions/30700/calling-dynamic-blocks.
Additionally I have reviewed the org-collector source code and I find no
provision concerning formatting the output, such as, I believe,
clocktable has in its code. I have attempted to use
#+BEGIN: propview :id "conveyances" :match "BreezyCorners" :cols (ITEM
CUSTOM_ID CONVEYANCEDATE RECORDDATE BOOK PAGE) :colnames (Title ID Dated
Recorded Book Page) :noquote t :defaultval "" :inherit (CONVEYANCEDATE
DEEDDATE RECORDDATE BOOK PAGE)
#+attr_latex: :mode table :align p{150pt}p{10pt}p{75pt}p{75pt}p{20pt}p20pt}
#+END:
again the Lisp error: (error "(user-error Not at a table)")
Any suggestions?
Charlie Millar
parent reply other threads:[~2021-01-11 21:59 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <bf3cf52e-bd44-3e35-538b-ac8f8850ae74.ref@verizon.net>]
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=bf3cf52e-bd44-3e35-538b-ac8f8850ae74@verizon.net \
--to=millarc@verizon.net \
--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 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).