Re: Automated naming of tables

2025-06-08 Thread Ihor Radchenko
Roger Mason writes: > 5. Find the heading hierarchy up to the nearest level 1 heading in > which point lies. (How?). > 6. Concatenate the heading names into a string with a separator > (perhaps '_'). See org-get-heading > If anyone has already done something like this, please point me

Automated naming of tables

2025-05-15 Thread Roger Mason
Hello, I would like to develop a method to name tables based on their position in the heading hierarchy. This is the proposed algorithm (if if deserves such a dignity!): 1. Manually insert tables as required, label tables by '#+tblname:' 2. Search forward for #+tblname: leaves point before ':'