emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: Sharon Kimble <boudiccas@skimble.plus.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: "TOC" in a buffer
Date: Mon, 30 Jun 2014 08:36:49 -1000	[thread overview]
Message-ID: <m2k37y4532.fsf@tsdye.com> (raw)
In-Reply-To: <8761jil0o8.fsf@skimble.plus.com> (Sharon Kimble's message of "Mon, 30 Jun 2014 19:20:07 +0100")

Aloha Sharon,

Sharon Kimble <boudiccas@skimble.plus.com> writes:

> Following on from the theme of "Table of Contents", is it possible to
> just have a "TOC" for the file that it is in? Like -
> -*- mode: org -*-
> #+STARTUP: overview
>
> "Table of Contents"
>
>  * blah
>  ** de blah
> Blurb and onwards. 

I'm not sure I understand your question.  If you are looking for a table
of contents that shows in the buffer, rather than just in exported
files, then you might take a look at the Imenu package, which on my Mac
gives a drop down menu in the tool bar that shows the first two levels
of headings in the file, and at John Kitchin's org-ref code, discussed
on the list recently, which implements a link that not only shows the
table of contents when it is clicked, but also exports correctly.

hth,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

  reply	other threads:[~2014-06-30 18:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-30 18:20 "TOC" in a buffer Sharon Kimble
2014-06-30 18:36 ` Thomas S. Dye [this message]
2014-06-30 18:38 ` Eric Abrahamsen

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=m2k37y4532.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=boudiccas@skimble.plus.com \
    --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).