![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
11 Apr
2024
11 Apr
'24
7:32 p.m.
On 4/11/24 18:56, Hans Hagen via ntg-context wrote:
[...]
\protected\def\PrintTheThing{\ctxlua{document.print_the_thing()}}
Sorry, but why \protected is required or recommended here?
depends if you want it to be expandable
I see now that "still.pdf" has a full chapter (#3, titled “Scanning Input”) and page 79 explains exactly this. Many thanks for your help, Pablo