all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* org-export-section-number-format, doc typo and question
@ 2010-07-11 12:15 Robert Klein
  2010-07-11 13:07 ` Bernt Hansen
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Klein @ 2010-07-11 12:15 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

theres a type in org-exp.el: in the documentation to  
org-export-section-number-format, there's twice the counter type "a"; the  
second time it should be an "i", I think:

 From org-exp.el:

1. A list of lists, each indicating a counter type and a separator.
    The counter type can be any of \"1\", \"A\", \"a\", \"I\", or \"a\".
    It causes causes numeric, alphabetic, or roman counters, respectively.


To my question, I can't seem to get this option to work I've got the
following line in the file header:


#+OPTIONS: section-number-format:(quote ((("I" ".")) . "."))


Despite this I get sections numbered 1, 2, 3 etc.

I'd be very grateful for a working example.

Thank you very much
Robert

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

* Re: org-export-section-number-format, doc typo and question
  2010-07-11 12:15 org-export-section-number-format, doc typo and question Robert Klein
@ 2010-07-11 13:07 ` Bernt Hansen
  2010-07-11 13:14   ` Bernt Hansen
  0 siblings, 1 reply; 4+ messages in thread
From: Bernt Hansen @ 2010-07-11 13:07 UTC (permalink / raw)
  To: Robert Klein; +Cc: emacs-orgmode

"Robert Klein" <RoKlein@roklein.de> writes:

> theres a type in org-exp.el: in the documentation to
> org-export-section-number-format, there's twice the counter type "a";
> the  second time it should be an "i", I think:
>
> From org-exp.el:
>
> 1. A list of lists, each indicating a counter type and a separator.
>    The counter type can be any of \"1\", \"A\", \"a\", \"I\", or \"a\".
>    It causes causes numeric, alphabetic, or roman counters, respectively.
>
>
> To my question, I can't seem to get this option to work I've got the
> following line in the file header:
>
>
> #+OPTIONS: section-number-format:(quote ((("I" ".")) . "."))
>
>
> Despite this I get sections numbered 1, 2, 3 etc.
>
> I'd be very grateful for a working example.

Hi Robert,

I think you need to set the variable instead

(setq org-export-section-number-format '((("I" ".")) . "."))

or via the customize interface.

HTH,
Bernt

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

* Re: org-export-section-number-format, doc typo and question
  2010-07-11 13:07 ` Bernt Hansen
@ 2010-07-11 13:14   ` Bernt Hansen
  2010-07-12  9:30     ` Robert Klein
  0 siblings, 1 reply; 4+ messages in thread
From: Bernt Hansen @ 2010-07-11 13:14 UTC (permalink / raw)
  To: Robert Klein; +Cc: emacs-orgmode

Bernt Hansen <bernt@norang.ca> writes:

> "Robert Klein" <RoKlein@roklein.de> writes:
>
>> To my question, I can't seem to get this option to work I've got the
>> following line in the file header:
>>
>>
>> #+OPTIONS: section-number-format:(quote ((("I" ".")) . "."))
>>
>>
>> Despite this I get sections numbered 1, 2, 3 etc.
>>
>> I'd be very grateful for a working example.
>
> Hi Robert,
>
> I think you need to set the variable instead
>
> (setq org-export-section-number-format '((("I" ".")) . "."))
>
> or via the customize interface.


This also seems to work

#+BIND: org-export-section-number-format ((("I" ".")) . ".")

-Bernt

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

* Re: Re: org-export-section-number-format, doc typo and question
  2010-07-11 13:14   ` Bernt Hansen
@ 2010-07-12  9:30     ` Robert Klein
  0 siblings, 0 replies; 4+ messages in thread
From: Robert Klein @ 2010-07-12  9:30 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

On Sun, 11 Jul 2010 15:14:58 +0200, Bernt Hansen <bernt@norang.ca> wrote:

> Bernt Hansen <bernt@norang.ca> writes:
>
>> "Robert Klein" <RoKlein@roklein.de> writes:
>>
>>> To my question, I can't seem to get this option to work I've got the
>>> following line in the file header:
>>>
>>>
>>> #+OPTIONS: section-number-format:(quote ((("I" ".")) . "."))
>>>
>>>
>>> Despite this I get sections numbered 1, 2, 3 etc.
>>>
>>> I'd be very grateful for a working example.
>>
>> Hi Robert,
>>
>> I think you need to set the variable instead
>>
>> (setq org-export-section-number-format '((("I" ".")) . "."))
>>
>> or via the customize interface.
>
>
> This also seems to work
>
> #+BIND: org-export-section-number-format ((("I" ".")) . ".")
>

Hi Bernt,

thank you very much!

I´ll got with the #+BIND: at the moment.  I suspect the setq
will cause all my files to be in roman...

btw, a great many thanks, too, for the documentation at norang.ca.

It was a great help and I suspect it will continue to be of help
for quite a while to come.

Best wishes
Robert

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

end of thread, other threads:[~2010-07-12  9:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-11 12:15 org-export-section-number-format, doc typo and question Robert Klein
2010-07-11 13:07 ` Bernt Hansen
2010-07-11 13:14   ` Bernt Hansen
2010-07-12  9:30     ` Robert Klein

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.