diff options
author | Hans Hagen <pragma@wxs.nl> | 2011-02-10 13:23:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2011-02-10 13:23:00 +0100 |
commit | cf7217d37a358672fddc334ce519f59f3e69d0fd (patch) | |
tree | 30cb2b35dcf09dcbee05c1c17d3b98e2c01556aa /tex/context/base/mult-ini.mkiv | |
parent | 275284936a065306f96342005d322e0ac9f18db6 (diff) | |
download | context-cf7217d37a358672fddc334ce519f59f3e69d0fd.tar.gz |
beta 2011.02.10 13:23
Diffstat (limited to 'tex/context/base/mult-ini.mkiv')
-rw-r--r-- | tex/context/base/mult-ini.mkiv | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/tex/context/base/mult-ini.mkiv b/tex/context/base/mult-ini.mkiv index d210f7731..d7a21bed2 100644 --- a/tex/context/base/mult-ini.mkiv +++ b/tex/context/base/mult-ini.mkiv @@ -358,6 +358,8 @@ %D which puts the message text asked for in \type %D {\currentmessagetext}. +%D These will become obsolete: + \unexpanded\def\startmessages #1 library: #2 % {\bgroup \ifcsname\m!prefix!#2\endcsname\else\setgvalue{\m!prefix!#2}{#2}\fi @@ -376,20 +378,14 @@ \ctxlua{interfaces.setmessage("#1","#2",\!!bs#3\!!es)}} \unexpanded\def\setmessagetext #1#2{\edef\currentmessagetext{\ctxsprint{interfaces.getmessage("#1","#2")}}} +\unexpanded\def\getmessage #1#2{\ctxsprint{interfaces.getmessage("#1","#2")}} + +%D Till here. \unexpanded\def\doifelsemessage #1#2{\ctxlua{interfaces.doifelsemessage("#1","#2")}} \unexpanded\def\showmessage #1#2#3{\ctxlua{interfaces.showmessage("#1","#2","#3")}} - -\unexpanded\def\getmessage #1#2{\ctxsprint{interfaces.getmessage("#1","#2")}} -\unexpanded\def\getmessagedefault#1#2#3{\ctxsprint{interfaces.getmessage("#1","#2","#3")}} -\unexpanded\def\makemessage #1#2#3{\ctxsprint{interfaces.makemessage("#1","#2","#3")}} - \unexpanded\def\writestatus #1#2{\ctxcommand{writestatus("#1",\!!bs#2\!!es)}} -%unexpanded\def\disablemessages [#1]{\ctxlua{logs.disable(\!!bs#1\!!es)}} % we have a directive - -% todo: intercept message - %D \macros %D {ifshowwarnings, ifshowmessages} %D |