From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wenshan Ren Subject: Re: [org2blog] How to add section numbers? Date: Fri, 25 Jan 2013 01:59:17 +1100 Message-ID: <87sj5qlj96.fsf@debian-vm-home.localdomain> References: , <87pq0uoign.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36371) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyOH2-0003kN-G6 for emacs-orgmode@gnu.org; Thu, 24 Jan 2013 09:59:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TyOGx-0000s3-AX for emacs-orgmode@gnu.org; Thu, 24 Jan 2013 09:59:28 -0500 Received: from mail-da0-f42.google.com ([209.85.210.42]:33683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyOGx-0000rp-52 for emacs-orgmode@gnu.org; Thu, 24 Jan 2013 09:59:23 -0500 Received: by mail-da0-f42.google.com with SMTP id z17so4303286dal.15 for ; Thu, 24 Jan 2013 06:59:22 -0800 (PST) In-reply-to: <87pq0uoign.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode@gnu.org Bastien writes: > 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, Hi Bastien, Thank you, they make sense to me. It uses CSS counter-increment property to add section numbers, I want to know if it is possible to make use of labels such as