On Thu, 3 Apr 2008, Pavel Sanda wrote:
- i experienced one annoyance, but it may be difficult to automatically
solve it: for example go to About LyX section. you get some links to
browse through but once you click on some, you lose the context of
others. this was much more naturally solved in old pages, where the
whole subsctructure uncollapses and stays uncollapsed until your were
in that section. it becomes even worse once you get back, because we
dont have different link colors for already visited pages - you get
lost where you have (not) been.
maybe Christian will know some wiki magic how to do?
This can be done in several ways. If we exclude using Javascript etc,
here's one solution (there are more solutions):
For the pages that belong to some logical group, e.g. 'Development',
define a variable through
(:development: yes:)
Then in the side bar add something like this:
* [[Development | Development]]
(:if equal "{*$:development}" "yes":)
** link-1
(:if:)
Now link-1 will only show up in the sidebar when the main page (i.e. not
the sidebar) has defined the 'page text variable' 'development' to 'yes'.
I've tested the above on e.g. the page
http://www.lyx.org/test/RoadMap
For reference on 'page text variables', see
http://www.pmwiki.org/wiki/PmWiki/PageTextVariables
- the proposed trick with (:title :) doesn't work
Eh...?
Why is there a H1-header at the top of most pages?
That's not so good for different reason, better to keep with standard
practices here. If someone explains it's purpose, I can probably come up
with a more typical way of doing what's needed.
/Christian
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr