Added callbacks for OUTLINE and OUTLINE-TEXT.
* lisp/org-html.el (org-html-entity-control-callbacks-alist):
Removed following control entities - LEVEL and SECTION. Added
following entities - OUTLINE and OUTLINE-TEXT.
(org-html-begin-section, org-html-end-section): Removed.
(org-html-begin-outline, org-html-end-outline)
(org-html-begin-outline-text, org-html-end-outline-text): New
handlers for OUTLINE and OUTLINE-TEXT parser callbacks.
(org-parse-target-from-snumber)
(org-parse-get-targets-from-title)
(org-parse-suffix-from-snumber): New helper routines. These
were factored out from org-html-level-start.
(org-parse-begin-level, org-parse-end-level): Renamed from
org-html-begin-level and org-html-end-level respectively.
(org-parse-outline-text-open): New variabale let-bound during
org-do-export.
(org-parse-begin-outline-and-outline-text)
(org-parse-end-outline-text-or-outline)
(org-parse-begin-outline-text): New routines factored out from
org-html-begin-level.
(org-do-export, org-html-begin-toc, org-html-end-toc)
(org-html-begin-document-body, org-html-end-document-body):
Propagate above changes.
* lisp/org-odt.el (org-odt-entity-control-callbacks-alist):
Removed following control entities - LEVEL and SECTION. Added
following entities - OUTLINE and OUTLINE-TEXT.
(org-odt-begin-section, org-odt-end-section): Removed.
(org-odt-begin-outline, org-odt-end-outline)
(org-odt-begin-outline-text, org-odt-end-outline-text): New
handlers for OUTLINE and OUTLINE-TEXT parser callbacks.