On Tue, Jul 9, 2013 at 5:35 AM, Nicolas Goaziou <n.goaz...@gmail.com> wrote: > > Hello, > > Jisang Yoo <jisang.yoo.ac+...@gmail.com> 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/