Hans gave a solution to this a while ago:
https://mailman.ntg.nl/pipermail/ntg-context/2018/090833.html
Wolfgang
Christoph Reller <mailto:christoph.rel...@gmail.com>
22. Juni 2018 um 13:52
Hi,
As mentioned in cld-mkiv.pdf, the entire ConTeXt interface can be
called from lua: This is great!
Unfortunately the ConTeXt command \goto is a little problematic
because goto is a lua keyword. Therefore, the following leads to a lua
error:
context.goto("text", { "label" })
I guess the only way to call goto from lua is
context(false, "\\goto{text}[label]")
Am I correct?
Cheers,
Christoph
___________________________________________________________________________________
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
___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________