all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* format of section numbering in export
@ 2008-05-30 23:29 Adam Spiers
  2008-06-10  8:05 ` Dominik, C.
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Spiers @ 2008-05-30 23:29 UTC (permalink / raw)
  To: org-mode mailing list

If I export to HTML using something like

  #+OPTIONS: H:1 num:t toc:t \n:nil skip:nil

then the heading numbering looks like '1' or '1.2' or '1.2.3' etc.
How can I change it so that it has a trailing full stop, for instance?

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

* RE: format of section numbering in export
  2008-05-30 23:29 format of section numbering in export Adam Spiers
@ 2008-06-10  8:05 ` Dominik, C.
  2008-06-10  9:57   ` Adam Spiers
  0 siblings, 1 reply; 3+ messages in thread
From: Dominik, C. @ 2008-06-10  8:05 UTC (permalink / raw)
  To: Adam Spiers, org-mode mailing list


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

Hi Adam,

You can now configure the format of the section numbers with
the variable `org-export-section-number-format'.

The format is too complex to be set in the compact OPTIONS line,
you can do it on a per-buffer way using a file variable.  From
org-publish, you can use the :section-number-format property.

HTH

- Carsten

-----Original Message-----
From: emacs-orgmode-bounces+dominik=science.uva.nl@gnu.org on behalf of Adam Spiers
Sent: Sat 5/31/2008 1:29 AM
To: org-mode mailing list
Subject: [Orgmode] format of section numbering in export
 
If I export to HTML using something like

  #+OPTIONS: H:1 num:t toc:t \n:nil skip:nil

then the heading numbering looks like '1' or '1.2' or '1.2.3' etc.
How can I change it so that it has a trailing full stop, for instance?


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


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

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

_______________________________________________
Emacs-orgmode mailing list
Remember: 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] 3+ messages in thread

* Re: format of section numbering in export
  2008-06-10  8:05 ` Dominik, C.
@ 2008-06-10  9:57   ` Adam Spiers
  0 siblings, 0 replies; 3+ messages in thread
From: Adam Spiers @ 2008-06-10  9:57 UTC (permalink / raw)
  To: org-mode mailing list

On Tue, Jun 10, 2008 at 10:05:24AM +0200, Dominik, C. wrote:
> Hi Adam,
> 
> You can now configure the format of the section numbers with
> the variable `org-export-section-number-format'.
> 
> The format is too complex to be set in the compact OPTIONS line,
> you can do it on a per-buffer way using a file variable.  From
> org-publish, you can use the :section-number-format property.

Awesome, thanks :-)

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

end of thread, other threads:[~2008-06-10  9:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-30 23:29 format of section numbering in export Adam Spiers
2008-06-10  8:05 ` Dominik, C.
2008-06-10  9:57   ` Adam Spiers

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.