org-odt.el: Make category component of captions configurable
commitfee7de7c5697b8612a7e16e35af993917b9ba8c3
authorJambunathan K <kjambunathan@gmail.com>
Tue, 20 Mar 2012 17:56:12 +0000 (20 23:26 +0530)
committerJambunathan K <kjambunathan@gmail.com>
Tue, 20 Mar 2012 17:56:12 +0000 (20 23:26 +0530)
tree6662f98970758f026e0f836fb7134e14044755f4
parentaa05c14fe9f41782d253f9807429a0756be7f059
org-odt.el: Make category component of captions configurable

* lisp/org-odt.el (org-export-odt-category-strings): New
custom variable.
(org-odt-category-map-alist): Modify interpretation.  Don't
use the same field to double up as both a OpenDocument
variable and a category string.  Entries in this list now
specify only the OpenDocument variable.  Category strings are
obtained through an indirect lookup of
`org-export-odt-category-strings'.  Use same OpenDocument
variables as what LibreOffice uses for various entities.  Fix
docstring.
(org-odt-add-label-definition)
(org-odt-format-label-definition)
(org-odt-format-label-reference): Propagate above changes.

Fix for the following bug:
http://lists.gnu.org/archive/html/emacs-orgmode/2012-03/msg00628.html
lisp/org-odt.el