Am 15.08.25 um 19:27 schrieb Wolfgang Schuster:
Am 15.08.2025 um 18:57 schrieb Hans Hagen via ntg-context:
On 8/15/2025 6:37 PM, Henning Hraban Ramm wrote:
Hi,
how can I check (in Lua or ConTeXt) if a symbol or color is defined?

\doifdefined is just for macros, isn’t it?

And how can I check if the current font has a glyph?

i suppose you grepped a bit

\doifelsesymboldefined
\doifelsecolor
\doifelsefontchar

and friends ....

also listed in setup-en.pdf

Oops, thanks!

I don’t know why I hate grep… Source browser and wiki just aren’t enough…

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to