aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/export-to-html.el3
-rw-r--r--scripts/export-to-text.el3
2 files changed, 4 insertions, 2 deletions
diff --git a/scripts/export-to-html.el b/scripts/export-to-html.el
index 5e66e9d..735414c 100644
--- a/scripts/export-to-html.el
+++ b/scripts/export-to-html.el
@@ -15,7 +15,8 @@
(org-html-head-include-scripts nil)
(org-html-preamble nil)
(org-html-postamble nil)
- (org-html-use-infojs nil))
+ (org-html-use-infojs nil)
+ (org-export-with-toc nil))
(with-current-buffer output-buffer
(erase-buffer))
diff --git a/scripts/export-to-text.el b/scripts/export-to-text.el
index 97f6e2a..debe18b 100644
--- a/scripts/export-to-text.el
+++ b/scripts/export-to-text.el
@@ -7,7 +7,8 @@
(output-buffer (find-file output-filename))
(text-buffer (get-buffer-create "*Org ASCII Export*"))
(pt nil)
- (file-buffer (current-buffer)))
+ (file-buffer (current-buffer))
+ (org-export-with-toc nil))
(with-current-buffer output-buffer
(erase-buffer))