On 3/4/2026 3:54 AM, Jairo A. del Rio wrote:
Hi again, list. char-emj.lua is automatically generated, I guess from here? https://www.unicode.org/Public/17.0.0/emoji/emoji-test.txt <https://www.unicode.org/Public/17.0.0/emoji/emoji-test.txt>. Well, I regenerated data with a custom script (attached) in order to test newest emojis and I find something weird. Emojis whose names include double quotes (Ux201C and Ux201D) cannot be accessed nor with English quotes nor with ASCII double quotes (example attached). However, direct access by codepoint works fine. So, my questions are:

1. How is data from char-emj.lua generated? A script in the distribution would help to ease and speed updates after Unicode releases.

it has always been there: mtxrun --script unicode

concerning speed: if i know it, i do it ... also, we need to check it, so any update outside the distribution is kind of unsupported

it's not like noadays unicode updates are critical so we can permit some delay till a distribution update happens

2. Is the double quote issue expected or should it be fixed? I think ASCII-only names would be easier to type, but it's just my opinion

I'll strip these quotes in the database generator as well as the resolver so that

\startTEXpage[offset=10pt]
    \emoj \showglyphs
    \emoji{japanese “bargain” button}%
    \space
    \emoji{japanese bargain button}%
\stopTEXpage

both work.

Hans

-----------------------------------------------------------------
                                          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 : [email protected] / 
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