* \lgroup in mkIV @ 2011-01-08 15:09 Daniel Schopper 2011-01-08 17:52 ` Aditya Mahajan 0 siblings, 1 reply; 21+ messages in thread From: Daniel Schopper @ 2011-01-08 15:09 UTC (permalink / raw) To: mailing list for ConTeXt users 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? Searching the list archive and the contextgarden unfortunately didn't bring up in anything. Thanks in advance, Daniel ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: \lgroup in mkIV 2011-01-08 15:09 \lgroup in mkIV Daniel Schopper @ 2011-01-08 17:52 ` Aditya Mahajan 2011-01-08 19:35 ` Khaled Hosny 0 siblings, 1 reply; 21+ messages in thread From: Aditya Mahajan @ 2011-01-08 17:52 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1: Type: TEXT/PLAIN, Size: 1737 bytes --] 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?) and lmoustache and rmoustache are missing from asana! With Cambria there is a bug with scaling: \setupbodyfont[cambria] \enabletrackers[math.analyzing] \usemodule[fnt-25] \starttext \showmathfontcharacters[][0x23B0] \showmathfontcharacters[][0x3014] $$\bigg\lgroup\dots\bigg\rgroup$$ $$\left\lgroup\sum\right\rgroup$$ $$\lgroup\sum\rgroup$$ $$\bigg\lmoustache\dots\bigg\rmoustache$$ $$\left\lmoustache\sum\right\rmoustache$$ $$\lmoustache\sum\rmoustache$$ \stoptext @Hans, Taco, and Mojca: Do you know why the delimiters are not scaling properly? Do you know how to add them to the LM virtual fonts? I tried, but could not get a working solution. I can add the correct mappings to large-to-small table in math-vfu. But adding the mappings for lgroup and rgroup in tex-mr table, and adding lmoustache and rmoustache to tex-ex table does not appear to work. Apply the attached diff file and see what happens with the example above. I don't know how to proceed. BTW, where are the math virtual fonts defined!? I could not find any use of mathematics.makefont. Aditya [-- Attachment #2: Type: TEXT/plain, Size: 573 bytes --] 721,722c721,722 < [0x03014] = 0x3A, -- lgroup < [0x03015] = 0x3B, -- rgroup --- > --~ [0x0] = 0x3A, -- lgroup > --~ [0x0] = 0x3B, -- rgroup 726,727c726,727 < [0x023B0] = 0x40, -- lmoustache < [0x023B1] = 0x41, -- rmoustache --- > --~ [0x0] = 0x40, -- lmoustache > --~ [0x0] = 0x41, -- rmoustache 749,750d748 < [0x023B0] = 0x7A, -- lmoustache < [0x023B1] = 0x7B, -- rmoustache 788,789c786,787 < [0x00028] = 0x28, -- ( < [0x00029] = 0x29, -- ) --- > -- [0x00028] = 0x28, -- ( > -- [0x00029] = 0x29, -- ) [-- Attachment #3: Type: text/plain, Size: 486 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: \lgroup in mkIV 2011-01-08 17:52 ` Aditya Mahajan @ 2011-01-08 19:35 ` Khaled Hosny 2011-01-08 19:47 ` Khaled Hosny ` (3 more replies) 0 siblings, 4 replies; 21+ messages in thread From: Khaled Hosny @ 2011-01-08 19:35 UTC (permalink / raw) To: mailing list for ConTeXt users 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. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: \lgroup in mkIV 2011-01-08 19:35 ` Khaled Hosny @ 2011-01-08 19:47 ` Khaled Hosny 2011-01-08 19:59 ` Aditya Mahajan ` (2 subsequent siblings) 3 siblings, 0 replies; 21+ messages in thread From: Khaled Hosny @ 2011-01-08 19:47 UTC (permalink / raw) To: mailing list for ConTeXt users On Sat, Jan 08, 2011 at 09:35:09PM +0200, 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) BTW, why luatex no longer prints the "missing character" messages in the log? I was using it to find what characters context is looking for, also now it is near impossible to know if the font is missing some needed character without reviewing every word by eye since luatex (context?) does not show a "missing character" glyph in such cases, or is there some replacement I've missed? Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: \lgroup in mkIV 2011-01-08 19:35 ` Khaled Hosny 2011-01-08 19:47 ` Khaled Hosny @ 2011-01-08 19:59 ` Aditya Mahajan 2011-01-08 20:08 ` Arthur Reutenauer 2011-01-08 20:25 ` Khaled Hosny 2011-01-08 20:29 ` Arthur Reutenauer 2011-01-09 3:24 ` Aditya Mahajan 3 siblings, 2 replies; 21+ messages in thread From: Aditya Mahajan @ 2011-01-08 19:59 UTC (permalink / raw) To: mailing list for ConTeXt users 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"): Hmm ... 27EE does not exist: http://unicode.org/charts/PDF/U32-27C0.pdf I believe that I used 3014 based on http://www-sop.inria.fr/apics/tralics/doc-l.html#cmd-lgroup What source do you use for the symbols? Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: \lgroup in mkIV 2011-01-08 19:59 ` Aditya Mahajan @ 2011-01-08 20:08 ` Arthur Reutenauer 2011-01-09 0:45 ` Aditya Mahajan 2011-01-08 20:25 ` Khaled Hosny 1 sibling, 1 reply; 21+ messages in thread From: Arthur Reutenauer @ 2011-01-08 20:08 UTC (permalink / raw) To: Mailing list for ConTeXt users > Hmm ... 27EE does not exist: http://unicode.org/charts/PDF/U32-27C0.pdf You're looking at the chart for Unicode 3.2 that is almost 10 years old... The latest version (now 6.0) is always available as http://www.unicode.org/charts/PDF/U27C0.pdf and has the character as Khaled says. Arthur ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: \lgroup in mkIV 2011-01-08 20:08 ` Arthur Reutenauer @ 2011-01-09 0:45 ` Aditya Mahajan 0 siblings, 0 replies; 21+ messages in thread From: Aditya Mahajan @ 2011-01-09 0:45 UTC (permalink / raw) To: Mailing list for ConTeXt users On Sat, 8 Jan 2011, Arthur Reutenauer wrote: >> Hmm ... 27EE does not exist: http://unicode.org/charts/PDF/U32-27C0.pdf > > You're looking at the chart for Unicode 3.2 that is almost 10 years > old... I blame everything on google :) > The latest version (now 6.0) is always available as > http://www.unicode.org/charts/PDF/U27C0.pdf and has the character as > Khaled says. Thanks. Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: \lgroup in mkIV 2011-01-08 19:59 ` Aditya Mahajan 2011-01-08 20:08 ` Arthur Reutenauer @ 2011-01-08 20:25 ` Khaled Hosny 2011-01-08 23:30 ` Aditya Mahajan 1 sibling, 1 reply; 21+ messages in thread From: Khaled Hosny @ 2011-01-08 20:25 UTC (permalink / raw) To: mailing list for ConTeXt users On Sat, Jan 08, 2011 at 02:59:35PM -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"): > > Hmm ... 27EE does not exist: http://unicode.org/charts/PDF/U32-27C0.pdf > I believe that I used 3014 based on > http://www-sop.inria.fr/apics/tralics/doc-l.html#cmd-lgroup > > What source do you use for the symbols? I opened Gnome's Character Map and searched for lgroup :) (but I've seen it before, so I know it exists, I just don't recall the code point). Now that you asked, I checked Unicode website and they have "Miscellaneous Mathematical Symbols-A": http://unicode.org/charts/PDF/U27C0.pdf Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: \lgroup in mkIV 2011-01-08 20:25 ` Khaled Hosny @ 2011-01-08 23:30 ` Aditya Mahajan 2011-01-09 1:13 ` Arthur Reutenauer 0 siblings, 1 reply; 21+ messages in thread From: Aditya Mahajan @ 2011-01-08 23:30 UTC (permalink / raw) To: mailing list for ConTeXt users On Sat, 8 Jan 2011, Khaled Hosny wrote: > On Sat, Jan 08, 2011 at 02:59:35PM -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"): >> >> Hmm ... 27EE does not exist: http://unicode.org/charts/PDF/U32-27C0.pdf >> I believe that I used 3014 based on >> http://www-sop.inria.fr/apics/tralics/doc-l.html#cmd-lgroup >> >> What source do you use for the symbols? > > I opened Gnome's Character Map and searched for lgroup :) (but I've seen > it before, so I know it exists, I just don't recall the code point). Now > that you asked, I checked Unicode website and they have "Miscellaneous > Mathematical Symbols-A": > > http://unicode.org/charts/PDF/U27C0.pdf That was the same range that I had looked at, but somehow that pdf did not have 27EC-27EF. Neither does char-def.lua. So, I guess that these are newer additions. I will add them to char-def.lua and correct the mappings for lgroup and rgroup. Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: \lgroup in mkIV 2011-01-08 23:30 ` Aditya Mahajan @ 2011-01-09 1:13 ` Arthur Reutenauer 2011-01-09 18:44 ` Khaled Hosny 0 siblings, 1 reply; 21+ messages in thread From: Arthur Reutenauer @ 2011-01-09 1:13 UTC (permalink / raw) To: Mailing list for ConTeXt users > That was the same range that I had looked at, but somehow that pdf did > not have 27EC-27EF. Neither does char-def.lua. So, I guess that these are > newer additions. It's been introduced in Unicode 5.1 in March 2008. Unicode is an evolving standard, you know. Arthur ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: \lgroup in mkIV 2011-01-09 1:13 ` Arthur Reutenauer @ 2011-01-09 18:44 ` Khaled Hosny 2011-01-09 18:59 ` Aditya Mahajan 0 siblings, 1 reply; 21+ messages in thread From: Khaled Hosny @ 2011-01-09 18:44 UTC (permalink / raw) To: Mailing list for ConTeXt users On Sun, Jan 09, 2011 at 01:13:25AM +0000, Arthur Reutenauer wrote: > > That was the same range that I had looked at, but somehow that pdf did > > not have 27EC-27EF. Neither does char-def.lua. So, I guess that these are > > newer additions. > > It's been introduced in Unicode 5.1 in March 2008. Unicode is an > evolving standard, you know. That is why I asked Hans while ago how char-def.lua was generated, from what version of Unicode and whether it is updated/updatable or not; I was worried that it will soon be outdated, which seems to be the case now. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: \lgroup in mkIV 2011-01-09 18:44 ` Khaled Hosny @ 2011-01-09 18:59 ` Aditya Mahajan 2011-01-09 19:58 ` Khaled Hosny ` (2 more replies) 0 siblings, 3 replies; 21+ messages in thread From: Aditya Mahajan @ 2011-01-09 18:59 UTC (permalink / raw) To: mailing list for ConTeXt users On Sun, 9 Jan 2011, Khaled Hosny wrote: > On Sun, Jan 09, 2011 at 01:13:25AM +0000, Arthur Reutenauer wrote: >>> That was the same range that I had looked at, but somehow that pdf did >>> not have 27EC-27EF. Neither does char-def.lua. So, I guess that these are >>> newer additions. >> >> It's been introduced in Unicode 5.1 in March 2008. Unicode is an >> evolving standard, you know. > > That is why I asked Hans while ago how char-def.lua was generated, from > what version of Unicode and whether it is updated/updatable or not; I don't know how it was generated. Mojca and I occasionally update the file by adding the names of math symbols. If the latest unicode symbol list is available in text format, it should not be too difficult to check if the table in char-def has any missing entries. > I > was worried that it will soon be outdated, which seems to be the case > now. In this case, I just added these four missing characters by hand. Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: \lgroup in mkIV 2011-01-09 18:59 ` Aditya Mahajan @ 2011-01-09 19:58 ` Khaled Hosny 2011-01-09 19:58 ` Mojca Miklavec 2011-01-09 21:14 ` Hans Hagen 2 siblings, 0 replies; 21+ messages in thread From: Khaled Hosny @ 2011-01-09 19:58 UTC (permalink / raw) To: mailing list for ConTeXt users On Sun, Jan 09, 2011 at 01:59:20PM -0500, Aditya Mahajan wrote: > On Sun, 9 Jan 2011, Khaled Hosny wrote: > > >On Sun, Jan 09, 2011 at 01:13:25AM +0000, Arthur Reutenauer wrote: > >>>That was the same range that I had looked at, but somehow that pdf did > >>>not have 27EC-27EF. Neither does char-def.lua. So, I guess that these are > >>>newer additions. > >> > >> It's been introduced in Unicode 5.1 in March 2008. Unicode is an > >>evolving standard, you know. > > > >That is why I asked Hans while ago how char-def.lua was generated, from > >what version of Unicode and whether it is updated/updatable or not; > > I don't know how it was generated. Mojca and I occasionally update > the file by adding the names of math symbols. If the latest unicode > symbol list is available in text format, it should not be too > difficult to check if the table in char-def has any missing > entries. Unicode data are always available as plain text files: http://www.unicode.org/Public/UNIDATA/ -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: \lgroup in mkIV 2011-01-09 18:59 ` Aditya Mahajan 2011-01-09 19:58 ` Khaled Hosny @ 2011-01-09 19:58 ` Mojca Miklavec 2011-01-09 21:15 ` Hans Hagen 2011-01-09 21:14 ` Hans Hagen 2 siblings, 1 reply; 21+ messages in thread From: Mojca Miklavec @ 2011-01-09 19:58 UTC (permalink / raw) To: mailing list for ConTeXt users On Sun, Jan 9, 2011 at 19:59, Aditya Mahajan wrote: > On Sun, 9 Jan 2011, Khaled Hosny wrote: > >> That is why I asked Hans while ago how char-def.lua was generated, from >> what version of Unicode and whether it is updated/updatable or not; > > I don't know how it was generated. Mojca and I occasionally update the file > by adding the names of math symbols. If the latest unicode symbol list is > available in text format, it should not be too difficult to check if the > table in char-def has any missing entries. From what I know it has been auto-generated the first time. Unless I'm mistaken Hans never used any automatic procedure to add the new glyphs from newer Unicode standards. It is definitely updatable, but not necessary regularly updated :) :) :) The code that generated the list cannot be used without modifications since there have been many manual changes on the old list, but it is definitely doable. Mojca ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: \lgroup in mkIV 2011-01-09 19:58 ` Mojca Miklavec @ 2011-01-09 21:15 ` Hans Hagen 0 siblings, 0 replies; 21+ messages in thread From: Hans Hagen @ 2011-01-09 21:15 UTC (permalink / raw) To: mailing list for ConTeXt users On 9-1-2011 8:58, Mojca Miklavec wrote: > It is definitely updatable, but not necessary regularly updated :) :) :) > The code that generated the list cannot be used without modifications > since there have been many manual changes on the old list, but it is > definitely doable. I have a couple of scripts lying around and will have a look one of these days. Hans ----------------------------------------------------------------- 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 ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: \lgroup in mkIV 2011-01-09 18:59 ` Aditya Mahajan 2011-01-09 19:58 ` Khaled Hosny 2011-01-09 19:58 ` Mojca Miklavec @ 2011-01-09 21:14 ` Hans Hagen 2 siblings, 0 replies; 21+ messages in thread From: Hans Hagen @ 2011-01-09 21:14 UTC (permalink / raw) To: mailing list for ConTeXt users On 9-1-2011 7:59, Aditya Mahajan wrote: > I don't know how it was generated. Mojca and I occasionally update the > file by adding the names of math symbols. If the latest unicode symbol > list is available in text format, it should not be too difficult to > check if the table in char-def has any missing entries. > In this case, I just added these four missing characters by hand. The first versions of the table were a combination of data present already in context and some unicode tables from the web (using scripts) but much in the math department was added manually as i found out that tables (like stix) were too flawed and had bugs so were useless for our purpose. We could do some occasional update by checking diffs from older to newer unicodes, not that I expect too many changes. Hans ----------------------------------------------------------------- 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 ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: \lgroup in mkIV 2011-01-08 19:35 ` Khaled Hosny 2011-01-08 19:47 ` Khaled Hosny 2011-01-08 19:59 ` Aditya Mahajan @ 2011-01-08 20:29 ` Arthur Reutenauer 2011-01-09 18:48 ` Khaled Hosny 2011-01-09 3:24 ` Aditya Mahajan 3 siblings, 1 reply; 21+ messages in thread From: Arthur Reutenauer @ 2011-01-08 20:29 UTC (permalink / raw) To: Mailing list for ConTeXt users > There are, but context is looking for the wring character; it is looking > for U+3014 (which I think is a CJK bracket Indeed. It's one of the angle brackets that one finds in many CJK fonts. > while it should be looking for U+27EE (whose Unicode > annotation precisely says "lgroup"): Note that those annatations in the code charts are actually the Unicode 1.0 names of the characters, where they differ from the Unicode 1.1 names (when Unicode was unified with ISO 10646 and adopted some of its names). They should not, in general, be understood as the name of this character is some other standard, for example. But they are of course a good hint of what the character represents. Arthur ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: \lgroup in mkIV 2011-01-08 20:29 ` Arthur Reutenauer @ 2011-01-09 18:48 ` Khaled Hosny 0 siblings, 0 replies; 21+ messages in thread From: Khaled Hosny @ 2011-01-09 18:48 UTC (permalink / raw) To: Mailing list for ConTeXt users On Sat, Jan 08, 2011 at 08:29:17PM +0000, Arthur Reutenauer wrote: > > There are, but context is looking for the wring character; it is looking > > for U+3014 (which I think is a CJK bracket > > Indeed. It's one of the angle brackets that one finds in many CJK > fonts. > > > while it should be looking for U+27EE (whose Unicode > > annotation precisely says "lgroup"): > > Note that those annatations in the code charts are actually the > Unicode 1.0 names of the characters, where they differ from the Unicode > 1.1 names (when Unicode was unified with ISO 10646 and adopted some of > its names). They should not, in general, be understood as the name of > this character is some other standard, for example. But they are of > course a good hint of what the character represents. I usually look for long description, it can sometimes be very helpful on what is the intended use of the characters (names are not very accurate, especially early characters which are often misnamed). Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: \lgroup in mkIV 2011-01-08 19:35 ` Khaled Hosny ` (2 preceding siblings ...) 2011-01-08 20:29 ` Arthur Reutenauer @ 2011-01-09 3:24 ` Aditya Mahajan 2011-01-10 18:28 ` Khaled Hosny 2011-01-10 23:43 ` Daniel Schopper 3 siblings, 2 replies; 21+ messages in thread From: Aditya Mahajan @ 2011-01-09 3:24 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1: Type: TEXT/PLAIN, Size: 1717 bytes --] 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? Hans, I am attaching the patch for char-def.lua that corrects the location of lgroup and rgroup. I still do not know how to fix this for lm virtual math font. Aditya [-- Attachment #2: Type: TEXT/plain, Size: 1560 bytes --] diff --git a/char-def.lua b/char-def.lua index c496b4a..515f932 100644 --- a/char-def.lua +++ b/char-def.lua @@ -63379,6 +63379,46 @@ characters.data={ mirror=0x27EA, unicodeslot=0x27EB, }, + [0x27EC]={ + category="ps", + cjkwd="na", + description="MATHEMATICAL LEFT WHITE TORTOISE SHELL BRACKET", + direction="on", + linebreak="op", + mirror=0x27ED, + unicodeslot=0x27EC, + }, + [0x27ED]={ + category="pe", + cjkwd="na", + description="MATHEMATICAL RIGHT WHITE TORTOISE SHELL BRACKET", + direction="on", + linebreak="cl", + mirror=0x27EC, + unicodeslot=0x27ED, + }, + [0x27EE]={ + category="ps", + cjkwd="na", + description="MATHEMATICAL LEFT FLATTENED PARENTHESIS", + direction="on", + linebreak="op", + mathclass="open", + mathname="lgroup", + mirror=0x27EF, + unicodeslot=0x27EE, + }, + [0x27EF]={ + category="pe", + cjkwd="na", + description="MATHEMATICAL RIGHT FLATTENED PARENTHESIS", + direction="on", + linebreak="cl", + mathclass="close", + mathname="rgroup", + mirror=0x27EE, + unicodeslot=0x27EF, + }, [0x27F0]={ category="sm", description="UPWARDS QUADRUPLE ARROW", @@ -75694,8 +75734,6 @@ characters.data={ direction="on", linebreak="op", mirror=0x3015, - mathclass="open", - mathname="lgroup", unicodeslot=0x3014, }, [0x3015]={ @@ -75705,8 +75743,6 @@ characters.data={ direction="on", linebreak="cl", mirror=0x3014, - mathclass="close", - mathname="rgroup", unicodeslot=0x3015, }, [0x3016]={ [-- Attachment #3: Type: text/plain, Size: 486 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: \lgroup in mkIV 2011-01-09 3:24 ` Aditya Mahajan @ 2011-01-10 18:28 ` Khaled Hosny 2011-01-10 23:43 ` Daniel Schopper 1 sibling, 0 replies; 21+ messages in thread From: Khaled Hosny @ 2011-01-10 18:28 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: \lgroup in mkIV 2011-01-09 3:24 ` Aditya Mahajan 2011-01-10 18:28 ` Khaled Hosny @ 2011-01-10 23:43 ` Daniel Schopper 1 sibling, 0 replies; 21+ messages in thread From: Daniel Schopper @ 2011-01-10 23:43 UTC (permalink / raw) To: ntg-context Just tried the new beta, works perfectly! Thank you very very much! Am 09.01.11 04:24, schrieb Aditya Mahajan: > 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? > > Hans, I am attaching the patch for char-def.lua that corrects the > location of lgroup and rgroup. I still do not know how to fix this for > lm virtual math font. > > Aditya > > > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2011-01-10 23:43 UTC | newest] Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-01-08 15:09 \lgroup in mkIV Daniel Schopper 2011-01-08 17:52 ` Aditya Mahajan 2011-01-08 19:35 ` Khaled Hosny 2011-01-08 19:47 ` Khaled Hosny 2011-01-08 19:59 ` Aditya Mahajan 2011-01-08 20:08 ` Arthur Reutenauer 2011-01-09 0:45 ` Aditya Mahajan 2011-01-08 20:25 ` Khaled Hosny 2011-01-08 23:30 ` Aditya Mahajan 2011-01-09 1:13 ` Arthur Reutenauer 2011-01-09 18:44 ` Khaled Hosny 2011-01-09 18:59 ` Aditya Mahajan 2011-01-09 19:58 ` Khaled Hosny 2011-01-09 19:58 ` Mojca Miklavec 2011-01-09 21:15 ` Hans Hagen 2011-01-09 21:14 ` Hans Hagen 2011-01-08 20:29 ` Arthur Reutenauer 2011-01-09 18:48 ` Khaled Hosny 2011-01-09 3:24 ` Aditya Mahajan 2011-01-10 18:28 ` Khaled Hosny 2011-01-10 23:43 ` Daniel Schopper
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).