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

Reply via email to