From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [org2blog] How to add section numbers? Date: Thu, 24 Jan 2013 13:48:08 +0100 Message-ID: <87pq0uoign.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyME2-0008MP-OY for emacs-orgmode@gnu.org; Thu, 24 Jan 2013 07:48:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TyMDy-0002Ug-Dj for emacs-orgmode@gnu.org; Thu, 24 Jan 2013 07:48:14 -0500 Received: from mail-wi0-f172.google.com ([209.85.212.172]:50836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyMDy-0002UM-7S for emacs-orgmode@gnu.org; Thu, 24 Jan 2013 07:48:10 -0500 Received: by mail-wi0-f172.google.com with SMTP id o1so393271wic.17 for ; Thu, 24 Jan 2013 04:48:09 -0800 (PST) In-Reply-To: (Ren Wen's message of "Thu, 24 Jan 2013 15:04:38 +1100") 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: Ren Wen shan Cc: emacs-orgmode@gnu.org Hi, Ren Wen shan writes: > I started to use org2blog for blogging recently and it works great. > Just > wondering if it is possible to add section numbers like > org-export-as-html does. > > For example, a org file like this: > > * Generally Not Used > ** Except > *** By Middle Aged > > * Computer > ** Scientist > > will becomes: > > 1. Generally Not Used >    1.2 Except >        1.2.1 By Middle Aged > > 2. Computer >    2.1 Scientist > > Thanks, See this: http://stackoverflow.com/questions/10340276/how-to-add-section-numbers-1-2-3-4-1-automatically-using-css With an example here: http://jsfiddle.net/PfcX2/1/ HTH, -- Bastien