emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Why does org-html.org refuse to export a table of contents whe


From: Jan Böcker
Subject: [Orgmode] Why does org-html.org refuse to export a table of contents when body-only is t?
Date: Sun, 18 Apr 2010 19:32:41 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100301 Shredder/3.0.3

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?

Curious,
  Jan

Attachment: 0001-Allow-including-a-table-of-contents-in-a-body-only-e.patch
Description: Text document


reply via email to

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