emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Ren Wen shan <renws1990@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [org2blog] How to add section numbers?
Date: Thu, 24 Jan 2013 13:48:08 +0100	[thread overview]
Message-ID: <87pq0uoign.fsf@bzg.ath.cx> (raw)
In-Reply-To: <CAFozUsk4jp7R8A4=RvqKHQ5Ck3g7LqnDt4HaooW3+AqgW_KgoQ@mail.gmail.com> (Ren Wen's message of "Thu, 24 Jan 2013 15:04:38 +1100")

Hi,

Ren Wen shan <renws1990@gmail.com> 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

  reply	other threads:[~2013-01-24 12:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-24  4:04 [org2blog] How to add section numbers? Ren Wen shan
2013-01-24 12:48 ` Bastien [this message]
2013-01-24 14:59   ` Wenshan Ren
2013-01-24 15:41     ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pq0uoign.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=renws1990@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).