Changes

Jump to navigation Jump to search
no edit summary
Finally another construction (which works also for the above cases) which is there more specifically for some Lua reserved words (such as {{code|goto, end, if}}) is to use the construction {{code|context["goto"]("some argument",{"ref:somewhere"})}} in order to obtain {{code|\goto{some argument}[ref:somewhere]}}.
All this being said, it is better to give some examples below(try the by removing the Lua comment signs --)
<context source=yes mode=mkiv>
\starttitle[title={Index}]
\startluacode
local s,t = "ref:","index"
context.pagereference({"ref:index"})
\stopluacode
106

edits

Navigation menu