From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: Numbering only *some* subheadings? Date: Thu, 30 Apr 2015 09:50:48 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnjDm-0005Y9-0Q for emacs-orgmode@gnu.org; Thu, 30 Apr 2015 03:49:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YnjDi-0001tN-Pe for emacs-orgmode@gnu.org; Thu, 30 Apr 2015 03:49:21 -0400 Received: from mail2.b1.hitrost.net ([91.185.211.205]:25006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnjDi-0001tE-JA for emacs-orgmode@gnu.org; Thu, 30 Apr 2015 03:49:18 -0400 In-reply-to: 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: Matt Price Cc: Org Mode You can do the opposite and number only the topmost headings, e.g. with #+OPTIONS: num:1 but I don't think Org has a way to number only sub-headings. In HTML export, you can get there with CSS hacks. For the exact example you gave, #+HTML_HEAD: should hide heading numbering for the top heading level (add more CSS if you have more heading levels). It won't fix the TOC, though; with numbered headline export, the numbers are hardcoded in the TOC. You could export without heading numbering, and add numbering to both headlines and TOC items with CSS, but it's more involved. Again, for your simple example you could do something like this. #+OPTIONS: num:nil #+HTML_HEAD: Yours, Christian Matt Price writes: > I would like to number only a single subset of subheadings in an html > export, so that, e.g., > > * Introduction > lorem ipsum > * Coiurse Requirements > lorem ipsum > * Course Outline > ** Introduction > some long multi paragraph text. > ** Origins of the French Revolution > more text. Readings. > ** Liberty, Equality, Fraternity? > ... etc > > becomes: > > Introduction > > Course Requirements > > Course Outline > > 1. Introduction > bla bla bla > 2. Origins of hte French Revolution > bla bla bla. > Readings: bla bla bla > 3. Liberty, Eaquality, Fraternity > > ... etc > > Is this possible? Anyone have a suggestion? > > Thanks as always, > Matt