Genericize export of tables. Fixes a crash during export of tables.
commit20db021afd8b8398409f263dff0f2c775fe93ffc
authorJambunathan K <kjambunathan@gmail.com>
Tue, 26 Apr 2011 15:33:56 +0000 (26 21:03 +0530)
committerJambunathan K <kjambunathan@gmail.com>
Tue, 26 Apr 2011 15:35:15 +0000 (26 21:05 +0530)
tree6fe3631b3770fe1dd0a1abf805fd91c9e5f45e79
parent2832d1aed453cb4ad47b9743d95b49f74e9449f6
Genericize export of tables. Fixes a crash during export of tables.

* lisp/org-html.el (org-html-entity-format-callbacks-alist):
Added TABLE as a new entity that could be formatted.
(org-html-format-table): Handler for formatting tables to
html.
(org-do-export): Use org-parse-format instead of
org-parse-format-table.
(org-parse-format-table): Use org-parse-backend instead of
org-parse-current-backend. The latter variable seems to be
bound only during the duration of pre-processing and not for
the whole duration of the export.
(org-parse-format-table-table-using-table-generate-source):
Make the warning message more helpful.

* lisp/org-odt.el (org-odt-entity-format-callbacks-alist):
Added entry for the new entity TABLE.
lisp/org-html.el
lisp/org-odt.el