From: Ian Barton <lists@manor-farm.org>
To: emacs-orgmode@gnu.org
Subject: Re: Why does org-html.org refuse to export a table of contents when body-only is t?
Date: Mon, 17 May 2010 14:49:06 +0100 [thread overview]
Message-ID: <4BF14952.7050605@manor-farm.org> (raw)
In-Reply-To: <62D88016-7DF5-42F4-8FAB-3AF81B541EE4@gmail.com>
>>>>
>>>> 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
>>>>
>>>>
I have just run into the same problem, also using Jekyll. However, I
have managed to generate a TOC using jQuery and a jQuery plugin. This
turns out to be more flexible than using org directly. I can post more
details if it's of any interest.
Ian.
prev parent reply other threads:[~2010-05-17 13:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-18 17:32 Why does org-html.org refuse to export a table of contents when body-only is t? Jan Böcker
2010-04-27 9:55 ` Carsten Dominik
2010-04-27 16:59 ` David Maus
2010-05-14 7:15 ` Carsten Dominik
2010-05-17 13:49 ` Ian Barton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BF14952.7050605@manor-farm.org \
--to=lists@manor-farm.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).