From: "D. C. Toedt" <dc@toedt.com>
To: Ian Barton <ian@manor-farm.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Tables of contents for individual sections wanted -- will donate
Date: Mon, 30 Jun 2014 21:45:38 -0500 [thread overview]
Message-ID: <CAGN11+1MkhXJhWZTB8HpA97e7-mM1x7vQWvYqJbQ+pRpJAD4iw@mail.gmail.com> (raw)
In-Reply-To: <21c424b19ffa56e34f91a3ce95964468@wilkesley.net>
[-- Attachment #1: Type: text/plain, Size: 637 bytes --]
That would be very much of interest, Ian. One potential issue, though:
The table of contents generated by org-mode uses just one <div></div>,
with nested <ul><li> elements.
I spent a few hours tinkering with variations on the jQuery approach at
http://www.sitepoint.com/forums/showthread.php?822342-JavaScript-list-of-links-with-sub-lists-hide-and-show,
with code at http://jsfiddle.net/GeekyJohn/9kaQQ/. It initially
looked promising, but I haven't been able to make it reliably play well
with having links in the TOC headings. Of course, when it comes to jQuery
I'm not much better than a cargo-cult programmer.
Thanks,
--D. C.
[-- Attachment #2: Type: text/html, Size: 1622 bytes --]
next prev parent reply other threads:[~2014-07-01 2:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-29 18:51 Tables of contents for individual sections wanted -- will donate D. C. Toedt
2014-06-30 18:40 ` Ian Barton
2014-06-30 18:55 ` D. C. Toedt
2014-06-30 20:19 ` Ian Barton
2014-07-01 2:45 ` D. C. Toedt [this message]
2014-07-01 13:10 ` Nick Dokos
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=CAGN11+1MkhXJhWZTB8HpA97e7-mM1x7vQWvYqJbQ+pRpJAD4iw@mail.gmail.com \
--to=dc@toedt.com \
--cc=emacs-orgmode@gnu.org \
--cc=ian@manor-farm.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).