emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] meaning of body-only in org-export-as-html


From: Chris Gray
Subject: [O] meaning of body-only in org-export-as-html
Date: Fri, 16 Mar 2012 16:33:22 -0600
User-agent: Notmuch/0.11+54~g50692d6 (http://notmuchmail.org) Emacs/24.0.93.1 (i486-pc-linux-gnu)

Hello,

I am using org-export-as-html with the body-only parameter set to t
in the org plugin for ikiwiki that I'm working on.  It works almost
perfectly, but I recently had a user point out that it's not possible to
get a table of contents, even when one is explicitly asked for in the
#+OPTIONS line of the org file.

Since the table of contents is part of the body (at least in the sense
that it is between the <body> tags), I found this surprising.  So would
it cause problems to change the line

(if (and org-export-with-toc (not body-only))
...)

to

(if org-export-with-toc
...)

in org-export-as-html?  

Cheers,
Chris




reply via email to

[Prev in Thread] Current Thread [Next in Thread]