[Orgmode] reference headlines and export html as section number

2010-04-20 Thread Ning Sean
Hi, I want to reference a headline inside another headline, and showing the section number when exporting to html. So suppose I have an org file: * headline A * headline B references <> When export to html, I want to see the following: 1 headline A 2 headline B references 1 How do I do that?

[Orgmode] change todo item status automatically when clock check out?

2009-03-20 Thread Ning Sean
Hi, I switch between tasks very frequently and use clocks to time myself. I like the fact that when I check in some task, the previously checked in task will be automatically checked out. However, the state of the previous task doesn't change. I wonder if I can configure orgmode in such a way tha