[O] Creating project-wide navigation, org links in HTML preamble

2014-06-14 Thread psycho_punch
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 l

Re: [O] babel setup

2014-06-09 Thread psycho_punch
Yes, I had the same problem earlier (see the thread on required 'ox-publish). Here's what I did: First, I noticed that the packages get loaded only after initialization, so I put my org-related initialization script in the after-init-hook. Then after other people here told me about (package-initia

[O] Generate directory tree for each directory, and project navigation

2014-06-09 Thread psycho_punch
I'm still working on publishing my notes as HTML. I'm organizing them in different directories, and I want to be able generate some sort of sitemap for each directory showing all the notes (recursively?) inside. In addition, I'd also like to understand how :html-link-up, and :html-link-home could w

Re: [O] (require 'org-publish) causes downgrade in org-version

2014-06-09 Thread psycho_punch
Yup. That works, too. Thanks for all the help, everyone. On Mon, Jun 9, 2014 at 9:42 PM, Jorge A. Alfaro-Murillo < jorge.a.alf...@gmail.com> wrote: > psycho_punch writes: > > > So I need to explicitly call (package-initialize) in init.el, probably > > one of the

Re: [O] (require 'org-publish) causes downgrade in org-version

2014-06-09 Thread psycho_punch
So I need to explicitly call (package-initialize) in init.el, probably one of the, if not the, first line? On Mon, Jun 9, 2014 at 7:59 PM, Alexis wrote: > > psycho_punch writes: > > > I've defined my initialization script in ~/.emacs.d/init.el; I'm not sure > &

[O] Using templates for generating HTML

2014-06-09 Thread psycho_punch
Hello everyone. I'm wondering if there's a way to specify a template when publishing my org-notes into HTML. For example, data like author, creator, etc. are by default added in the postamble. I want to be able to specify what part of the HTML page such data are placed. I tried using #+begin_html.

Re: [O] (require 'org-publish) causes downgrade in org-version

2014-06-09 Thread psycho_punch
I'm wondering when do the packages installed via package-install get loaded... On Mon, Jun 9, 2014 at 7:04 PM, Achim Gratz wrote: > psycho_punch writes: > > Ok, so apparently, ox-publish doesn't get loaded after init in my > > setup; I'm not sure why. What I have done s

Re: [O] (require 'org-publish) causes downgrade in org-version

2014-06-09 Thread psycho_punch
, Achim Gratz wrote: > psycho_punch writes: > > I have just upgraded org-mode to the latest available in ELPA. > > According to the official documentation, the installation has to be > > done in fresh emacs session where no org-related scripts/files have > > been loaded. The inst

[O] (require 'org-publish) causes downgrade in org-version

2014-06-08 Thread psycho_punch
I have posted this question on StackOverflow but in case you don't want to visit the page, I've pasted the contents in this email. I have just upgraded org-mode to the latest available in ELP