[Dev-luatex] variable

and at linux.pl and at linux.pl
Mon Mar 5 17:08:55 CET 2018


Hello,

Anybody know how I can set variable in tex?

For example

\count10=20
\def\proste{To jest prosty napis}
  a\directlua{tex.print(tex.count[10]+5)}b
  a\directlua{tex.set("\proste","Trudne")}b
\proste
\bye

I need setup \proste definition to my own string

How I can read TeX variable \mynumber from lua
and set variable \mynumber on TeX but set in lua script.

Thanks
Janusz Biznesu


More information about the dev-luatex mailing list