From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-export-section-number-format does not work Date: Mon, 08 Jul 2013 22:35:45 +0200 Message-ID: <87hag4eqn2.fsf@gmail.com> References: <87pputfpdo.fsf@bzg.ath.cx> <87d2qtfomo.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwI9q-0004qW-09 for emacs-orgmode@gnu.org; Mon, 08 Jul 2013 16:35:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwI9n-0000MJ-5N for emacs-orgmode@gnu.org; Mon, 08 Jul 2013 16:35:37 -0400 In-Reply-To: (Jisang Yoo's message of "Tue, 9 Jul 2013 04:57:45 +0900") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jisang Yoo Cc: Bastien , emacs-orgmode Hello, Jisang Yoo 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