emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-export-section-number-format does not work


From: Jisang Yoo
Subject: Re: [O] org-export-section-number-format does not work
Date: Sat, 24 Aug 2013 15:55:10 +0900

On Tue, Jul 9, 2013 at 5:35 AM, Nicolas Goaziou <address@hidden> wrote:
>
> Hello,
>
> Jisang Yoo <address@hidden> writes:
>
> > (setq org-html-format-headline-function 'my-org-html-format-headline)
> > (defun my-org-html-format-headline (todo todo-type priority text tags)
> >   "Returns foo."
> >   "foo")
> >
> > results in wrong-number-of-arguments error when I export to html.
> >
> > (setq org-html-format-headline-function 'org-html-format-headline)
> >
> > also results in the same kind of error.
>
> Indeed. This should be fixed. Thank you.
>
> BTW, this function will only give you control over headline text, not
> its numbering.
>
> Using a filter (see org-export-filter-headline-functions) should allow
> you to set numbering to roman (e.g., with `org-export-number-to-roman'
> function).
>
>
> Regards,
>
> --
> Nicolas Goaziou


For those wondering the same, I figured out how to use
org-export-filter-headline-functions to do what I want

http://yoo2080.wordpress.com/2013/08/24/changing-the-number-format-for-section-headings-in-org-mode-html-export/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]