ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* accessing tex variable on lua side
@ 2020-11-25 10:54 Jano Kula
  2020-11-25 11:33 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Jano Kula @ 2020-11-25 10:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 325 bytes --]

Hello,

running in circles I have to give up on such an easy thing as passing a tex
variable to lua (knowing everything is stored in lua).

\setvariable{test}{something}{HHHH}
\starttext
\getvariable{test}{something}\par
% how to access the variable on lua end?
\startluacode
-- var =
\stopluacode
\stoptext

Thank you,
Jano

[-- Attachment #1.2: Type: text/html, Size: 596 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-11-25 17:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-25 10:54 accessing tex variable on lua side Jano Kula
2020-11-25 11:33 ` Hans Hagen
2020-11-25 13:33   ` Jano Kula
2020-11-25 17:14     ` Jano Kula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).