ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* return a labeltext with color...
@ 2022-06-24 14:34 Willi Egger via ntg-context
  2022-06-24 15:25 ` Wolfgang Schuster via ntg-context
  2022-06-24 17:19 ` Hans Hagen via ntg-context
  0 siblings, 2 replies; 4+ messages in thread
From: Willi Egger via ntg-context @ 2022-06-24 14:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Willi Egger

Hi all,


Sorry for bothering you again.

I would like that lua is returning a colored string, which is a label-text.

The following does not work, the labeltext remains black, there is no error though:

return context.color({"red"},context.labeltext(s))

What is the correct approach?

Thanks for enlighten me :-)

Willi
___________________________________________________________________________________
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:[~2022-06-24 18:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-24 14:34 return a labeltext with color Willi Egger via ntg-context
2022-06-24 15:25 ` Wolfgang Schuster via ntg-context
2022-06-24 17:19 ` Hans Hagen via ntg-context
2022-06-24 18:31   ` Willi Egger via ntg-context

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