On Apr 18, 2010, at 7:32 PM, Jan Böcker wrote:
Hi all,
I'd like to add a table of contents to a HTML export with body-only
set
to t (to feed into jekyll later), but org-html.el automatically
disables
the TOC when body-only is given.
I have used the attached one-line patch without any problems, the
(still
XHTML strict compliant) result can be seen here:
http://www.jboecker.de/2010/04/14/general-reference-filing-with-org-mode.html
gitk tells me that the line I have changed was first introduced in
Release 4.75, so is this just a use case that was not thought of when
this was programmed, or is there a specific reason?
The reason for this behavior is that the most frequent
application for this seems to me to convert a small
block to HTML, to paste it somewhere else.
But I have no string reasons to keep it like this. Do we have more
opinions on this issue?
- Carsten
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode