0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 23:17:49 +00:00

org-odt: Use lang specific value for "Table Of Contents"

* contrib/lisp/org-odt.el (org-odt-begin-toc): Use lang
specific value for "Table Of Contents".
This commit is contained in:
Jambunathan K 2011-07-20 19:07:23 +05:30 committed by Bastien Guerry
parent 48b998cefc
commit 054ab6ceee

View file

@ -691,14 +691,15 @@ PUB-DIR is set, use this as the publishing directory."
</text:table-of-content-entry-template>
" level level)))
(insert "
(insert
(format "
</text:table-of-content-source>
<text:index-body>
<text:index-title text:style-name=\"Sect1\" text:name=\"Table of Contents1_Head\">
<text:p text:style-name=\"Contents_20_Heading\">Table of Contents</text:p>
<text:p text:style-name=\"Contents_20_Heading\">%s</text:p>
</text:index-title>
"))
" lang-specific-heading)))
(defun org-odt-end-toc ()
(insert "