ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* labeltext via lua
@ 2017-02-16 10:36 Andreas Schneider
  2017-02-16 10:50 ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Andreas Schneider @ 2017-02-16 10:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

if I define a labeltext via \setuplabeltext[en][test=Something], how can 
I access that value via lua?
(context.labeltext obviously prints the content, but doesn't allow me to 
use it in lua).

As a related side-request: how can I fix expansion in cases like this: 
\startsectionlevel[title=\labeltext{test}] ... this causes the bookmark 
to read "test" instead of "Something". \expandafter\startsectionlevel... 
didn't cut it.

Best regards
Andreas
___________________________________________________________________________________
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] 7+ messages in thread

end of thread, other threads:[~2017-02-17 15:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-16 10:36 labeltext via lua Andreas Schneider
2017-02-16 10:50 ` Hans Hagen
2017-02-16 13:12   ` Andreas Schneider
2017-02-16 13:43     ` Hans Hagen
2017-02-16 14:06       ` Andreas Schneider
2017-02-16 16:13         ` Hans Hagen
2017-02-17 15:44           ` Andreas Schneider

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).