[NTG-context] \lgroup in mkIV

Khaled Hosny khaledhosny at eglug.org
Mon Jan 10 19:28:17 CET 2011


On Sat, Jan 08, 2011 at 10:24:01PM -0500, Aditya Mahajan wrote:
> On Sat, 8 Jan 2011, Khaled Hosny wrote:
> 
> >On Sat, Jan 08, 2011 at 12:52:38PM -0500, Aditya Mahajan wrote:
> >>On Sat, 8 Jan 2011, Daniel Schopper wrote:
> >>
> >>>Hi,
> >>>are the delimiters \lgroup and \rgroup supported in MkIV?
> >>>This
> >>>
> >>>\starttext
> >>>$$\bigg\lgroup\dots\bigg\rgroup$$
> >>>\stoptext
> >>>
> >>>is ok in MkII (ConTeXt ver: 2011.01.06) but when compiled with
> >>>MkIV (ConTeXt ver: 2010.07.30 11:35 and ver: 2010.07.30 11:35) the
> >>>delimiters are not shown. (By the way, the same holds true for
> >>>\rmoustache and \lmoustache.)
> >>
> >>>Am I missing something?
> >>
> >>No. The math mappings of virtual fonts are incomplete. The symbols
> >>should work correctly with unicode math fonts like cambria, asana,
> >>and xits. But, it appears that lgroup and rgroup are missing from
> >>xits (Khaled?)
> >
> >There are, but context is looking for the wring character; it is looking
> >for U+3014 (which I think is a CJK bracket and does not look like
> >\lgroup either) while it should be looking for U+27EE (whose Unicode
> >annotation precisely says "lgroup"):
> >
> >\setupbodyfont[xits]
> >\starttext
> >$$\bigg\lgroup\dots\bigg\rgroup$$
> >\def\lgroup{\Udelimiter "4 "0 "27EE}
> >\def\rgroup{\Udelimiter "4 "0 "27EF}
> >$$\bigg\lgroup\dots\bigg\rgroup$$
> >\stoptext
> >
> >It was not extensible though, the version in git now grow, but starts
> >with a relatively large size, check and tell me if it should be smaller.
> 
> Looks OK to me, but I am not really an expert on the shapes of the
> symbols. Can you also make lmoustache and rmoustache extensible?

Should be now.

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer


More information about the ntg-context mailing list