\\currentdate 
Neat solution, worked without a hitch. Now I have to remember this for future 
use ...

dr. Hans van der Meer


> On 24 Jun 2020, at 21:10, Hans Hagen <j.ha...@xs4all.nl> wrote:
> 
> On 6/24/2020 9:00 PM, Hans van der Meer wrote:
>> How can the crash in the minimal example here be explained? And is there a 
>> solution to avoid this and make the crash going away "without having to jump 
>> through special hoops"?
> because \currentdate is a macro thatv does some magic ... it's nor fully 
> expandable
> 
> so, lua sees \currentdate == \c as first escaped character coming in and 
> that's invalid (\\currentdate would work)
> 
> just try
> 
> print("\come on") in pure lua
> 
> 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
___________________________________________________________________________________

Reply via email to