Org-mode mailing list
 help / color / mirror / Atom feed
* Call org-collector dynamic block
       [not found] <bf3cf52e-bd44-3e35-538b-ac8f8850ae74.ref@verizon.net>
@ 2021-01-11 21:59 ` Charles Millar
  0 siblings, 0 replies; only message in thread
From: Charles Millar @ 2021-01-11 21:59 UTC (permalink / raw)
  To: emacs-orgmode

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-11 21:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bf3cf52e-bd44-3e35-538b-ac8f8850ae74.ref@verizon.net>
2021-01-11 21:59 ` Call org-collector dynamic block Charles Millar

Org-mode mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://orgmode.org/list/0 list/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 list list/ https://orgmode.org/list \
		emacs-orgmode@gnu.org
	public-inbox-index list

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.orgmode
	nntp://news.gmane.io/gmane.emacs.orgmode


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git