From bdd811611e4a3cd637b0bae22e9d574846acddc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6cker?= Date: Fri, 16 Apr 2010 10:17:49 +0200 Subject: [PATCH] Allow including a table of contents in a body-only export --- lisp/org-html.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org-html.el b/lisp/org-html.el index 74f3a55..ab1aac2 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -807,7 +807,7 @@ lang=\"%s\" xml:lang=\"%s\"> (if title (insert (format org-export-html-title-format (org-html-expand title)))))) - (if (and org-export-with-toc (not body-only)) + (if org-export-with-toc (progn (push (format "%s\n" org-export-html-toplevel-hlevel -- 1.7.0.3