emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Jan Böcker" <jan.boecker@jboecker.de>
To: "G. Jay Kerns" <gkerns@ysu.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: how to both :body-only t and :table-of-contents t
Date: Fri, 23 Sep 2011 09:51:11 +0200	[thread overview]
Message-ID: <4E7C3A6F.9060007@jboecker.de> (raw)
In-Reply-To: <CAJKctor29g=dqRrbLv6AZMuanVgJAQu1HfMqcSooF5PdVYEhTg@mail.gmail.com>

On 09/21/2011 09:40 PM, G. Jay Kerns wrote:
> In other words, it looks like I am obliged to :body-only t which cuts
> out header/footer/TOC or I can NOT do :body-only t which will give me
> the TOC plus a bunch of extra stuff.
> My question:  is it possible to do what I want?  Is there some sort of
> YAML {{ page.toc }} that I'm missing somewhere, or is there some
> combination of publishing options that I've missed that will export an
> org file to an HTML file that looks like this:

Hi Jay,

I faced the same problem about a year ago.
See this thread in the mailing list archive:


The HTML exporter will refuse to include a TOC if body-only is t; the
atom exporter and a "send HTML messages with Wanderlust" hack relied on
that behaviour, which is why this was not changed in the official Org

You can either apply the one-line patch I included in the linked thread
or ask Ian Barton about his solution using jQuery he mentioned at the
end of that thread.


  reply	other threads:[~2011-09-23  7:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-21 19:40 how to both :body-only t and :table-of-contents t G. Jay Kerns
2011-09-23  7:51 ` Jan Böcker [this message]
2011-09-23 11:32   ` G. Jay Kerns

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:

  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=4E7C3A6F.9060007@jboecker.de \
    --to=jan.boecker@jboecker.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=gkerns@ysu.edu \


* 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


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).