Christian Ridderström wrote:
> Anyway, turns out that the page:
>    http://wiki.lyx.org/Site/InterMap
> can be used to define prefixes.
> 
> I added a prefix called 'svnwiki'. For some reason I don't understand it
> has to be used as follows:
>   [[svnwiki:feature.png]]

It actually works fine with plain svnwiki:file.
[[]] is just when you need text link. But we mostly need direct link
so e.g. image is displayed.

> The adress to which the prefix has been set is likely wrong, but as it's
> defined on that page you can give it a try yourself. (Ask me privately for
> the password, its' the usual one for wiki pages which are a bit more
> protected).

Ok my idea was not correct, we can't simply use trac, because e.g.
http://www.lyx.org/trac/browser/lyxsvn/www-user/trunk/svnwiki/IPA_tb.png
shows web page instead of image file.

Perhaps the most straightforward solution is simply create svnwiki
directory in trunk/images and use already existing postcommit hook
to get the file in lyx.org/images/svnwiki.
(If someone has objections, speak now!;)

Pavel

Reply via email to