Changes

Jump to navigation Jump to search
1,023 bytes removed ,  09:30, 1 August 2006
[[System_Macros/Key_Value_Assignments]]
== User interaction == This macro hardly needs explanation. It stops TeX until you input something. Macros for showing messages. In the multi-lingual modules, we will also introduce a mechanism for message passing. For the moment we stick to the core macros: <texcode>\writestring {string}\writeline\writestatus {category} {message}<[[System_Macros/texcode> Messages are formatted: the category appears within a fixed number of columns, on it's own, followed by a colon. One can provide the maximum width of the identification string with the macro <code>\statuswidth</code>. For debugging purposes we can enhance macros with the next alternative. Here <code>debuggerinfo</code> stands for both a macro accepting two arguments and a boolean (in fact a few macro's too). <texcode>\debuggerinfo {subcategory} {message}</texcode> This message will only be output if <code>\debuggerinfo</code> is true. (it usually isn't). If you need to calculate something to be used inside the message, embrace your calculating code with <code>\ifdebuggerinfo ... \fi</code>. User_Interaction]]
[[Category:ConTeXt programming]]
[[Category:Inside ConTeXt]]

Navigation menu