On Thu, Jan 17, 2019 at 8:21 AM mgcyung wrote: > > The function "org-export-get-ordinal" returns the ordinal of an element > in the whole file. How to get ordinal of an element in the subtree when > exporting? > Do you mean you want the ordinal counting to reset when the subtree begins? In that case, export with the subtree scope: C-c C-e C-s ..