Hi, Something new. If you add a section like this in a module: % begin info % % title : show character data % % comment : show some info about characters in the character database % status : experimental, used for luatex testing % % end info context --modules will report this. It only works with modules in the trees (the path where context.mkiv sits is also taken as I want my dev path to be included). Another 'change' is in messaging. Eventually all messages will be redone, but we will have a transition stage. See mult-mes.lua for how it will be (currently a hybrid approach). I will post some more about this later. 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 -----------------------------------------------------------------
Am 09.02.2011 um 15:37 schrieb Hans Hagen:
Hi,
Something new. If you add a section like this in a module:
% begin info % % title : show character data % % comment : show some info about characters in the character database % status : experimental, used for luatex testing % % end info
context --modules
will report this. It only works with modules in the trees (the path where context.mkiv sits is also taken as I want my dev path to be included).
Does not work when the module has “mkvi” as file extension. Wolfgang
On 9-2-2011 4:23, Wolfgang Schuster wrote:
Am 09.02.2011 um 15:37 schrieb Hans Hagen:
Hi,
Something new. If you add a section like this in a module:
% begin info % % title : show character data % % comment : show some info about characters in the character database % status : experimental, used for luatex testing % % end info
context --modules
will report this. It only works with modules in the trees (the path where context.mkiv sits is also taken as I want my dev path to be included).
Does not work when the module has “mkvi” as file extension.
ok, i'll add that ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On Wed, Feb 9, 2011 at 15:37, Hans Hagen wrote:
Hi,
Something new. If you add a section like this in a module:
% begin info % % title : show character data % % comment : show some info about characters in the character database % status : experimental, used for luatex testing % % end info
context --modules
will report this. It only works with modules in the trees (the path where context.mkiv sits is also taken as I want my dev path to be included).
How exactly does this work? If I modify t-gnuplot.tex by adding this after the header, it doesn't make any difference. (What command do I need to run to make ConTeXt aware of the change in sources? mtxrun --generate?) Mojca
Am 09.02.2011 um 18:16 schrieb Mojca Miklavec:
On Wed, Feb 9, 2011 at 15:37, Hans Hagen wrote:
Hi,
Something new. If you add a section like this in a module:
% begin info % % title : show character data % % comment : show some info about characters in the character database % status : experimental, used for luatex testing % % end info
context --modules
will report this. It only works with modules in the trees (the path where context.mkiv sits is also taken as I want my dev path to be included).
How exactly does this work? If I modify t-gnuplot.tex by adding this after the header, it doesn't make any difference. (What command do I need to run to make ConTeXt aware of the change in sources? mtxrun --generate?)
mtxrun --generate mtxrun --modules Wolfgang
Hi Hans, On Wed, 9 Feb 2011, Hans Hagen wrote:
Something new. If you add a section like this in a module:
% begin info % % title : show character data % % comment : show some info about characters in the character database % status : experimental, used for luatex testing % % end info
context --modules
will report this. It only works with modules in the trees (the path where context.mkiv sits is also taken as I want my dev path to be included).
Can you add support for filtering the results? That is, context --modules plot should retun the help file of all modules that have "plot" in their filename (or if it is not too expensive, have plot in their description). Also, some of this information is also part of \module[...] header in the beginning. Is it possible to merge the two? That is, can I just write: %I title: .... %I author: .... %I email: .... %I version: ... %I license: ... %I copyright: ... %I comment: ... %I status: ... Then, if I run context --modules filter I will see the above information, and if I run mtxrun --script modules --process t-filter.tex the above info will be converted to \module [title=...., author=...., ....] at the top of the ted file. Aditya
On 23-2-2011 11:26, Aditya Mahajan wrote:
Hi Hans,
On Wed, 9 Feb 2011, Hans Hagen wrote:
Something new. If you add a section like this in a module:
% begin info % % title : show character data % % comment : show some info about characters in the character database % status : experimental, used for luatex testing % % end info
context --modules
will report this. It only works with modules in the trees (the path where context.mkiv sits is also taken as I want my dev path to be included).
Can you add support for filtering the results? That is,
context --modules plot
should retun the help file of all modules that have "plot" in their filename (or if it is not too expensive, have plot in their description).
Also, some of this information is also part of \module[...] header in the beginning. Is it possible to merge the two? That is, can I just write:
%I title: .... %I author: .... %I email: .... %I version: ... %I license: ... %I copyright: ... %I comment: ... %I status: ...
Then, if I run
context --modules filter
I will see the above information, and if I run
mtxrun --script modules --process t-filter.tex
the above info will be converted to
\module [title=...., author=...., ....]
at the top of the ted file.
I have been thinking about that, but it would come from the begin info section then (or do you propose to make %I equivalent to the info section? Thinking of it we could have multiple info sections so that you can spread help over the file if it make sense. Anyhow, it needs a bit of thinking as I want to keep it clean. 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 -----------------------------------------------------------------
participants (4)
-
Aditya Mahajan
-
Hans Hagen
-
Mojca Miklavec
-
Wolfgang Schuster