ox-ascii/ox-latex/ox-html: Make use of optional title in toc
commitd790fbd4894a72f53ac13efec8c014d921da7bf6
authorNicolas Goaziou <n.goaziou@gmail.com>
Sat, 23 Feb 2013 21:02:37 +0000 (23 22:02 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Sat, 23 Feb 2013 22:58:23 +0000 (23 23:58 +0100)
treef7d0a9523268ddde36259d5efcbe27f08258544c
parente5a249b327fefcdaab5d76f7e269141647e35c14
ox-ascii/ox-latex/ox-html: Make use of optional title in toc

* lisp/ox-ascii.el (org-ascii--build-title): Add an argument.  Use
  optional title when building a toc line.
(org-ascii--build-toc): Call `org-ascii--build-title' with appropriate
arguments.
* lisp/ox-latex.el (org-latex-headline): Use optional title for table
  of contents.
* lisp/ox-html.el (org-html--toc-text): Renamed from
  `org-html-toc-text'.  Add docstring.
(org-html--format-toc-headline): Renamed from
`org-html-format-toc-headline'.  Add docstring.  Use optional title if
possible.
(org-html-toc): Add docstring.
lisp/ox-ascii.el
lisp/ox-html.el
lisp/ox-latex.el