Changes

Jump to navigation Jump to search
no edit summary
Next, for commands which use specific delimiters, such as the {{code|\MyGoTo}} command defined below, then one has to use the construction {{code|context.MyGoTo({"Myfirstargument"},{"Mysecondargument"})}}.
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}}, present also as TeX commands) 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 code by putting and removing the Lua comment signs --)
106

edits

Navigation menu