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 is almost identical, but it is not completely: the keyword `current' has to be appended to the entry the page is about. >> The only real problem that I see (the above being nice-to-have's) is the >> following: I want to have a common navigation menu, but whose current >> page is highlighted. To do so, I just have to add the class `current' to >> the current entry, but this means the navigation menu is not constant >> between pages! For example, my menu will be this one for the _home page_: --8<---------------cut here---------------start------------->8--- <div id="navigation"> <h2>Navigation</h2> <ul> <li><a href="index.html" title="Home" class="current">Home</a></li> <!-- ^^^^^^^^^^^^^^^ --> <li>About Me <ul> <li><a href="curriculum-vitae.html" title="CV">CV</a></li> <li><a href="pgp-public-key.html" title="PGP Public Key">PGP Public Key</a></li> <li><a href="contact-me.html" title="Contact Me">Contact Me</a></li> </ul> </li> <li>Resources <ul> <li><a href="freeware.html" title="Freeware">Freeware</a></li> <li><a href="dot-emacs.html" title="Emacs">Emacs</a></li> </ul> </li> </ul> </div> --8<---------------cut here---------------end--------------->8--- and this one for my _CV_: --8<---------------cut here---------------start------------->8--- <div id="navigation"> <h2>Navigation</h2> <ul> <li><a href="index.html" title="Home" class="current">Home</a></li> <li>About Me <ul> <li><a href="curriculum-vitae.html" title="CV" class="current">CV</a></li> <!-- ^^^^^^^^^^^^^^^ --> <li><a href="pgp-public-key.html" title="PGP Public Key">PGP Public Key</a></li> <li><a href="contact-me.html" title="Contact Me">Contact Me</a></li> </ul> </li> <li>Resources <ul> <li><a href="freeware.html" title="Freeware">Freeware</a></li> <li><a href="dot-emacs.html" title="Emacs">Emacs</a></li> </ul> </li> </ul> </div> --8<---------------cut here---------------end--------------->8--- The skeleton is static, but the instantiated navigation menu for a specific page should be computed automatically, when publishing... I hope I now have clearly expressed my point. If yes, do you see any solution for me? Best regards, Seb -- Sébastien Vauban _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode