On 9/21/2023 3:31 PM, Hamid,Idris wrote:
Dear gang,
Within a font, relevant Unicode control characters such as the zero-width
joiner usually have symbolic representation, but in printing the symbols are
usually suppressed, while the effect of each character is maintained.
In some text editors, such as Windows Notepad (Uniscribe), there is the option
"Show Unicode control characters"
which toggles the symbols and keeps the effects.
I seem to recall that ConTeXt has/had a similar mechanism for toggling the
symbols for Unicode control characters but cannot find it.
Does anyone know or recall where the symbol-toggling mechanism is?
If not, what would be the simplest way to implement it?
Here is a MWE (note that the three control chars might be invisible in your
email client):
==============
\startTEXpage[offset=1em]
\definedfont[almfixed at 14pt]
ZWJ:
ZWNJ:
NBSP:
\stopTEXpage
==============
In Notepad, all three control characters can be turned on or off at once.
In Scintilla, only the NBSP appears and there is no option to toggle.
In ConTeXt, ZWJ and ZWJ appear as symbols, but NBSP does not.
Thank you in advance for your guidance.
\enabletrackers[typesetters.nbsp]
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________