From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: subject tree listing from publish Date: Thu, 22 Oct 2015 13:10:28 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpDkL-0000y4-4D for emacs-orgmode@gnu.org; Thu, 22 Oct 2015 07:09:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpDkH-0008Tt-Tr for emacs-orgmode@gnu.org; Thu, 22 Oct 2015 07:09:25 -0400 Received: from mail2.b1.hitrost.net ([91.185.211.205]:20674) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpDkH-0008Rc-NL for emacs-orgmode@gnu.org; Thu, 22 Oct 2015 07:09:21 -0400 In-reply-to: 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: Greg O'Keefe Cc: emacs-orgmode@gnu.org For a listing by a hierarchy of subject, I think the index system does what you want and is the only approach that does what you want out of the box. But if I understand correctly, you already have an index, and want this to be a separate listing? Yours, Christian Greg O'Keefe writes: > Hi, > > I keep a directory of notes as .org files, and use publish to generate > .html from them. This produces sitemap.html - a table of the #+TITLEs, and > theindex.html built from #+INDEX entries I have added. > > I would like a third summary .html page which lists the notes organised in > a tree by subject classification, where the subject classification is > something like the ACM Computing Subject Classification or the Dewey > Decimal system, or some cut-down version of these. > > The result would look a bit like this, where the _underlined_ items are > links to notes. > > Information Technology > Software and its Engineering > Modelling Languages > _Dynamic Logic for UML Sequence Diagrams_ > Computing Methodologies > Knowledge Representation > _Translating ACL to FOL_ > > Reading the manual, it looks like I could use TAGS to give the notes > subjects, and use these to do searches over the whole project in emacs. > This, and the way theindex.html is produced by including a simple looking > theindex.inc text file makes me think that the solution may not be very > hard. However, my lisp is very weak :-( > > Any suggestions or code most welcome! > > Cheers, > > Greg