all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* "TOC" in a buffer
@ 2014-06-30 18:20 Sharon Kimble
  2014-06-30 18:36 ` Thomas S. Dye
  2014-06-30 18:38 ` Eric Abrahamsen
  0 siblings, 2 replies; 3+ messages in thread
From: Sharon Kimble @ 2014-06-30 18:20 UTC (permalink / raw)
  To: org-mode

[-- Attachment #1: Type: text/plain, Size: 572 bytes --]

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 -
--8<---------------cut here---------------start------------->8---
-*- mode: org -*-
#+STARTUP: overview

"Table of Contents"

 * blah
 ** de blah
Blurb and onwards. 
--8<---------------cut here---------------end--------------->8---

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.3.92.1

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: "TOC" in a buffer
  2014-06-30 18:20 "TOC" in a buffer Sharon Kimble
@ 2014-06-30 18:36 ` Thomas S. Dye
  2014-06-30 18:38 ` Eric Abrahamsen
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas S. Dye @ 2014-06-30 18:36 UTC (permalink / raw)
  To: Sharon Kimble; +Cc: org-mode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: "TOC" in a buffer
  2014-06-30 18:20 "TOC" in a buffer Sharon Kimble
  2014-06-30 18:36 ` Thomas S. Dye
@ 2014-06-30 18:38 ` Eric Abrahamsen
  1 sibling, 0 replies; 3+ messages in thread
From: Eric Abrahamsen @ 2014-06-30 18:38 UTC (permalink / raw)
  To: emacs-orgmode

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. 
>
> Thanks
> Sharon.

Yup, try org-toc in the contrib directory.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-30 18:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-30 18:20 "TOC" in a buffer Sharon Kimble
2014-06-30 18:36 ` Thomas S. Dye
2014-06-30 18:38 ` Eric Abrahamsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.