emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* reference headlines and export html as section number
@ 2010-04-20 23:51 Ning Sean
  2010-04-21  0:03 ` Sebastian Rose
  0 siblings, 1 reply; 2+ messages in thread
From: Ning Sean @ 2010-04-20 23:51 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 325 bytes --]

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 <<headline A>>

When export to html, I want to see the following:

1 headline A
2 headline B references 1

How do I do that?

Thanks,
Ning

[-- Attachment #1.2: Type: text/html, Size: 560 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: reference headlines and export html as section number
  2010-04-20 23:51 reference headlines and export html as section number Ning Sean
@ 2010-04-21  0:03 ` Sebastian Rose
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Rose @ 2010-04-21  0:03 UTC (permalink / raw)
  To: Ning Sean; +Cc: emacs-orgmode

Ning Sean <ningsean@gmail.com> writes:
> 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 <<headline A>>
>
> When export to html, I want to see the following:
>
> 1 headline A
> 2 headline B references 1
>
> How do I do that?

The only way to achieve this is sending a patch, I fear. Currently, the
result will look like this:

  1 headline A
  2 headline B references headline A



Best wishes


   Sebastian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-21  0:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-20 23:51 reference headlines and export html as section number Ning Sean
2010-04-21  0:03 ` Sebastian Rose

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).