Re: [Orgmode] Re: Fully featured Web publishing

2009-04-18 Thread Tomas Hlavaty
Hi all, thanks for the excelent org-mode;-) Automatical computing of navigations is not possible (yet). There is a way of achieving this: 1. define and use function my-org-publish-org-to-html which determines what directory level we are on and then calls the original

Re: [Orgmode] Re: Fully featured Web publishing

2009-04-18 Thread Carsten Dominik
Hi Tomas, if you have or will sign a copyright assignment, I'd be happy to accept a patch to this effect. - Carsten On Apr 18, 2009, at 11:23 AM, Tomas Hlavaty wrote: Hi all, thanks for the excelent org-mode;-) Automatical computing of navigations is not possible (yet). There is a way

[Orgmode] Re: Fully featured Web publishing

2009-03-23 Thread Sébastien Vauban
Hello, Because the OP wants to include the same menu on every page. To better explain my problem: 1. I would like to define my navigation menu once (as some variable of the project). For example: --8---cut here---start-8--- (setq nav-menu '((Home .

[Orgmode] Re: Fully featured Web publishing

2009-03-23 Thread Taru Karttunen
Hello Here is a simple solution, have a menu like: --8---cut here---start-8--- div id=navigation h2Navigation/h2 p a href=index.htmlid=navigation-homeHome/a a href=curriculum-vitae.html id=navigation-cvCV/a a

[Orgmode] Re: Fully featured Web publishing

2009-03-19 Thread Rasmus Pank Roulund
Why not us preamble? I am not sure I understand you question, but: Because the OP wants to include the same menu on every page. If you input the file you will only have to update one file and the other files will be updated. ___ Emacs-orgmode

Re: [Orgmode] Re: Fully featured Web publishing

2009-03-19 Thread Richard Riley
Rasmus Pank Roulund rasmus.p...@gmail.com writes: Why not us preamble? I am not sure I understand you question, but: Because the OP wants to include the same menu on every page. If you input the file you will only have to update one file and the other files will be updated. with preamble

Re: [Orgmode] Re: Fully featured Web publishing

2009-03-19 Thread Sebastian Rose
Richard Riley rileyrg...@googlemail.com writes: Why not us preamble? I'm not sure if its an approved way or not but has done for me for a site wide addition for a while now but I must admit to not being up to date with all latest and greatest innovations.

Re: [Orgmode] Re: Fully featured Web publishing

2009-03-19 Thread Richard Riley
Sebastian Rose sebastian_r...@gmx.de writes: Richard Riley rileyrg...@googlemail.com writes: Why not us preamble? I'm not sure if its an approved way or not but has done for me for a site wide addition for a while now but I must admit to not being up to date with all latest and greatest

Re: [Orgmode] Re: Fully featured Web publishing

2009-03-19 Thread Sebastian Rose
Richard Riley rileyrg...@googlemail.com writes: Is it a trick though? Sorry, I mixed German and English here. I German a 'Trick' is primarily a _positive_ thing. If you want to turn it into something (slightly) negative, you say 'fauler Trick' here :) (literally: 'lazy trick') -- Sebastian

[Orgmode] Re: Fully featured Web publishing

2009-03-19 Thread Sébastien Vauban
Hi all, Thanks for your input... Rasmus Pank Roulund wrote: Why not us preamble? Because the OP wants to include the same menu on every page. If you input the file you will only have to update one file and the other files will be updated. I can't use your solutions, as the navigation menu

Re: [Orgmode] Re: Fully featured Web publishing

2009-03-19 Thread Matthew Lundin
Richard Riley rileyrg...@googlemail.com writes: Why not us preamble? I'm not sure if its an approved way or not but has done for me for a site wide addition for a while now but I must admit to not being up to date with all latest and greatest innovations.

Re: [Orgmode] Re: Fully featured Web publishing

2009-03-18 Thread Sebastian Rose
Sébastien Vauban zthjwsqqa...@spammotel.com writes: Thanks for the other (useful) info. But, here, your answer is not adequate as I don't want to have almost identical information duplicated in each page of my site. Just imagine the pain it is if I want to change the structure (adding a new

[Orgmode] Re: Fully featured Web publishing

2009-03-18 Thread Rasmus Pank Roulund
I have done something similar. I have a single menu file which I include on every page. #+INCLUDE:menu.org Would that solve you problem? -Rasmus ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list.

Re: [Orgmode] Re: Fully featured Web publishing

2009-03-18 Thread Richard Riley
Rasmus Pank Roulund rasmus.p...@gmail.com writes: I have done something similar. I have a single menu file which I include on every page. #+INCLUDE:menu.org Would that solve you problem? -Rasmus Why not us preamble? I'm not sure if its an approved way or not but has done for me for