[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Call org-collector dynamic block
From: |
Charles Millar |
Subject: |
Call org-collector dynamic block |
Date: |
Mon, 11 Jan 2021 16:59:11 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Call org-collector dynamic block,
Charles Millar <=