emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Greg O'Keefe" <grokodile@gmail.com>
To: emacs-orgmode@gnu.org
Subject: subject tree listing from publish
Date: Tue, 20 Oct 2015 18:56:18 +1030	[thread overview]
Message-ID: <CACjvK3NxnS39UAg0AFbydkzTj9AwwDn4=MdTQ1WLD43X7ZDC8w@mail.gmail.com> (raw)

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

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

[-- Attachment #2: Type: text/html, Size: 1484 bytes --]

             reply	other threads:[~2015-10-20  8:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-20  8:26 Greg O'Keefe [this message]
2015-10-22 11:10 ` subject tree listing from publish Christian Moe
2015-10-27  8:23   ` Greg O'Keefe

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='CACjvK3NxnS39UAg0AFbydkzTj9AwwDn4=MdTQ1WLD43X7ZDC8w@mail.gmail.com' \
    --to=grokodile@gmail.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).