On 30-3-2010 20:05, Hans van der Meer wrote:
I see.
What is the scope of that function you suggest? Can I make it a local
function or has it to exist in a more global scope?
I see in your example document.MyPiStuff. Is that because you suppose
the lua code enclosed in a module "document"?
For but
I see.
What is the scope of that function you suggest? Can I make it a local
function or has it to exist in a more global scope?
I see in your example document.MyPiStuff. Is that because you suppose
the lua code enclosed in a module "document"?
For but a handful of functions I would rather kee
On 30-3-2010 18:09, Hans van der Meer wrote:
The following works outside xmlsetups but not inside it.
It seems to bolt on the % with:
! LuaTeX error :1: ')' expected near ''.
pitex.print("pi = " .. (x - x}
This in spite of the wiki telling me:
To circumvent this problem, ConTeXt defines a e
The following works outside xmlsetups but not inside it.
It seems to bolt on the % with:
! LuaTeX error :1: ')' expected near ''.
pitex.print("pi = " .. (x - x}
This in spite of the wiki telling me:
To circumvent this problem, ConTeXt defines a environment called
\startluacode ... \stoplua