From mboxrd@z Thu Jan 1 00:00:00 1970 From: mgcyung Subject: How to get ordinal of an element in the subtree when exporting? Date: Tue, 15 Jan 2019 20:38:00 +0800 Message-ID: <878szmw0yf.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:45795) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjNyp-00077S-Vc for emacs-orgmode@gnu.org; Tue, 15 Jan 2019 07:38:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gjNyp-000814-34 for emacs-orgmode@gnu.org; Tue, 15 Jan 2019 07:38:07 -0500 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]:45596) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gjNyo-0007zq-Qs for emacs-orgmode@gnu.org; Tue, 15 Jan 2019 07:38:07 -0500 Received: by mail-pf1-x430.google.com with SMTP id g62so1252617pfd.12 for ; Tue, 15 Jan 2019 04:38:06 -0800 (PST) Received: from localhost (107.182.30.90.16clouds.com. [107.182.30.90]) by smtp.gmail.com with ESMTPSA id g26sm4597536pfh.61.2019.01.15.04.38.02 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 Jan 2019 04:38:03 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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? -- mgcyung