Am 04.10.26 um 15:38 schrieb Henning Hraban Ramm:
Am 04.10.26 um 14:28 schrieb Hans Hagen via ntg-context:
Hi,
As I'm updating it a bit, I'm wondering if users are aware of this
feature:
cmd /c start /min "Context Documentation" mtxrun --autogenerate --
script server --auto
or on linux:
mtxrun --autogenerate --script server --auto &
After this you can do things like this is a browser:
http://localhost:8088/mtx-server-ctx-help.lua?
interface=&command=setupbackgrounds&mode=tex
And an editor can implement a click on command for this (as we do in
scite).
Well, I knew this (and always wanted to try using the webserver for
other fun stuff, like Keith/Claude’s novel generator), but the command
reference without explanations (that we have in the wiki’s Command
pages) is hardly useful.
OTOH the font “preflight” could be really helpful.
Could the input just be TeX code, e.g. to try formulae?
http://localhost:8088/mtx-server-ctx-fonttest.lua?currentfont=cambria&sampletext=This+is+a+sample+line%21%0D%0A%0D%0A%5Cim%7Ba%5E2+%2B+b%5E2+%3D+c%5E2%7D&name=no+name&title=&action=process
Maybe link the title (ConTeXt font tester) back to the list of fonts.
Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________