1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-02 08:22:16 +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> </text:table-of-content-entry-template>
" level level))) " level level)))
(insert " (insert
(format "
</text:table-of-content-source> </text:table-of-content-source>
<text:index-body> <text:index-body>
<text:index-title text:style-name=\"Sect1\" text:name=\"Table of Contents1_Head\"> <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> </text:index-title>
")) " lang-specific-heading)))
(defun org-odt-end-toc () (defun org-odt-end-toc ()
(insert " (insert "