* beta release @ 2009-02-24 16:09 Hans Hagen 2009-02-24 17:11 ` mkiv ppchtex greek character bug Alan BRASLAU ` (3 more replies) 0 siblings, 4 replies; 32+ messages in thread From: Hans Hagen @ 2009-02-24 16:09 UTC (permalink / raw) To: mailing list for ConTeXt users Hi, As prelude to LuaTeX 0.40 there is now a beta 0.35. I uploaded a context beta that matches this version. The most important move is that we now have a new math subsystem. (Specially for Mojca: iwona seems to work ok). Apart from bringin unicode math this also gives a better performance. (Some info about what is involved can be found in mk.pdf on the website). There might be ommisions so when you run into one, just let us know. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* mkiv ppchtex greek character bug 2009-02-24 16:09 beta release Hans Hagen @ 2009-02-24 17:11 ` Alan BRASLAU 2009-02-24 17:23 ` Hans Hagen ` (2 more replies) 2009-02-24 18:03 ` beta release Wolfgang Schuster ` (2 subsequent siblings) 3 siblings, 3 replies; 32+ messages in thread From: Alan BRASLAU @ 2009-02-24 17:11 UTC (permalink / raw) To: ntg-context [-- Attachment #1: Type: text/plain, Size: 564 bytes --] There appears to be a bug in mkiv with greek letters (and other math symbols?) within ppchtex. I am using the latest conTeXt minimals: (This is LuaTeX, Version snapshot-0.35.0 ConTeXt ver: 2009.01.18 14:39 MKIV fmt: 2009.2.24 int: english/english) (Almost) minimal example (and attached pdf results). \enableregime[utf] \usemodule[chemic] \starttext \startTEXpage \startchemical[width=fit,height=fit] \chemical[ONE,Z0,MOV1,SB5,Z0][C_{\alpha},C_α] \stopchemical \stopTEXpage \stoptext (Under mkiv, the \alpha becomes an ff ligature) [-- Attachment #2: test_mkii.pdf --] [-- Type: application/pdf, Size: 19895 bytes --] [-- Attachment #3: test_mkiv.pdf --] [-- Type: application/pdf, Size: 36079 bytes --] [-- Attachment #4: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: mkiv ppchtex greek character bug 2009-02-24 17:11 ` mkiv ppchtex greek character bug Alan BRASLAU @ 2009-02-24 17:23 ` Hans Hagen 2009-02-24 17:49 ` Alan BRASLAU 2009-02-24 22:36 ` Hans Hagen 2009-02-24 22:46 ` Hans Hagen 2 siblings, 1 reply; 32+ messages in thread From: Hans Hagen @ 2009-02-24 17:23 UTC (permalink / raw) To: mailing list for ConTeXt users Alan BRASLAU wrote: > There appears to be a bug in mkiv with greek letters (and other math symbols?) within ppchtex. I am using the latest conTeXt minimals: > (This is LuaTeX, Version snapshot-0.35.0 > ConTeXt ver: 2009.01.18 14:39 MKIV fmt: 2009.2.24 int: english/english) ^^^^^^^^^^ way to old get the zip from the website, unzip in texmf-context luatools --generate luatools --selfmerge mtxrun --selfmerge context --make ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: mkiv ppchtex greek character bug 2009-02-24 17:23 ` Hans Hagen @ 2009-02-24 17:49 ` Alan BRASLAU 0 siblings, 0 replies; 32+ messages in thread From: Alan BRASLAU @ 2009-02-24 17:49 UTC (permalink / raw) To: ntg-context; +Cc: Hans Hagen Thanks for the very rapid reply. On Tuesday 24 February 2009 18:23:48 Hans Hagen wrote: > > ConTeXt ver: 2009.01.18 14:39 MKIV fmt: 2009.2.24 int: english/english) > ^^^^^^^^^^ > > way too old So things move fast! > get the zip from the website, I'm not sure which zip you mean? So I changed --context=beta to -context=alpha in first-setup.sh and now I have ConTeXt ver: 2009.02.24 16:36 MKIV fmt: 2009.2.24 int: english/english and this gives me errors: ... ppchtex : number 0 is skipped ! Font \nullfont has only 7 fontdimen parameters. <to be read again> \relax \dosetsubscript ... #1\string #2}{\the #1#2\relax }#1#2=\dimen 0\relax \dodosetsubscript ...bscript {#1}{\textfont 2}{#2} \dosetsubscript {#1}{\scri... \setsubscripts ...setsubscript \mathsubnormal {.7} \dodosetsubscript \mathsub... \putchemicaltext ...icalframe {}}\dosetsubscripts \setbox 2=\hbox {$\@@doche... <argument> ...caloffset {0}\putchemicaltext {0}{0} \undochemicaloffset ... l.9 \stopchemical ? ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: mkiv ppchtex greek character bug 2009-02-24 17:11 ` mkiv ppchtex greek character bug Alan BRASLAU 2009-02-24 17:23 ` Hans Hagen @ 2009-02-24 22:36 ` Hans Hagen 2009-02-24 22:46 ` Hans Hagen 2 siblings, 0 replies; 32+ messages in thread From: Hans Hagen @ 2009-02-24 22:36 UTC (permalink / raw) To: mailing list for ConTeXt users Alan BRASLAU wrote: > There appears to be a bug in mkiv with greek letters (and other math symbols?) within ppchtex. I am using the latest conTeXt minimals: > (This is LuaTeX, Version snapshot-0.35.0 > ConTeXt ver: 2009.01.18 14:39 MKIV fmt: 2009.2.24 int: english/english) > > > (Almost) minimal example (and attached pdf results). > > \enableregime[utf] mkiv is utf by default -) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: mkiv ppchtex greek character bug 2009-02-24 17:11 ` mkiv ppchtex greek character bug Alan BRASLAU 2009-02-24 17:23 ` Hans Hagen 2009-02-24 22:36 ` Hans Hagen @ 2009-02-24 22:46 ` Hans Hagen 2009-02-24 22:52 ` Hans Hagen 2 siblings, 1 reply; 32+ messages in thread From: Hans Hagen @ 2009-02-24 22:46 UTC (permalink / raw) To: mailing list for ConTeXt users Alan BRASLAU wrote: > There appears to be a bug in mkiv with greek letters (and other math symbols?) within ppchtex. I am using the latest conTeXt minimals: > (This is LuaTeX, Version snapshot-0.35.0 > ConTeXt ver: 2009.01.18 14:39 MKIV fmt: 2009.2.24 int: english/english) > > > (Almost) minimal example (and attached pdf results). > \enableregime[utf] > \usemodule[chemic] > > \starttext > \startTEXpage > \startchemical[width=fit,height=fit] > \chemical[ONE,Z0,MOV1,SB5,Z0][C_{\alpha},C_α] > \stopchemical > \stopTEXpage > \stoptext > > (Under mkiv, the \alpha becomes an ff ligature) - the ff is because you use an old version - the nullfont message is because we have only one fam now, this fixes it (i've added it to ppchtex) \ifx\Umathchar\undefined \else % for the moment we nil them, soon we will have a proper % way to deal with this \let\setsubscripts \relax \let\resetsubscripts\relax \fi the \alpha shows up, the α not (not sure why) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: mkiv ppchtex greek character bug 2009-02-24 22:46 ` Hans Hagen @ 2009-02-24 22:52 ` Hans Hagen 2009-02-25 7:52 ` Alan BRASLAU 0 siblings, 1 reply; 32+ messages in thread From: Hans Hagen @ 2009-02-24 22:52 UTC (permalink / raw) To: mailing list for ConTeXt users Hans Hagen wrote: > the \alpha shows up, the α not (not sure why) you need the mathematical alpha \startTEXpage \startchemical[width=fit,height=fit] \chemical[ONE,Z0,MOV1,SB5,Z0][C_{\alpha},C_{\utfchar{"1D6FC}}] \stopchemical \stopTEXpage ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: mkiv ppchtex greek character bug 2009-02-24 22:52 ` Hans Hagen @ 2009-02-25 7:52 ` Alan BRASLAU 2009-02-25 8:23 ` Hans Hagen 0 siblings, 1 reply; 32+ messages in thread From: Alan BRASLAU @ 2009-02-25 7:52 UTC (permalink / raw) To: ntg-context; +Cc: Hans Hagen I confirm that this now works using the current --context=alpha > > \enableregime[utf] > > mkiv is utf by default -) (But is still necessary to remain compatible with mkii) > > the \alpha shows up, the α not (not sure why) > > you need the mathematical alpha > > \startTEXpage > \startchemical[width=fit,height=fit] > \chemical[ONE,Z0,MOV1,SB5,Z0][C_{\alpha},C_{\utfchar{"1D6FC}}] > \stopchemical > \stopTEXpage OK, I see that TeX input is to be retained... However, note that $K_α$ works, so there must be some confusion in interpreting unicode characters in the macros. ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: mkiv ppchtex greek character bug 2009-02-25 7:52 ` Alan BRASLAU @ 2009-02-25 8:23 ` Hans Hagen 2009-02-25 14:45 ` Mojca Miklavec 0 siblings, 1 reply; 32+ messages in thread From: Hans Hagen @ 2009-02-25 8:23 UTC (permalink / raw) To: Alan BRASLAU; +Cc: ntg-context Alan BRASLAU wrote: > I confirm that this now works using the current --context=alpha > >>> \enableregime[utf] >> mkiv is utf by default -) > > (But is still necessary to remain compatible with mkii) > > >>> the \alpha shows up, the α not (not sure why) >> you need the mathematical alpha >> >> \startTEXpage >> \startchemical[width=fit,height=fit] >> \chemical[ONE,Z0,MOV1,SB5,Z0][C_{\alpha},C_{\utfchar{"1D6FC}}] >> \stopchemical >> \stopTEXpage > > OK, I see that TeX input is to be retained... > > However, note that $K_α$ works, so there must be some confusion in interpreting unicode characters in the macros. ppchtex uses an upright and there is no alpha in the base lm font if you use \usetypescript[cambria]\setupbodyfont[cambria] you will get the right alpha ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: mkiv ppchtex greek character bug 2009-02-25 8:23 ` Hans Hagen @ 2009-02-25 14:45 ` Mojca Miklavec 0 siblings, 0 replies; 32+ messages in thread From: Mojca Miklavec @ 2009-02-25 14:45 UTC (permalink / raw) To: mailing list for ConTeXt users On Wed, Feb 25, 2009 at 09:23, Hans Hagen wrote: > Alan BRASLAU wrote: >> >> I confirm that this now works using the current --context=alpha >> >>>> \enableregime[utf] >>> >>> mkiv is utf by default -) >> >> (But is still necessary to remain compatible with mkii) >> >> >>>> the \alpha shows up, the α not (not sure why) >>> >>> you need the mathematical alpha >>> >>> \startTEXpage >>> \startchemical[width=fit,height=fit] >>> >>> \chemical[ONE,Z0,MOV1,SB5,Z0][C_{\alpha},C_{\utfchar{"1D6FC}}] >>> \stopchemical >>> \stopTEXpage >> >> OK, I see that TeX input is to be retained... >> >> However, note that $K_α$ works, so there must be some confusion in >> interpreting unicode characters in the macros. > > ppchtex uses an upright and there is no alpha in the base lm font > > if you use > > \usetypescript[cambria]\setupbodyfont[cambria] > > you will get the right alpha Hans, maybe italic (mathematical) alpha should be a fallback for normal alpha in LM. Personally, I have always been satisfied with italic alpha for labeling C atoms or alpha chains of proteins. So it should also be OK (not to say preferrable) to use "mathematical greek" inside chemistry formulae. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: beta release 2009-02-24 16:09 beta release Hans Hagen 2009-02-24 17:11 ` mkiv ppchtex greek character bug Alan BRASLAU @ 2009-02-24 18:03 ` Wolfgang Schuster 2009-02-28 3:55 ` Yue Wang 2009-02-28 7:40 ` Yanrui Li 3 siblings, 0 replies; 32+ messages in thread From: Wolfgang Schuster @ 2009-02-24 18:03 UTC (permalink / raw) To: mailing list for ConTeXt users Am 24.02.2009 um 17:09 schrieb Hans Hagen: > As prelude to LuaTeX 0.40 there is now a beta 0.35. I uploaded a > context beta that matches this version. The most important move is > that we now have a new math subsystem. (Specially for Mojca: iwona > seems to work ok). Apart from bringin unicode math this also gives a > better performance. (Some info about what is involved can be found > in mk.pdf on the website). > > There might be ommisions so when you run into one, just let us know. Has the beta also some fixes for the experimental interface, normal MkIV produce no index which I get with experimental but I won't use it either because of a few other bugs. Wolfgang ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: beta release 2009-02-24 16:09 beta release Hans Hagen 2009-02-24 17:11 ` mkiv ppchtex greek character bug Alan BRASLAU 2009-02-24 18:03 ` beta release Wolfgang Schuster @ 2009-02-28 3:55 ` Yue Wang 2009-02-28 4:05 ` Yue Wang 2009-03-01 17:19 ` Hans Hagen 2009-02-28 7:40 ` Yanrui Li 3 siblings, 2 replies; 32+ messages in thread From: Yue Wang @ 2009-02-28 3:55 UTC (permalink / raw) To: mailing list for ConTeXt users Hi, Hans: Are HZ features still working? I test the beta with one of my documents, and it gives very bad line break:( Yue Wang On Wed, Feb 25, 2009 at 12:09 AM, Hans Hagen <pragma@wxs.nl> wrote: > Hi, > > As prelude to LuaTeX 0.40 there is now a beta 0.35. I uploaded a context > beta that matches this version. The most important move is that we now have > a new math subsystem. (Specially for Mojca: iwona seems to work ok). Apart > from bringin unicode math this also gives a better performance. (Some info > about what is involved can be found in mk.pdf on the website). > > There might be ommisions so when you run into one, just let us know. > > Hans > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: beta release 2009-02-28 3:55 ` Yue Wang @ 2009-02-28 4:05 ` Yue Wang 2009-03-01 18:53 ` Hans Hagen 2009-03-01 17:19 ` Hans Hagen 1 sibling, 1 reply; 32+ messages in thread From: Yue Wang @ 2009-02-28 4:05 UTC (permalink / raw) To: mailing list for ConTeXt users Oh, Hans, another bug report, pls test this (come from my thesis): \usetypescript[palatino] \setupbodyfont[palatino,rm] \starttext \placeformula\startformula P_{(i,j)}=\sum_{n=1}^{n_s} P_{{\rm straight},n} \sum_{n=1}^{n_b} P_{{\rm bend},n} \stopformula \placeformula\startformula {{\rm d} {\bf y}\over {\rm d} t} = f(t,{\bf y}) \quad {\bf y}(0)={\bf k} \stopformula \stoptext On Sat, Feb 28, 2009 at 11:55 AM, Yue Wang <yuleopen@gmail.com> wrote: > Hi, Hans: > > Are HZ features still working? I test the beta with one of my > documents, and it gives very bad line break:( > > Yue Wang > > On Wed, Feb 25, 2009 at 12:09 AM, Hans Hagen <pragma@wxs.nl> wrote: >> Hi, >> >> As prelude to LuaTeX 0.40 there is now a beta 0.35. I uploaded a context >> beta that matches this version. The most important move is that we now have >> a new math subsystem. (Specially for Mojca: iwona seems to work ok). Apart >> from bringin unicode math this also gives a better performance. (Some info >> about what is involved can be found in mk.pdf on the website). >> >> There might be ommisions so when you run into one, just let us know. >> >> Hans >> >> ----------------------------------------------------------------- >> Hans Hagen | PRAGMA ADE >> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands >> tel: 038 477 53 69 | fax: 038 477 53 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: beta release 2009-02-28 4:05 ` Yue Wang @ 2009-03-01 18:53 ` Hans Hagen 2009-03-01 19:02 ` Otared Kavian ` (2 more replies) 0 siblings, 3 replies; 32+ messages in thread From: Hans Hagen @ 2009-03-01 18:53 UTC (permalink / raw) To: mailing list for ConTeXt users Yue Wang wrote: > Oh, Hans, another bug report, pls test this (come from my thesis): > > \usetypescript[palatino] > \setupbodyfont[palatino,rm] > \starttext > > \placeformula\startformula > P_{(i,j)}=\sum_{n=1}^{n_s} P_{{\rm straight},n} \sum_{n=1}^{n_b} > P_{{\rm bend},n} > \stopformula > > \placeformula\startformula > {{\rm d} {\bf y}\over {\rm d} t} = f(t,{\bf y}) \quad {\bf y}(0)={\bf k} > \stopformula > \stoptext i have no clue what you expect .. the bold y? if so ... we need to add the bold definition to the vf spec mathematics.make_font ( "px-math", { { name = "texgyrepagella-regular", features = "virtualmath", main = true }, { name = "pxr", vector = "traditional-mr" } , { name = "pxmi", vector = "traditional-mi", skewchar=0x7F }, { name = "pxsy", vector = "traditional-sy", skewchar=0x30, parameters = true } , { name = "pxex", vector = "traditional-ex", extension = true } , { name = "pxsya", vector = "traditional-ma" }, { name = "pxsyb", vector = "traditional-mb" }, } ) (feel free to figure out what font -) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: beta release 2009-03-01 18:53 ` Hans Hagen @ 2009-03-01 19:02 ` Otared Kavian 2009-03-01 19:53 ` Hans Hagen 2009-03-02 3:57 ` Yue Wang 2009-03-02 3:56 ` Yue Wang 2009-03-03 6:44 ` Yue Wang 2 siblings, 2 replies; 32+ messages in thread From: Otared Kavian @ 2009-03-01 19:02 UTC (permalink / raw) To: mailing list for ConTeXt users On 1 mars 09, at 19:53, Hans Hagen wrote: > Yue Wang wrote: >> Oh, Hans, another bug report, pls test this (come from my thesis): >> \usetypescript[palatino] >> \setupbodyfont[palatino,rm] >> \starttext >> \placeformula\startformula >> P_{(i,j)}=\sum_{n=1}^{n_s} P_{{\rm straight},n} \sum_{n=1}^{n_b} >> P_{{\rm bend},n} >> \stopformula >> \placeformula\startformula >> {{\rm d} {\bf y}\over {\rm d} t} = f(t,{\bf y}) \quad {\bf y} >> (0)={\bf k} >> \stopformula >> \stoptext > > i have no clue what you expect .. the bold y? if so ... we need to > add the bold definition to the vf spec > Hi Hans, I guess what Yue Wang wants to say is that in mkiv the summation sign \sum has a small size, analogous to the in-line math $\sum$, while in mkii the ersult is as expected. Best regards: OK ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: beta release 2009-03-01 19:02 ` Otared Kavian @ 2009-03-01 19:53 ` Hans Hagen 2009-03-02 3:57 ` Yue Wang 1 sibling, 0 replies; 32+ messages in thread From: Hans Hagen @ 2009-03-01 19:53 UTC (permalink / raw) To: mailing list for ConTeXt users Otared Kavian wrote: > > On 1 mars 09, at 19:53, Hans Hagen wrote: > >> Yue Wang wrote: >>> Oh, Hans, another bug report, pls test this (come from my thesis): >>> \usetypescript[palatino] >>> \setupbodyfont[palatino,rm] >>> \starttext >>> \placeformula\startformula >>> P_{(i,j)}=\sum_{n=1}^{n_s} P_{{\rm straight},n} \sum_{n=1}^{n_b} >>> P_{{\rm bend},n} >>> \stopformula >>> \placeformula\startformula >>> {{\rm d} {\bf y}\over {\rm d} t} = f(t,{\bf y}) \quad {\bf y}(0)={\bf k} >>> \stopformula >>> \stoptext >> >> i have no clue what you expect .. the bold y? if so ... we need to add >> the bold definition to the vf spec >> > > Hi Hans, > > I guess what Yue Wang wants to say is that in mkiv the summation sign > \sum has a small size, analogous to the in-line math $\sum$, while in > mkii the ersult is as expected. ok, thanks Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: beta release 2009-03-01 19:02 ` Otared Kavian 2009-03-01 19:53 ` Hans Hagen @ 2009-03-02 3:57 ` Yue Wang 2009-03-02 3:57 ` Yue Wang 1 sibling, 1 reply; 32+ messages in thread From: Yue Wang @ 2009-03-02 3:57 UTC (permalink / raw) To: mailing list for ConTeXt users yes, that's what the second equation points out. On Mon, Mar 2, 2009 at 3:02 AM, Otared Kavian <otared@gmail.com> wrote: > > On 1 mars 09, at 19:53, Hans Hagen wrote: > >> Yue Wang wrote: >>> >>> Oh, Hans, another bug report, pls test this (come from my thesis): >>> \usetypescript[palatino] >>> \setupbodyfont[palatino,rm] >>> \starttext >>> \placeformula\startformula >>> P_{(i,j)}=\sum_{n=1}^{n_s} P_{{\rm straight},n} \sum_{n=1}^{n_b} >>> P_{{\rm bend},n} >>> \stopformula >>> \placeformula\startformula >>> {{\rm d} {\bf y}\over {\rm d} t} = f(t,{\bf y}) \quad {\bf y}(0)={\bf k} >>> \stopformula >>> \stoptext >> >> i have no clue what you expect .. the bold y? if so ... we need to add the >> bold definition to the vf spec >> > > Hi Hans, > > I guess what Yue Wang wants to say is that in mkiv the summation sign \sum > has a small size, analogous to the in-line math $\sum$, while in mkii the > ersult is as expected. > > Best regards: OK > > ___________________________________________________________________________________ > 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: beta release 2009-03-02 3:57 ` Yue Wang @ 2009-03-02 3:57 ` Yue Wang 0 siblings, 0 replies; 32+ messages in thread From: Yue Wang @ 2009-03-02 3:57 UTC (permalink / raw) To: mailing list for ConTeXt users On Mon, Mar 2, 2009 at 11:57 AM, Yue Wang <yuleopen@gmail.com> wrote: > yes, that's what the second equation points out. > s/second/first > On Mon, Mar 2, 2009 at 3:02 AM, Otared Kavian <otared@gmail.com> wrote: >> >> On 1 mars 09, at 19:53, Hans Hagen wrote: >> >>> Yue Wang wrote: >>>> >>>> Oh, Hans, another bug report, pls test this (come from my thesis): >>>> \usetypescript[palatino] >>>> \setupbodyfont[palatino,rm] >>>> \starttext >>>> \placeformula\startformula >>>> P_{(i,j)}=\sum_{n=1}^{n_s} P_{{\rm straight},n} \sum_{n=1}^{n_b} >>>> P_{{\rm bend},n} >>>> \stopformula >>>> \placeformula\startformula >>>> {{\rm d} {\bf y}\over {\rm d} t} = f(t,{\bf y}) \quad {\bf y}(0)={\bf k} >>>> \stopformula >>>> \stoptext >>> >>> i have no clue what you expect .. the bold y? if so ... we need to add the >>> bold definition to the vf spec >>> >> >> Hi Hans, >> >> I guess what Yue Wang wants to say is that in mkiv the summation sign \sum >> has a small size, analogous to the in-line math $\sum$, while in mkii the >> ersult is as expected. >> >> Best regards: OK >> >> ___________________________________________________________________________________ >> 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: beta release 2009-03-01 18:53 ` Hans Hagen 2009-03-01 19:02 ` Otared Kavian @ 2009-03-02 3:56 ` Yue Wang 2009-03-03 6:44 ` Yue Wang 2 siblings, 0 replies; 32+ messages in thread From: Yue Wang @ 2009-03-02 3:56 UTC (permalink / raw) To: mailing list for ConTeXt users yep. thx. On Mon, Mar 2, 2009 at 2:53 AM, Hans Hagen <pragma@wxs.nl> wrote: > Yue Wang wrote: >> >> Oh, Hans, another bug report, pls test this (come from my thesis): >> >> \usetypescript[palatino] >> \setupbodyfont[palatino,rm] >> \starttext >> >> \placeformula\startformula >> P_{(i,j)}=\sum_{n=1}^{n_s} P_{{\rm straight},n} \sum_{n=1}^{n_b} >> P_{{\rm bend},n} >> \stopformula >> >> \placeformula\startformula >> {{\rm d} {\bf y}\over {\rm d} t} = f(t,{\bf y}) \quad {\bf y}(0)={\bf k} >> \stopformula >> \stoptext > > i have no clue what you expect .. the bold y? if so ... we need to add the > bold definition to the vf spec > > mathematics.make_font ( "px-math", { > { name = "texgyrepagella-regular", features = "virtualmath", main = true > }, > { name = "pxr", vector = "traditional-mr" } , > { name = "pxmi", vector = "traditional-mi", skewchar=0x7F }, > { name = "pxsy", vector = "traditional-sy", skewchar=0x30, parameters = > true } , > { name = "pxex", vector = "traditional-ex", extension = true } , > { name = "pxsya", vector = "traditional-ma" }, > { name = "pxsyb", vector = "traditional-mb" }, > } ) > > (feel free to figure out what font -) > > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: beta release 2009-03-01 18:53 ` Hans Hagen 2009-03-01 19:02 ` Otared Kavian 2009-03-02 3:56 ` Yue Wang @ 2009-03-03 6:44 ` Yue Wang 2009-03-03 8:17 ` Hans Hagen 2 siblings, 1 reply; 32+ messages in thread From: Yue Wang @ 2009-03-03 6:44 UTC (permalink / raw) To: mailing list for ConTeXt users ${\bf y}$ still gives me roman regular y. On Mon, Mar 2, 2009 at 2:53 AM, Hans Hagen <pragma@wxs.nl> wrote: > Yue Wang wrote: >> >> Oh, Hans, another bug report, pls test this (come from my thesis): >> >> \usetypescript[palatino] >> \setupbodyfont[palatino,rm] >> \starttext >> >> \placeformula\startformula >> P_{(i,j)}=\sum_{n=1}^{n_s} P_{{\rm straight},n} \sum_{n=1}^{n_b} >> P_{{\rm bend},n} >> \stopformula >> >> \placeformula\startformula >> {{\rm d} {\bf y}\over {\rm d} t} = f(t,{\bf y}) \quad {\bf y}(0)={\bf k} >> \stopformula >> \stoptext > > i have no clue what you expect .. the bold y? if so ... we need to add the > bold definition to the vf spec > > mathematics.make_font ( "px-math", { > { name = "texgyrepagella-regular", features = "virtualmath", main = true > }, > { name = "pxr", vector = "traditional-mr" } , > { name = "pxmi", vector = "traditional-mi", skewchar=0x7F }, > { name = "pxsy", vector = "traditional-sy", skewchar=0x30, parameters = > true } , > { name = "pxex", vector = "traditional-ex", extension = true } , > { name = "pxsya", vector = "traditional-ma" }, > { name = "pxsyb", vector = "traditional-mb" }, > } ) > > (feel free to figure out what font -) > > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: beta release 2009-03-03 6:44 ` Yue Wang @ 2009-03-03 8:17 ` Hans Hagen 0 siblings, 0 replies; 32+ messages in thread From: Hans Hagen @ 2009-03-03 8:17 UTC (permalink / raw) To: mailing list for ConTeXt users Yue Wang wrote: > ${\bf y}$ still gives me roman regular y. sure, as i didn't add any bold definitions yet Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: beta release 2009-02-28 3:55 ` Yue Wang 2009-02-28 4:05 ` Yue Wang @ 2009-03-01 17:19 ` Hans Hagen 2009-03-01 17:58 ` Wolfgang Schuster 1 sibling, 1 reply; 32+ messages in thread From: Hans Hagen @ 2009-03-01 17:19 UTC (permalink / raw) To: mailing list for ConTeXt users Yue Wang wrote: > Hi, Hans: > > Are HZ features still working? I test the beta with one of my > documents, and it gives very bad line break:( it should work ok ... what testfile do you use? ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: beta release 2009-03-01 17:19 ` Hans Hagen @ 2009-03-01 17:58 ` Wolfgang Schuster 2009-03-03 6:47 ` Yue Wang 0 siblings, 1 reply; 32+ messages in thread From: Wolfgang Schuster @ 2009-03-01 17:58 UTC (permalink / raw) To: mailing list for ConTeXt users Am 01.03.2009 um 18:19 schrieb Hans Hagen: > Yue Wang wrote: >> Hi, Hans: >> Are HZ features still working? I test the beta with one of my >> documents, and it gives very bad line break:( > > it should work ok ... what testfile do you use? He's is right, here is a example. \definefontfeature[default][default] [script=latn,mode=node,expansion=quality,protrusion=quality] \usetypescript[palatino] \setupbodyfont[palatino] \mainlanguage[de] \starttext Ein König von Baßrah besaß große Reichtümer. Seine Untertanen liebten ihn, aber er hatte keine Kinder, und das betrübte ihn über die Maßen. Indes veranlaßte er alle heiligen Männer in seinen Staaten durch namhafte Geschenke, den Himmel für ihn um einen Sohn zu bitten, und ihre Gebete waren nicht erfolglos: die Königin wurde schwanger und genas glücklich eines Sohnes. welcher den Namen Zeyn Alasnam, d\,h~Zierde der Bildsäulen, erhielt. Der König ließ alle Sterndeuter seines Reiches zusammenrufen und befahl ihnen, dem Kind das Horoskop zu stellen. Sie entdeckten durch ihre Beobachtungen, daß er lange leben und viel Mut besitzen würde, daß er dieses Mutes aber auch bedürfe, um das vielfache Unglück, das ihn bedrohe, mannhaft zu ertragen. Der König erschrak nicht über diese Weissagung, »Wenn mein Sohn Mut hat«, sagte er, »so ist er nicht zu beklagen. Es ist gut, wenn die Prinzen manchmal in ein Unglück kommen; Widerwärtigkeiten läutern ihre Tugend, sie lernen dadurch nur um so besser regieren.« \stoptext Wolfgang ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: beta release 2009-03-01 17:58 ` Wolfgang Schuster @ 2009-03-03 6:47 ` Yue Wang 0 siblings, 0 replies; 32+ messages in thread From: Yue Wang @ 2009-03-03 6:47 UTC (permalink / raw) To: mailing list for ConTeXt users HZ feature is still not working in the latest beta. (Wolfgang's example is a good test for that) 2009/3/2 Wolfgang Schuster <schuster.wolfgang@googlemail.com>: > > Am 01.03.2009 um 18:19 schrieb Hans Hagen: > >> Yue Wang wrote: >>> >>> Hi, Hans: >>> Are HZ features still working? I test the beta with one of my >>> documents, and it gives very bad line break:( >> >> it should work ok ... what testfile do you use? > > He's is right, here is a example. > > \definefontfeature[default][default][script=latn,mode=node,expansion=quality,protrusion=quality] > > \usetypescript[palatino] > \setupbodyfont[palatino] > > \mainlanguage[de] > > \starttext > > Ein König von Baßrah besaß große Reichtümer. Seine Untertanen liebten ihn, > aber er hatte keine Kinder, und das betrübte ihn über die Maßen. Indes > veranlaßte er alle heiligen Männer in seinen Staaten durch namhafte > Geschenke, > den Himmel für ihn um einen Sohn zu bitten, und ihre Gebete waren nicht > erfolglos: die Königin wurde schwanger und genas glücklich eines Sohnes. > welcher > den Namen Zeyn Alasnam, d\,h~Zierde der Bildsäulen, erhielt. > > Der König ließ alle Sterndeuter seines Reiches zusammenrufen und befahl > ihnen, dem Kind das Horoskop zu stellen. Sie entdeckten durch ihre > Beobachtungen, daß er lange leben und viel Mut besitzen würde, daß er dieses > Mutes aber auch bedürfe, um das vielfache Unglück, das ihn bedrohe, mannhaft > zu > ertragen. Der König erschrak nicht über diese Weissagung, »Wenn mein Sohn > Mut > hat«, sagte er, »so ist er nicht zu beklagen. Es ist gut, wenn die Prinzen > manchmal in ein Unglück kommen; Widerwärtigkeiten läutern ihre Tugend, sie > lernen dadurch nur um so besser regieren.« > > \stoptext > > Wolfgang > > ___________________________________________________________________________________ > 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: beta release 2009-02-24 16:09 beta release Hans Hagen ` (2 preceding siblings ...) 2009-02-28 3:55 ` Yue Wang @ 2009-02-28 7:40 ` Yanrui Li 2009-03-01 18:57 ` Hans Hagen 3 siblings, 1 reply; 32+ messages in thread From: Yanrui Li @ 2009-02-28 7:40 UTC (permalink / raw) To: mailing list for ConTeXt users 2009/2/25 Hans Hagen <pragma@wxs.nl>: > Hi, > > As prelude to LuaTeX 0.40 there is now a beta 0.35. I uploaded a context > beta that matches this version. The most important move is that we now have > a new math subsystem. (Specially for Mojca: iwona seems to work ok). Apart > from bringin unicode math this also gives a better performance. (Some info > about what is involved can be found in mk.pdf on the website). > > There might be ommisions so when you run into one, just let us know. > Hi, Maybe there are some bugs in scrp-ini.lua and scrp-cjk.lua as follows: 1. In scrp-ini.lua, some flags of punctuations in the definition of "hash" are replaced by "chinese" flags, for example: local hash = { ... ... [0xFF0C] = "full_width_close", -- , ... ... } ... ... for i=0x0FF00,0x0FFEF do hash[i] = "chinese" end ... ... 2. In scrp-cjk.lua, it seems that "insert_node_before" in some break & shrink & stretch functions should be "insert_node_after", for example: local function nobreak_stretch(head,current) insert_node_before(head,current,make_penalty_node(10000)) insert_node_before(head,current,make_glue_node(0,inter_char_stretch,0)) end In addition, I found Chinese punctuations compression in this beta. Will these features be provided in future beta? -- Best wishes, Li Yanrui * Gentoo Linux (~x86) * LuaTeX (snapshot-0.35.0-2009022702) * ConTeXt Minimals (2009.02.25 14:43) ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: beta release 2009-02-28 7:40 ` Yanrui Li @ 2009-03-01 18:57 ` Hans Hagen 2009-03-02 0:50 ` Yanrui Li 0 siblings, 1 reply; 32+ messages in thread From: Hans Hagen @ 2009-03-01 18:57 UTC (permalink / raw) To: mailing list for ConTeXt users Yanrui Li wrote: > 2009/2/25 Hans Hagen <pragma@wxs.nl>: >> Hi, >> >> As prelude to LuaTeX 0.40 there is now a beta 0.35. I uploaded a context >> beta that matches this version. The most important move is that we now have >> a new math subsystem. (Specially for Mojca: iwona seems to work ok). Apart >> from bringin unicode math this also gives a better performance. (Some info >> about what is involved can be found in mk.pdf on the website). >> >> There might be ommisions so when you run into one, just let us know. >> > > Hi, > > Maybe there are some bugs in scrp-ini.lua and scrp-cjk.lua as follows: > > 1. In scrp-ini.lua, some flags of punctuations in the definition of > "hash" are replaced by > "chinese" flags, for example: > > local hash = { > ... ... > [0xFF0C] = "full_width_close", -- , > ... ... > } > ... ... > for i=0x0FF00,0x0FFEF do hash[i] = "chinese" end > ... ... > > 2. In scrp-cjk.lua, it seems that "insert_node_before" in some break & > shrink & stretch functions > should be "insert_node_after", for example: > > local function nobreak_stretch(head,current) > insert_node_before(head,current,make_penalty_node(10000)) > insert_node_before(head,current,make_glue_node(0,inter_char_stretch,0)) > end we only insert nodes before, so in that case you need to look at another combination; so, like <class_a> [insert] <class_b> is triggered only once, by the table entry [class a] = { class_b = ... } > In addition, I found Chinese punctuations compression in this beta. > Will these features be provided in future beta? maybe, once we have decided on a proper reference font ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: beta release 2009-03-01 18:57 ` Hans Hagen @ 2009-03-02 0:50 ` Yanrui Li 2009-03-02 8:31 ` Hans Hagen 0 siblings, 1 reply; 32+ messages in thread From: Yanrui Li @ 2009-03-02 0:50 UTC (permalink / raw) To: mailing list for ConTeXt users 2009/3/2 Hans Hagen <pragma@wxs.nl>: > Yanrui Li wrote: >> >> 2009/2/25 Hans Hagen <pragma@wxs.nl>: >>> >>> Hi, >>> >>> As prelude to LuaTeX 0.40 there is now a beta 0.35. I uploaded a context >>> beta that matches this version. The most important move is that we now >>> have >>> a new math subsystem. (Specially for Mojca: iwona seems to work ok). >>> Apart >>> from bringin unicode math this also gives a better performance. (Some >>> info >>> about what is involved can be found in mk.pdf on the website). >>> >>> There might be ommisions so when you run into one, just let us know. >>> >> >> Hi, >> >> Maybe there are some bugs in scrp-ini.lua and scrp-cjk.lua as follows: >> >> 1. In scrp-ini.lua, some flags of punctuations in the definition of >> "hash" are replaced by >> "chinese" flags, for example: >> >> local hash = { >> ... ... >> [0xFF0C] = "full_width_close", -- , >> ... ... >> } >> ... ... >> for i=0x0FF00,0x0FFEF do hash[i] = "chinese" end >> ... ... >> >> 2. In scrp-cjk.lua, it seems that "insert_node_before" in some break & >> shrink & stretch functions >> should be "insert_node_after", for example: >> >> local function nobreak_stretch(head,current) >> insert_node_before(head,current,make_penalty_node(10000)) >> insert_node_before(head,current,make_glue_node(0,inter_char_stretch,0)) >> end > > we only insert nodes before, so in that case you need to look at another > combination; so, like > > <class_a> [insert] <class_b> > > is triggered only once, by the table entry > > [class a] = { class_b = ... } > Thanks for your explanation, I see. There are some Chinese punctuations, such as “," (fullwidth comma), "!" (fullwidth exclamation mark) and so on, which are considered to be "chinese" but not "full_width_close" by scrp-cjk.lua. Is this deliberately doing? -- Best wishes, Li Yanrui * Gentoo Linux (~x86) * LuaTeX (snapshot-0.35.0-2009022702) * ConTeXt Minimals (2009.02.25 14:43) ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: beta release 2009-03-02 0:50 ` Yanrui Li @ 2009-03-02 8:31 ` Hans Hagen 2009-03-02 9:11 ` Dohyun Kim 0 siblings, 1 reply; 32+ messages in thread From: Hans Hagen @ 2009-03-02 8:31 UTC (permalink / raw) To: mailing list for ConTeXt users Yanrui Li wrote: > 2009/3/2 Hans Hagen <pragma@wxs.nl>: >> Yanrui Li wrote: >>> 2009/2/25 Hans Hagen <pragma@wxs.nl>: >>>> Hi, >>>> >>>> As prelude to LuaTeX 0.40 there is now a beta 0.35. I uploaded a context >>>> beta that matches this version. The most important move is that we now >>>> have >>>> a new math subsystem. (Specially for Mojca: iwona seems to work ok). >>>> Apart >>>> from bringin unicode math this also gives a better performance. (Some >>>> info >>>> about what is involved can be found in mk.pdf on the website). >>>> >>>> There might be ommisions so when you run into one, just let us know. >>>> >>> Hi, >>> >>> Maybe there are some bugs in scrp-ini.lua and scrp-cjk.lua as follows: >>> >>> 1. In scrp-ini.lua, some flags of punctuations in the definition of >>> "hash" are replaced by >>> "chinese" flags, for example: >>> >>> local hash = { >>> ... ... >>> [0xFF0C] = "full_width_close", -- , >>> ... ... >>> } >>> ... ... >>> for i=0x0FF00,0x0FFEF do hash[i] = "chinese" end >>> ... ... >>> >>> 2. In scrp-cjk.lua, it seems that "insert_node_before" in some break & >>> shrink & stretch functions >>> should be "insert_node_after", for example: >>> >>> local function nobreak_stretch(head,current) >>> insert_node_before(head,current,make_penalty_node(10000)) >>> insert_node_before(head,current,make_glue_node(0,inter_char_stretch,0)) >>> end >> we only insert nodes before, so in that case you need to look at another >> combination; so, like >> >> <class_a> [insert] <class_b> >> >> is triggered only once, by the table entry >> >> [class a] = { class_b = ... } >> > > Thanks for your explanation, I see. > > There are some Chinese punctuations, > such as “," (fullwidth comma), "!" (fullwidth exclamation mark) and so on, > which are considered to be "chinese" but not "full_width_close" by > scrp-cjk.lua. > Is this deliberately doing? we have different vectors for chinese and korean and each of them can be optimized, of there can be several for each script keep in mind that when korean uses chinese, it does not use the chinese rules Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: beta release 2009-03-02 8:31 ` Hans Hagen @ 2009-03-02 9:11 ` Dohyun Kim 2009-03-02 10:02 ` Hans Hagen 0 siblings, 1 reply; 32+ messages in thread From: Dohyun Kim @ 2009-03-02 9:11 UTC (permalink / raw) To: mailing list for ConTeXt users 2009/3/2 Hans Hagen <pragma@wxs.nl>: > Yanrui Li wrote: >> >> There are some Chinese punctuations, >> such as “," (fullwidth comma), "!" (fullwidth exclamation mark) and so on, >> which are considered to be "chinese" but not "full_width_close" by >> scrp-cjk.lua. >> Is this deliberately doing? > > we have different vectors for chinese and korean and each of them can be > optimized, of there can be several for each script > > keep in mind that when korean uses chinese, it does not use the chinese > rules > Those Chinese punctuations we Koreans seldom use. Nor we normally use characters from U+FF00 .. U+FFFF area. So it's OK to delete this line in scip-ini.lua : for i=0x0FF00,0x0FFEF do hash[i] = "chinese" end as requested by Chinese people. Or it would be better if the order is reversed, that is to say, if the line mentioned above and other adjacent lines comes before the hash table of individual characters. Dohyun Kim ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: beta release 2009-03-02 9:11 ` Dohyun Kim @ 2009-03-02 10:02 ` Hans Hagen 2009-03-02 10:17 ` Dohyun Kim 0 siblings, 1 reply; 32+ messages in thread From: Hans Hagen @ 2009-03-02 10:02 UTC (permalink / raw) To: mailing list for ConTeXt users Dohyun Kim wrote: > 2009/3/2 Hans Hagen <pragma@wxs.nl>: >> Yanrui Li wrote: >>> There are some Chinese punctuations, >>> such as “," (fullwidth comma), "!" (fullwidth exclamation mark) and so on, >>> which are considered to be "chinese" but not "full_width_close" by >>> scrp-cjk.lua. >>> Is this deliberately doing? >> we have different vectors for chinese and korean and each of them can be >> optimized, of there can be several for each script >> >> keep in mind that when korean uses chinese, it does not use the chinese >> rules >> > > Those Chinese punctuations we Koreans seldom use. > Nor we normally use characters from U+FF00 .. U+FFFF area. > So it's OK to delete this line in scip-ini.lua : > > for i=0x0FF00,0x0FFEF do hash[i] = "chinese" end > > as requested by Chinese people. > > Or it would be better if the order is reversed, that is to say, > if the line mentioned above and other adjacent lines comes before > the hash table of individual characters. then we'd need to do each assignment individually; so instead i now have for i=0x0FF00,0x0FFEF do if not hash[i] then hash[i] = "chinese" end end i.e. a test before an assigment so that the first table takes precedence. ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: beta release 2009-03-02 10:02 ` Hans Hagen @ 2009-03-02 10:17 ` Dohyun Kim 2009-03-02 10:41 ` Hans Hagen 0 siblings, 1 reply; 32+ messages in thread From: Dohyun Kim @ 2009-03-02 10:17 UTC (permalink / raw) To: mailing list for ConTeXt users 2009년 3월 2일 (월) 오후 7:02, Hans Hagen <pragma@wxs.nl>님의 말: > Dohyun Kim wrote: >> Or it would be better if the order is reversed, that is to say, >> if the line mentioned above and other adjacent lines comes before >> the hash table of individual characters. > > then we'd need to do each assignment individually; so instead i now have > > for i=0x0FF00,0x0FFEF do if not hash[i] then hash[i] = "chinese" > end end > > i.e. a test before an assigment so that the first table takes precedence. > ok. Then, why don't you do the same for other assignments to "chinese"? because, for instance, "non-starters" too are currently overridden by "chinese". Dohyun Kim ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: beta release 2009-03-02 10:17 ` Dohyun Kim @ 2009-03-02 10:41 ` Hans Hagen 0 siblings, 0 replies; 32+ messages in thread From: Hans Hagen @ 2009-03-02 10:41 UTC (permalink / raw) To: mailing list for ConTeXt users Dohyun Kim wrote: > 2009년 3월 2일 (월) 오후 7:02, Hans Hagen <pragma@wxs.nl>님의 말: >> Dohyun Kim wrote: >>> Or it would be better if the order is reversed, that is to say, >>> if the line mentioned above and other adjacent lines comes before >>> the hash table of individual characters. >> then we'd need to do each assignment individually; so instead i now have >> >> for i=0x0FF00,0x0FFEF do if not hash[i] then hash[i] = "chinese" >> end end >> >> i.e. a test before an assigment so that the first table takes precedence. >> > > ok. > Then, why don't you do the same for other assignments to "chinese"? > because, for instance, "non-starters" too are currently overridden by "chinese". i do it for all ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 32+ messages in thread
end of thread, other threads:[~2009-03-03 8:17 UTC | newest] Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-02-24 16:09 beta release Hans Hagen 2009-02-24 17:11 ` mkiv ppchtex greek character bug Alan BRASLAU 2009-02-24 17:23 ` Hans Hagen 2009-02-24 17:49 ` Alan BRASLAU 2009-02-24 22:36 ` Hans Hagen 2009-02-24 22:46 ` Hans Hagen 2009-02-24 22:52 ` Hans Hagen 2009-02-25 7:52 ` Alan BRASLAU 2009-02-25 8:23 ` Hans Hagen 2009-02-25 14:45 ` Mojca Miklavec 2009-02-24 18:03 ` beta release Wolfgang Schuster 2009-02-28 3:55 ` Yue Wang 2009-02-28 4:05 ` Yue Wang 2009-03-01 18:53 ` Hans Hagen 2009-03-01 19:02 ` Otared Kavian 2009-03-01 19:53 ` Hans Hagen 2009-03-02 3:57 ` Yue Wang 2009-03-02 3:57 ` Yue Wang 2009-03-02 3:56 ` Yue Wang 2009-03-03 6:44 ` Yue Wang 2009-03-03 8:17 ` Hans Hagen 2009-03-01 17:19 ` Hans Hagen 2009-03-01 17:58 ` Wolfgang Schuster 2009-03-03 6:47 ` Yue Wang 2009-02-28 7:40 ` Yanrui Li 2009-03-01 18:57 ` Hans Hagen 2009-03-02 0:50 ` Yanrui Li 2009-03-02 8:31 ` Hans Hagen 2009-03-02 9:11 ` Dohyun Kim 2009-03-02 10:02 ` Hans Hagen 2009-03-02 10:17 ` Dohyun Kim 2009-03-02 10:41 ` Hans Hagen
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).