From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jisang Yoo Subject: Re: org-export-section-number-format does not work Date: Sat, 24 Aug 2013 15:55:10 +0900 Message-ID: References: <87pputfpdo.fsf@bzg.ath.cx> <87d2qtfomo.fsf@bzg.ath.cx> <87hag4eqn2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VD7ki-00054R-0u for emacs-orgmode@gnu.org; Sat, 24 Aug 2013 02:55:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VD7kd-0001Rc-TR for emacs-orgmode@gnu.org; Sat, 24 Aug 2013 02:55:15 -0400 In-Reply-To: <87hag4eqn2.fsf@gmail.com> 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: Nicolas Goaziou Cc: Bastien , emacs-orgmode On Tue, Jul 9, 2013 at 5:35 AM, Nicolas Goaziou wrote: > > 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 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/