1 line
1.3 KiB
Plaintext
1 line
1.3 KiB
Plaintext
<!-- SC_OFF --><div class="md"><p>I have a clocktable that looks like this:</p> <p>```</p> <h1>+BEGIN: clocktable :maxlevel 2 :scope file-with-archives :link t :tstart "2021-08-31" :tags t :sort (1 . ?a)</h1> <h1>+CAPTION: Clock summary at [2021-09-11 Sat 11:53]</h1> <p>| Tags | Headline | Time | | |---------------------+-------------------------------------+---------+------| | | <em>Total time</em> | <em>00:42</em> | | |---------------------+-------------------------------------+---------+------| | | [[file:/home/me/some.org::*Tasks][Tasks]] | 00:42 | | | a | _ [[file:home/me/some.org::*First Task][First Task]] | | 0:18 | | a, b | _ [[file:home/me/some.org::*Second Task][Second Task]] | | 0:24 | |---------------------+-------------------------------------+---------+------|</p> <h1>+END:</h1> <p>```</p> <p>How can I reference the table inside a source block? Adding a <code>#+NAME:</code> doesn't seem to be sufficient.</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/heyarne"> /u/heyarne </a> <br/> <span><a href="https://www.reddit.com/r/orgmode/comments/pm5be8/use_clocktable_in_source_block/">[link]</a></span>   <span><a href="https://www.reddit.com/r/orgmode/comments/pm5be8/use_clocktable_in_source_block/">[comments]</a></span> |