Allow mixed export of numbered and unnumbered sections in HTML
commit9f57b8e85d185fbf3f9788fd4099709d512dedd1
authorLawrence Mitchell <wence@gmx.li>
Wed, 23 Mar 2011 14:38:18 +0000 (23 14:38 +0000)
committerBastien Guerry <bzg@altern.org>
Wed, 23 Mar 2011 14:04:59 +0000 (23 15:04 +0100)
treeba5bc5623a3468d56ce0c3caea15ecd4b9fe842f
parent087d94b4882f8118a6e48436b0abc0ba4e79900f
Allow mixed export of numbered and unnumbered sections in HTML

* lisp/org-html.el (org-export-as-html): Get local value of
org-export-with-section-numbers from the buffer's plist.  Deal
specially with the case the resulting value is an integer.
(org-html-level-start): New optional argument of the option plist used
instead of `org-export-with-section-numbers'.  Also deal specially
with the case that the value is an integer.

When `org-export-with-section-numbers' (or the buffer-local
:section-numbers option) is an integer, we now export the first NUM
levels of headings with numbers and lower-level headings without.
lisp/org-html.el