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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 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
___________________________________________________________________________________

Reply via email to