Re: [dev-context] showframe is unknown

2012-01-25 Thread luigi scarso
On Tue, Jan 24, 2012 at 6:33 PM, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:


 Am 24.01.2012 um 18:06 schrieb luigi scarso:

  \showframe put
   [unknown command \showframe]
  but it  doesn'h stop halt the run.

 file-mod.mkvi (change \setgvalue to \letgvalue):

 \def\dofetchruntimecommand#1#2% actually a test on #1 being define would
 be ok as well
  {\ifcsname\??runtimeloaded#2\endcsname
 % already loaded
   \else
 \global\let#1\undefined
 \startreadingfile
 \startnointerference % \bgroup
 \cleanupfeatures % better \setnormalcatcodes / test first
 \readfile{#2.\mksuffix}\donothing\donothing
 \stopnointerference  % \egroup
 \stopreadingfile
 -\setgvalue{\??runtimeloaded#2}\empty
 +\letgvalue{\??runtimeloaded#2}\empty
   \fi
   \ifx#1\undefined
 \writestatus\m!system{command \string#1 not found in file #2}%
 \unexpanded\gdef#1{{\infofont[unknown command \string#1]}}%
   \fi
   #1}

 Wolfgang

ok4me


-- 
luigi
___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context


[dev-context] showframe is unknown

2012-01-24 Thread luigi scarso
\showframe put
 [unknown command \showframe]
but it  doesn'h stop halt the run.
-- 
luigi
___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context


Re: [dev-context] showframe is unknown

2012-01-24 Thread Wolfgang Schuster

Am 24.01.2012 um 18:06 schrieb luigi scarso:

 \showframe put
  [unknown command \showframe]
 but it  doesn'h stop halt the run.

file-mod.mkvi (change \setgvalue to \letgvalue):

\def\dofetchruntimecommand#1#2% actually a test on #1 being define would be ok 
as well
  {\ifcsname\??runtimeloaded#2\endcsname
 % already loaded
   \else
 \global\let#1\undefined
 \startreadingfile
 \startnointerference % \bgroup
 \cleanupfeatures % better \setnormalcatcodes / test first
 \readfile{#2.\mksuffix}\donothing\donothing
 \stopnointerference  % \egroup
 \stopreadingfile
-\setgvalue{\??runtimeloaded#2}\empty
+\letgvalue{\??runtimeloaded#2}\empty
   \fi
   \ifx#1\undefined
 \writestatus\m!system{command \string#1 not found in file #2}%
 \unexpanded\gdef#1{{\infofont[unknown command \string#1]}}%
   \fi
   #1}

Wolfgang
___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context


Re: [dev-context] showframe is unknown

2012-01-24 Thread Hans Hagen

On 24-1-2012 18:06, luigi scarso wrote:

\showframe put
  [unknown command \showframe]
but it  doesn'h stop halt the run.



\setgvalue =

 \letgvalue{\??runtimeloaded#2}\empty

in file-mod.mkiv



-
  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
-
___
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context