From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Davis Subject: Re: Getting "Chapter" before a heading number Date: Fri, 30 Dec 2016 14:21:32 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cN2kC-00076M-N5 for emacs-orgmode@gnu.org; Fri, 30 Dec 2016 14:21:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cN2k9-0006El-Hu for emacs-orgmode@gnu.org; Fri, 30 Dec 2016 14:21:36 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:40045) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cN2k9-0006EQ-ER for emacs-orgmode@gnu.org; Fri, 30 Dec 2016 14:21:33 -0500 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 Peter Davis writes: > I'm preparing a proposed table of contents for a book, and I'd like the HTML output to appear like: > > Chapter 1 Blah > 1.1 blah > 1.2 blah blah > 1.3 blah blah blah > > Chapter 2 Blah Blah > 2.1 blah > 2.2 blah blah > > etc. > > Is there a way to get HTML output to do this? I'd like the "*" at the start of a line to denote a new chapter, and nested headings > to go inside. I haven't been able to find anything like this. It occurred to me that another way to get this effect might be with numbered lists: #+BEGIN_SRC org * Chapter 1 Blah 1. blah 2. blah blah 3. blah blah blah * Chapter 2 Blah Blah 1. blah 2. blah blah #+END_SRC and so on. Is there any way to get numbered lists to use a "." notation, where the path to each list item is indicated by .-separated numbers? 1 1.1 1.2 1.2.1 ... Thanks, and Happy New Year! -pd