emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: psycho_punch <psychopunchme@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Creating project-wide navigation, org links in HTML preamble
Date: Sun, 15 Jun 2014 02:55:37 +0800	[thread overview]
Message-ID: <CADWK+fcdaACEqdCdJQL_61uSodAysTnJh04AHaAfeFdHTGjZnw@mail.gmail.com> (raw)

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

I'm trying to find a way to dynamically create navigation links on my notes
published as HTML pages. I've seen the TOC on the official org manual,
which is something I'd also be fine with, but I'm not sure how to create
such project-wide TOC. At the moment, I'm looking for a way to add
navigation links in my HTML preamble but it only accepts HTML. Something
like,

[[file:~/Documents/org-project/home.org][Home]] |
[[file:~/Documents/org-project/science/index.org][Science]] |
[[file:~/Documents/org-project/philosophy/index.org][Philosophy]]

What I really want is for my notes to be able to provide navigation to
anywhere in my project. Notes should be aware of what directory they are
in, and provide links to home, and to other directories. As much as
possible I want it to be automatically inserted upon publishing as I want
the notes to remain as simple org notes as I can make them to be.

Is there a relatively simple way to achieve this?

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

                 reply	other threads:[~2014-06-14 18:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CADWK+fcdaACEqdCdJQL_61uSodAysTnJh04AHaAfeFdHTGjZnw@mail.gmail.com \
    --to=psychopunchme@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=psychopunch.me@gmail.com \
    /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).