Re: [NTG-context] debug.getinfo

2018-11-22 Thread Hans Hagen

On 11/22/2018 2:05 PM, Procházka Lukáš Ing. wrote:

Hello,

the function 'debug.getinfo' was removed?

The following code:


\startluacode
   print(debug.getinfo)
\stopluacode

\starttext
   A \cldcontext{tostring(debug.getinfo)}
\stoptext


gives/prints 'nil'.

IIRC, the function was non-nil some weeks ago...
indeed, but as it exposes too much the debug library is largely disabled 
by default


you can run with --debug to keep it

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] debug.getinfo

2018-11-22 Thread luigi scarso
On Thu, Nov 22, 2018 at 2:02 PM Procházka Lukáš Ing.  wrote:

> Hello,
>
> the function 'debug.getinfo' was removed?
>
> The following code:
>
> 
> \startluacode
>print(debug.getinfo)
> \stopluacode
>
> \starttext
>A \cldcontext{tostring(debug.getinfo)}
> \stoptext
> 
>
> gives/prints 'nil'.
>
> IIRC, the function was non-nil some weeks ago...
>
> Best regards,
>
> Lukas
>
> are you running in "security mode" ?
In this case, yes, it should be nil.
-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] debug.getinfo

2018-11-22 Thread Procházka Lukáš Ing .

Hello,

the function 'debug.getinfo' was removed?

The following code:


\startluacode
  print(debug.getinfo)
\stopluacode

\starttext
  A \cldcontext{tostring(debug.getinfo)}
\stoptext


gives/prints 'nil'.

IIRC, the function was non-nil some weeks ago...

Best regards,

Lukas


--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz | IDDS: 
nrpt3sn | IČO: 40763439
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396

T~.mkiv
Description: Binary data


T~.pdf
Description: Adobe PDF document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___