Michael Guravage schrieb am 13.02.2024 um 14:01:
While reading the documentation I spotted something similar from which I derived this solution:

\setupinteraction[state=start]
\def\squeeze#1%
   {
     \goto{#1} [url(tel:\ctxlua{context(string.gsub("#1", " ", ""))})]
   }


ConTeXt has a Lua function to remove spaces.

\starttext
\cldcontext{string.nospaces("01234 56789")}
\stoptext

Wolfgang
___________________________________________________________________________________
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