From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Outline DOM? Date: Wed, 02 Sep 2015 13:02:05 +0200 Message-ID: <87r3mhoziq.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZX5qo-0002tM-0V for emacs-orgmode@gnu.org; Wed, 02 Sep 2015 07:05:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZX5qk-0006Kh-Mz for emacs-orgmode@gnu.org; Wed, 02 Sep 2015 07:05:09 -0400 Received: from plane.gmane.org ([80.91.229.3]:46935) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZX5qk-0006IL-HF for emacs-orgmode@gnu.org; Wed, 02 Sep 2015 07:05:06 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZX5qh-0008LN-CE for emacs-orgmode@gnu.org; Wed, 02 Sep 2015 13:05:03 +0200 Received: from 62.80.108.9 ([62.80.108.9]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Sep 2015 13:05:03 +0200 Received: from rasmus by 62.80.108.9 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Sep 2015 13:05:03 +0200 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Lawrence Bottorff writes: > When I do an HTML export, I notice that my headings are all converted from > stars to numbers -- rather deeply. Is there an underlying DOM-like object > that you can glean the org buffer's hierarchical structure from? Yeah, (org-element-parse-buffer) will give you something like a DOM or an AST. Maybe you just want to set the H OPTION though, e.g.: #+options: h:3 Rasmus -- A page of history is worth a volume of logic