[NTG-context] unicode subscripts

Hans Hagen pragma at wxs.nl
Sun May 30 17:22:08 CEST 2010


On 30-5-2010 4:52, Yury G. Kudryashov wrote:
> Hans Hagen wrote:
>
>> On 29-5-2010 6:58, Yury G. Kudryashov wrote:
>>> Hi!
>>>
>>> Unicode subscripts do not work (at least, in math):
>>>
>>> P.S.: Superscript digits work. Probably, the font contains ¹ but not ₁.
>>
>> in which case ... do you expect that glyph? or maybe one special for
>> math? and does its size match the other superscripts that are not in the
>> font? these super/sub things are historic ballast and not that useful
>>
>> anyhow, attached a way to deal with it in your document, but you have to
>> load it explicitly with \usemodule[mathcrap]
> OK, I shall replace all unicode sub/sup scripts with _ and ^.
>
> Is it possible to print some warnings/errors for such crappy characters? As
> a user, I don't know in advance which characters are crappy.

there are

\checkcharactersinfont
\removemissingcharacters

(long time not tested)

for sure we can add some checking (for which i need to flag those code 
points in the char-def file)

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list