[luatex] Accessing pgf nodes from inside Lua(La)Tex
Keith J. Schultz
schultzk at uni-trier.de
Sun Jun 17 11:21:16 CEST 2012
I am writing a package with pgf/TikZ from making Nassi-Schneider diagramms.
I have the code working under XeLaTeX and wanted to refracture it to LuaTeX.
I have to admit that I am not very TeXian.
My question is if I have the name of a pgf node how do I get at its coordinates from
Or, is there a way to call pgf from directly inside LuaTeX.
What I am looking for is to have a LuaTeX call to get the coordinates.
The following code that I have is:
where \LastNode is the Name of the pgf node and \YCoordinate is a dimension.
So my do I access pgf structures from in LuaTeX?
Any help or pointers would be appreciated.
It would help me, also, if someone could tell me how to access something I have defined
with \edef in LuaTeX
in the TeX file
in a loaded .lua file
local a = <some in Lua to access the edef>(NameValue)
Thanx in advance
More information about the luatex