Hi,
There is a new feature in mtxrun:
As I wanted to acccess the help on the wiki, I've added a feature to
mtxrun that can be used in an editor:
mtxrun
--gethelp
--url="http://www.contextgarden.net/Command/setuplist"
Actually, one can also use this:
mtxrun
--gethelp
--url="http://www.contextgarden.net/Command/%command%"
--command="setuplist"
So, in scite I do:
mtxrun
--gethelp
--url="http://www.contextgarden.net/Command/%command%"
--command="$(CurrentWord)"
and hitting F1 takes the current word and runs this command. On windows
it effective boils down to
start "the url"
I have no clue what happens on unix.
Ps 1: Isn't it possible to also support /command on the wiki? It looks
like the url resolver is case sensitive.
Ps 2: one can also run
mtxrun --script server --start --auto
and then use
mtxrun
--gethelp
--url="http://localhost:31415/mtx-server-ctx-help.lua?command=%command%"
--command="$(CurrentWord)"
but the garden provides more info.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________