ox: Implement local table of contents
commitb07e2f6ff1feddde83506b7fdb370bfe8e0a5337
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 25 Oct 2014 15:14:34 +0000 (25 17:14 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sun, 11 Jan 2015 21:47:02 +0000 (11 22:47 +0100)
treedeb521827a7d2db456ff7f0e0ce7c508e284cc17
parent12fc68f3cd26d162c4ad59a8da7000a0a23b5d5e
ox: Implement local table of contents

* lisp/ox.el (org-export-collect-headlines): Allow to collect
  headlines locally.
* testing/lisp/test-ox.el (test-org-export/collect-headlines): Add
  tests.

* lisp/ox-ascii.el (org-ascii--build-toc):
(org-ascii-keyword):
* lisp/ox-html.el (org-html-toc):
(org-html-keyword):
* lisp/ox-odt.el (org-odt-toc): Allow local table of contents.
(org-odt--format-toc): New function.
(org-odt-begin-toc, org-odt-end-toc): Remove functions.

* lisp/ox-latex.el (org-latex-logfiles-extensions): Optionally remove
  "ptc" files.
(org-latex-headline, org-latex-keyword): Implement partial table of
contents assuming "titletoc" package is loaded.

* etc/ORG-NEWS:
* doc/org.texi (Table of contents): Document new parameter.
doc/org.texi
etc/ORG-NEWS
lisp/ox-ascii.el
lisp/ox-html.el
lisp/ox-latex.el
lisp/ox-odt.el
lisp/ox.el
testing/lisp/test-ox.el