[NTG-context] Using goto in lua

Christoph Reller christoph.reller at gmail.com
Fri Jun 22 13:52:20 CEST 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20180622/e238660d/attachment.html>


More information about the ntg-context mailing list