all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* subject tree listing from publish
@ 2015-10-20  8:26 Greg O'Keefe
  2015-10-22 11:10 ` Christian Moe
  0 siblings, 1 reply; 3+ messages in thread
From: Greg O'Keefe @ 2015-10-20  8:26 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

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

* Re: subject tree listing from publish
  2015-10-20  8:26 subject tree listing from publish Greg O'Keefe
@ 2015-10-22 11:10 ` Christian Moe
  2015-10-27  8:23   ` Greg O'Keefe
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Moe @ 2015-10-22 11:10 UTC (permalink / raw)
  To: Greg O'Keefe; +Cc: emacs-orgmode


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

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

* Re: subject tree listing from publish
  2015-10-22 11:10 ` Christian Moe
@ 2015-10-27  8:23   ` Greg O'Keefe
  0 siblings, 0 replies; 3+ messages in thread
From: Greg O'Keefe @ 2015-10-27  8:23 UTC (permalink / raw)
  To: Christian Moe; +Cc: emacs-orgmode

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

Thanks Christian,

I am currently using index to create the closest thing I can to what I
want.  It looks like the below.  The big problem is that there are a max of
3 levels, the top level which is the first character of the second.

Could I do any better than this without writing something new?

Greg

C
    computing-methodologies
        adversarial plan recognition

D
    document-management-and-text-processing
         bibliographies using org-mode

On Thu, Oct 22, 2015 at 9:40 PM, Christian Moe <mail@christianmoe.com>
wrote:

>
> 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
>
>

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

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

end of thread, other threads:[~2015-10-27  8:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-20  8:26 subject tree listing from publish Greg O'Keefe
2015-10-22 11:10 ` Christian Moe
2015-10-27  8:23   ` Greg O'Keefe

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.