[NTG-context] explain please

Hans van der Meer havdmeer at ziggo.nl
Wed Jun 24 21:31:48 CEST 2020


\\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.hagen at 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
> -----------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20200624/96e15af6/attachment.htm>


More information about the ntg-context mailing list