On Wed, Dec 17, 2025 at 08:50 (+0100), Henning Hraban Ramm wrote:

> Am 16.12.25 um 22:16 schrieb Jim:
>> While adding some information (thanks to Wolfgang) to the wiki page
>> Command/definetyping
>> I realized that the format of that page is substantially different than
>> that of, for example,
>> Command/setupbuffer
>> and that the facility for displaying the results of some ConTeXt code which
>> works with the latter does not work with the former.

>> Is the Command/definetyping an older (or deprecated) format?
>> If so, is there some magic button one can press to have it transmogrified
>> into the newer format?

> The newer format is the form based one, it takes a lot of information from
> the interface XML files.

> Unfortunately, there’s no automatism to convert the formats.

> I do it like this:
> - Copy the whole content into my text editor,
> - delete the wiki page,
> - re-create the page (if the command is in the interface, the wiki will
> prepare the form),
> - copy snippets from my editor to the wiki,
> - save, rinse, repeat.

Thanks Hraban,

I like the magic button better.  :-)

There is a nagging thought at the back of my brain suggesting to me that a
20-line shell script could do the transmogrification.

Anyway, knowing that the wiki software will prepare the form is the key
point for me.

I guess this could be added to the wiki help page.  Two more things for my
To-Do list.

                                Jim
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to