On 2 déc. 08, at 18:34, Lukas Renggli wrote:
Just wondering
how Pier deals with internal links in a document,
looks
pretty obscure to me.
The syntax is backward compatible with SWiki.
mmm, ok, but it should be said somewhere :) (and I've never used swiki)
I try different thing, like *An anchor>@anchor*, *An anchor>@-
anchor*,
*An anchor>.@anchor*
but well, no magic works and this is definitely not intuitive.
The "@" is used to define anchors within the document to jump to. The
same character is used to define the jump target within anchors.
Paths can be absolute (starting with "/") or relative (everything
else). ".." represents the parent, "." represents the receiver
itself.
This is exactly like on Unix or even Windows.
So the following document works for me:
@top
[lots of lines of text]
*goes to the top>@top*
*goes there as well>.@top*
Actually it doesnt work out of the box. When I update all packages
with Monticello, then it works. I didn't take time to track which
update did the correction though.
--
Simon