On Thu, Jun 10, 2010 at 9:17 PM, Jaroslav Hajtmar
I apologize for maybe a trivial question, but I found it nowhere. It is possible in Lua to find value of counter (or dimension) that has been set in ConTeXt?
Eg.
\newcounter\mycount \newdimension\mydimen
\mycount=5 \mydimen=12pt % It will be the parameterS of Lua function
\startluacode LuaFunction("Filename.csv", VALUEOFCOUNTER("\\the\\mycount"), VALUEOFDIMENSION("\\the\\mydimen"))
\stopluacode
Thanx Jaroslav
google luatexref-t.pdf for luatex beta 0.61.0 or similar (if I recall correctly it should be the section "The tex library")
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- luigi