From mboxrd@z Thu Jan 1 00:00:00 1970 From: "D. C. Toedt" Subject: Re: Tables of contents for individual sections wanted -- will donate Date: Mon, 30 Jun 2014 21:45:38 -0500 Message-ID: References: <53B1AF24.7010502@wilkesley.net> <21c424b19ffa56e34f91a3ce95964468@wilkesley.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b342e8cc437da04fd18c768 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1o5Q-0002E5-SF for emacs-orgmode@gnu.org; Mon, 30 Jun 2014 22:46:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X1o5M-0001q4-He for emacs-orgmode@gnu.org; Mon, 30 Jun 2014 22:46:24 -0400 Received: from mail-ve0-f178.google.com ([209.85.128.178]:60178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1o5M-0001pw-Cj for emacs-orgmode@gnu.org; Mon, 30 Jun 2014 22:46:20 -0400 Received: by mail-ve0-f178.google.com with SMTP id oy12so9021066veb.37 for ; Mon, 30 Jun 2014 19:46:19 -0700 (PDT) In-Reply-To: <21c424b19ffa56e34f91a3ce95964468@wilkesley.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ian Barton Cc: emacs-orgmode@gnu.org --047d7b342e8cc437da04fd18c768 Content-Type: text/plain; charset=UTF-8 That would be very much of interest, Ian. One potential issue, though: The table of contents generated by org-mode uses just one
, with nested
  • 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. --047d7b342e8cc437da04fd18c768 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
    That would be very much of interest, Ia= n. =C2=A0One potential issue, though: =C2=A0The table of contents generated= by org-mode uses just one <div></div>, with nested <ul>&= lt;li> elements. =C2=A0

    I spent a few hours tinkeri= ng with variations on the jQuery approach at http://www.sitepoint.com/forums/showthread.php?822342-JavaSc= ript-list-of-links-with-sub-lists-hide-and-show, with code at http://jsfiddle= .net/GeekyJohn/9kaQQ/. =C2=A0It initially looked=C2=A0promising, but I = haven't been able to make it reliably play well with having links in th= e TOC headings. =C2=A0Of course, when it comes to jQuery I'm not much b= etter than a cargo-cult programmer.

    Thanks,

    --D. C.
    <= /div>
    --047d7b342e8cc437da04fd18c768--