org-lparse.el: Support for list-tables (first cut)
commit74e78a145669aba89b894ebac6f2f486afdf09b4
authorJambunathan K <kjambunathan@gmail.com>
Thu, 1 Sep 2011 18:11:26 +0000 (1 23:41 +0530)
committerJambunathan K <kjambunathan@gmail.com>
Thu, 1 Sep 2011 18:14:17 +0000 (1 23:44 +0530)
treef37fb3e5b645c46e65db7e72b211fcd0f2f44584
parent30aa8f61dafb7d105d61954737b72d4bb11d4ce0
org-lparse.el: Support for list-tables (first cut)

* contrib/lisp/org-lparse.el
(org-lparse-list-table:table-cell-open): New variable.
(org-lparse-begin-list-table:table-cell)
(org-lparse-end-list-table:table-cell): New routines.  Use
`org-lparse-begin-collect' and `org-lparse-end-collect' to get
a string representation of a multi-line table cell.
(org-lparse-list-table-p, org-lparse-list-level)
(org-lparse-list-item-count, org-lparse-list-stack)
(org-lparse-list-table:table-cell-open)
(org-lparse-list-table:table-row)
(org-lparse-list-table:lines): New variables to keep track of
the state of the list at a point in time during export.
(org-do-lparse): Init above variables.
(org-lparse-begin-list, org-lparse-end-list)
(org-lparse-begin-list-item, org-lparse-end-list-item):
Modified so that list marked as list-table are exported as a
table.  Refer notes in the file for more information.
(org-lparse-do-format-list-table): Make sure that `org-table'
is loaded.

* contrib/lisp/org-odt.el (org-odt-format-table-cell): Table
cells are list-tables are already paragraphs.  No need to
enclose them in paragraphs again.
contrib/lisp/org-lparse.el
contrib/lisp/org-odt.el