Re: [NTG-context] math and palatino
On Wed, 17 Jun 2009, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, [mkiv only] What is the best available math font for use with Pagella/Palatino? The math fonts compatible with Palatino are px math and math paza ConTeXt only has support for px math. [Hint: it's not LM] I had to roll my own typescript so what I need to fill in is the commented line below \definetypeface [pagella_ar] [rm] [serif] [pagella_arabic] % [pagella_arabic] % \definetypeface [pagella_ar] [mm] [math] [palatino] [default] Uncommenting the above gives me an incomplete math font Currently, no math font in mkiv is "complete". Which specific glyphs are missing for you? The easiest opiton is to use asana math, which is an otf math font based on px fonts. \starttypescript [math] [asana] [name] \definefontsynonym [MathRoman] [name:Asana-Math] [features=math\mathsizesuffix] \stoptypescript and then \definetypeface [pagella_ar] [mm] [math] [asana] [default] that does not look good. Any ideas on getting this right? I also find px math ugly (although I did use it for my thesis). math pazo is not much better, it uses most of the symbols from cm. There is a commerical math from micropress that is supposed to be compatible with palatino, but I have never used it myself. Is there an otf euler option? No. Also keep in mind that euler is no where close to being a complete math font. Mkii used a virtual font that took missing symbols from px math and cm. I have a local half baked support for Euler, which uses missing symbols from iwona. I can send the patch if you want to experiment with it. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem with \digits
>> I am using mkiv beta (14-Jun-09) and the \digits command does not like the >> decimal point. Any suggestions? > a lpeg grammar ? > > -- > luigi I'm sorry, I don't understand. Does anybody else have this problem, or is it just me? Richard Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration Number: 2416188 Registered in England and Wales. Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU. CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium. Please consider the environment before printing this e-mail ___ 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 ___
Re: [NTG-context] math and palatino
>> Is there an otf euler option? > > No. Also keep in mind that euler is no where close to being a complete math > font. Mkii used a virtual font that took missing symbols from px math and > cm. > > I have a local half baked support for Euler, which uses missing symbols from > iwona. I can send the patch if you want to experiment with it. I would love that as well. Is it on the wiki? Johan > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ > > -- Johan Sandblom, MD PhD m +46735521477 Sweden "What is wanted is not the will to believe, but the will to find out, which is the exact opposite" - Bertrand Russell ___ 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 ___
Re: [NTG-context] Problem with \digits
On Thu, Jun 18, 2009 at 10:06 AM, wrote: > >> I am using mkiv beta (14-Jun-09) and the \digits command does not like > the > >> decimal point. Any suggestions? > > > a lpeg grammar ? > > > > -- > > luigi > > I'm sorry, I don't understand. > lpeg is parsing expression gramma , a "tool" like regular expressions but more powerful (see ttp://www.inf.puc-rio.br/~roberto/lpeg/) and is included in context mkiv (so it works only with luatex ) ; see l-lpeg.lua . For an example see l-number.lua (I hope , I have an old mkiv release) . Does anybody else have this problem, or is it just me? > Can you post a little snippet of your problem ? -- luigi ___ 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 ___
Re: [NTG-context] Problem with \digits
On Thu, Jun 18, 2009 at 10:06 AM, wrote: > >> I am using mkiv beta (14-Jun-09) and the \digits command does not like > the > >> decimal point. Any suggestions? > > > a lpeg grammar ? > > > > -- > > luigi > > I'm sorry, I don't understand. > lpeg is parsing expression gramma , a "tool" like regular expressions but more powerful (see ttp://www.inf.puc-rio.br/~roberto/lpeg/) and is included in context mkiv (so it works only with luatex ) ; see l-lpeg.lua . For an example see l-number.lua (I hope , I have an old mkiv release) . Does anybody else have this problem, or is it just me? > Can you post a little snippet of your problem ? -- luigi ___ 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 ___
Re: [NTG-context] math and palatino
On Thu, 18 Jun 2009, Johan Sandblom wrote: Is there an otf euler option? No. Also keep in mind that euler is no where close to being a complete math font. Mkii used a virtual font that took missing symbols from px math and cm. I have a local half baked support for Euler, which uses missing symbols from iwona. I can send the patch if you want to experiment with it. I would love that as well. Is it on the wiki? http://github.com/adityam/context-math/commit/ba9c49b5ac7c19900d851c1bcbbde599f672acd4 Keep in mind that this is/was an experiment. I am still trying to understand how to create virtual fonts on the fly. In order to use this, you need \starttypescript [math][euler][all] \definefontsynonym[mathroman][eu...@euler-math] \loadmapfile[original-ams-euler.map] \loadmapfile[iwona-ex.map] \loadmapfile[iwona-sy.map] \stoptypescript then \definetypescript[whatever][mm][euler][default][text=rm] 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] math and palatino
Hi Aditya, On Thu, 18 Jun 2009 02:03:44 -0600, Aditya Mahajan wrote: The math fonts compatible with Palatino are px math and math paza ConTeXt only has support for px math. ok, good to know... [I rarely use math these past few years] [Hint: it's not LM] I had to roll my own typescript so what I need to fill in is the commented line below \definetypeface [pagella_ar] [rm] [serif] [pagella_arabic] % [pagella_arabic] % \definetypeface [pagella_ar] [mm] [math] [palatino] [default] Uncommenting the above gives me an incomplete math font Currently, no math font in mkiv is "complete". Which specific glyphs are missing for you? \alpha The easiest opiton is to use asana math, which is an otf math font based on px fonts. \starttypescript [math] [asana] [name] \definefontsynonym [MathRoman] [name:Asana-Math] [features=math\mathsizesuffix] \stoptypescript and then \definetypeface [pagella_ar] [mm] [math] [asana] [default] LuaTeX warning (file C:/ConTeXt/tex/texmf-project/fonts/data/asana/Asana-Math.otf): Type2 Charstring Parser: Unknown charstring operator: 0x00 !LuaTeX error (file C:/ConTeXt/tex/texmf-project/fonts/data/asana/Asana-Math.otf): Type2 Charstring Parser: Parsing charstring failed: (status=-1, stack=0) ==> Fatal error occurred, no output PDF file produced! Have any of you run into this before? If this is a showstopper, then a fallback will have to do. Have any of you made fallbacks for math fonts? Are there any subtleties compared to regular fonts? What is the unicode slot for math \alpha? that does not look good. Any ideas on getting this right? I also find px math ugly (although I did use it for my thesis). math pazo is not much better, it uses most of the symbols from cm. There is a commerical math from micropress that is supposed to be compatible with palatino, but I have never used it myself. Is there an otf euler option? No. Also keep in mind that euler is no where close to being a complete math font. Mkii used a virtual font that took missing symbols from px math and cm. I have a local half baked support for Euler, which uses missing symbols from iwona. I can send the patch if you want to experiment with it. Thanks! time is very short, although I like Euler and think it would work for palatino... maybe we need to get the gyre people on it for the future:-) Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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 ___
Re: [NTG-context] Problem with "fontdata.cache" being set to "no" in font-def.lua
Yanrui Li wrote: 1. insert glue between Chinese glyph nodes for linebreak there is a mechanism for that already 2. reduce the spaces between Chinese punctuations this is on the todlist (once we have fonts and time) 3. process protruding of punctuations which appear in margin. this is already possible 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 ___
Re: [NTG-context] math and palatino
On Thu, 18 Jun 2009 02:03:44 -0600, Aditya Mahajan wrote: What is the best available math font for use with Pagella/Palatino? The math fonts compatible with Palatino are px math and math paza ConTeXt only has support for px math. Turns out that cambria is preset in mkiv and works, so I'll use that for now. I filed a report about the asana error so hopefully that will be solved as well. [I use math so little I had completely forgotten about cambria]. Thanks, Aditya! Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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 ___
Re: [NTG-context] math and palatino
On Thu, 18 Jun 2009, Idris Samawi Hamid ادريس سماوي حامد wrote: The easiest opiton is to use asana math, which is an otf math font based on px fonts. \starttypescript [math] [asana] [name] \definefontsynonym [MathRoman] [name:Asana-Math] [features=math\mathsizesuffix] \stoptypescript and then \definetypeface [pagella_ar] [mm] [math] [asana] [default] LuaTeX warning (file C:/ConTeXt/tex/texmf-project/fonts/data/asana/Asana-Math.otf): Type2 Charstring Parser: Unknown charstring operator: 0x00 !LuaTeX error (file C:/ConTeXt/tex/texmf-project/fonts/data/asana/Asana-Math.otf): Type2 Charstring Parser: Parsing charstring failed: (status=-1, stack=0) ==> Fatal error occurred, no output PDF file produced! Have any of you run into this before? No. I am using the minimals from 2009.05.26, and asana math works fine. Are you using the latest version of the font from http://openfontlibrary.org/media/files/asyropoulos/219 If this is a showstopper, then a fallback will have to do. Have any of you made fallbacks for math fonts? Are there any subtleties compared to regular fonts? What is the unicode slot for math \alpha? Basic greek should work in math. I cannot get the latest minimals right now (slow internet connection), but px math and lm math use the same code to generate virtual fonts, so px math should work in the latest minimals. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Lots of problems in mkiv
I've recently started using mkiv because of the fonts, but I have found lots of things that don't work. The trouble is, I don't know if it's just me, or whether I need to go back to mkii until things settle down. Can someone, PLEASE, tell me if they get any of the following problems with mkiv (I've included code snippets): Everything below works perfectly in mkii. 1) References to equations appear as '??' in the final document \placeformula[eq:pythag] \startformula a^2 = b^2 + c^2 \stopformula Pythagoras proposed \in{equation}[eq:pythag]. 2) References to footnotes appear as '??' inside \startlocalfootnotes...\stoplocalfootnotes \startlocalfootnotes This has a note.\footnote[fn]{Footnote.} See note \note[fn]. \stoplocalfootnotes 3) References to sections are repeated (e.g. reference to section 1 appears as '11' or ref to section 1.1 appears as '1.11.1') \section[sec:one]{Section one} It was in \in{section}[sec:one]. 4) \digits command falls over at periods or commas with "\textfont1 is undefined (character 58)." \digits{1.6} 5) \infull command does not work for abbreviations: falls over with "Missing } inserted." \abbreviation {KF} {Kalman filter} Rudolph Kalman invented the \infull{KF}. Please help!! Richard Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration Number: 2416188 Registered in England and Wales. Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU. CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium. Please consider the environment before printing this e-mail ___ 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 ___
[NTG-context] Example of passing unexpanded text between \startfoo ... \stopfoo into Lua?
Hi Hans and others, I've been searching the mailing list and source code for one or more examples of passing unexpanded text appearing between a \startfoo ... \stopfoo block into Lua, but without luck. Is there such an example you could point me to? A colleague and I are experimenting with strategies to implement a literate programming module for ConTeXt, and we'd like to have something like \startcodeblock[language=c,file=foo.c, etc.][blockname] // This is the main routine... int main() { return 0; } \stopcodeblock We would appreciate any thoughts you have about how to implement such a module. Thanks, Kevin ___ 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 ___
Re: [NTG-context] Example of passing unexpanded text between \startfoo ... \stopfoo into Lua?
Am 18.06.2009 um 18:21 schrieb Kevin D. Robbins: Hi Hans and others, I've been searching the mailing list and source code for one or more examples of passing unexpanded text appearing between a \startfoo ... \stopfoo block into Lua, but without luck. Is there such an example you could point me to? Something like this (if not give us more information)? \def\startcodeblock {\begingroup \setcatcodetable\luacatcodes \dodoubleempty\dostartcodeblock} \long\def\dostartcodeblock[#1][#2]#3\stopcodeblock {\modulecode{literateprogramming.codeblock([==[#3]==])}% \endgroup} \startmodulecode literateprogramming = literateprogramming or { } function literateprogramming.codeblock(content) global.print(content) end \stopmodulecode \starttext \startcodeblock[language=c,file=foo.c, etc.][blockname] // This is the main routine... int main() { return 0; } \stopcodeblock \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 ___
Re: [NTG-context] Lots of problems in mkiv
2009/6/18, richard.steph...@converteam.com : > > I've recently started using mkiv because of the fonts, but I have found > lots of things that don't work. > The trouble is, I don't know if it's just me, or whether I need to go back > to mkii until things settle down. > > Can someone, PLEASE, tell me if they get any of the following problems with > mkiv (I've included code snippets): > Everything below works perfectly in mkii. > > 1) References to equations appear as '??' in the final document > > \placeformula[eq:pythag] > \startformula > a^2 = b^2 + c^2 > \stopformula > Pythagoras proposed \in{equation}[eq:pythag]. > > > 2) References to footnotes appear as '??' inside > \startlocalfootnotes...\stoplocalfootnotes > > \startlocalfootnotes > This has a note.\footnote[fn]{Footnote.} > See note \note[fn]. > \stoplocalfootnotes > > 3) References to sections are repeated (e.g. reference to section 1 appears > as '11' or ref to section 1.1 appears as '1.11.1') > > \section[sec:one]{Section one} > It was in \in{section}[sec:one]. > > 4) \digits command falls over at periods or commas with "\textfont1 is > undefined (character 58)." > > \digits{1.6} > > 5) \infull command does not work for abbreviations: falls over with > "Missing } inserted." > > \abbreviation {KF} {Kalman filter} > Rudolph Kalman invented the \infull{KF}. > > > Please help!! > > Richard > > Same thing here with 1,3,4,5. 2 works fine. I've noticed also 3 problems since I switched to MKIV: a) Floatcaptions are no longer placed: \externalfigure[dummy] \placefloatcaption[figure]{blabla} b) \start...\stopregister results in an error: hmmpf\startregister[index][identifier]{Hmmpf}\page[yes] \dorecurse{2}{hmmpf\page[yes]} hmmpf\stopregister[index][identifier]\page[yes] \placeregister[index][compress=no] c) I'm not able to build caption numbers with the chapter number as prefix: I want for example "Fig. 2.6" where "2" is the chapter number and "6" the figure number by chapter. I tried all the options I found for setupcaptions (at least I think so), but I dont get the chapter number in the caption. LuaTeX, Version beta-0.40.5-2009061123 (Web2C 2009) ConTeXt ver: 2009.06.14 21:01 MKIV fmt: 2009.6.18 Thanks in advance for any hint Greetings Tom ___ 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 ___
Re: [NTG-context] math and palatino
On Thu, 18 Jun 2009 10:06:07 -0600, Aditya Mahajan wrote: LuaTeX warning (file C:/ConTeXt/tex/texmf-project/fonts/data/asana/Asana-Math.otf): Type2 Charstring Parser: Unknown charstring operator: 0x00 !LuaTeX error (file C:/ConTeXt/tex/texmf-project/fonts/data/asana/Asana-Math.otf): Type2 Charstring Parser: Parsing charstring failed: (status=-1, stack=0) ==> Fatal error occurred, no output PDF file produced! Have any of you run into this before? No. I am using the minimals from 2009.05.26, and asana math works fine. Are you using the latest version of the font from http://openfontlibrary.org/media/files/asyropoulos/219 seems the same date as http://www.ctan.org/get/fonts/Asana-Math/Asana-Math.otf + This is LuaTeX, Version beta-0.41.0-2009061016 I reported this to Taco so we'll see what he says... If this is a showstopper, then a fallback will have to do. Have any of you made fallbacks for math fonts? Are there any subtleties compared to regular fonts? What is the unicode slot for math \alpha? Basic greek should work in math. I cannot get the latest minimals right now (slow internet connection), but px math and lm math use the same code to generate virtual fonts, so px math should work in the latest minimals. Using the predefined [mm] [math] [palatino] You can test these formulas in px-math: \starttext \startformula Y=AK^{\alpha{}}L^{1-\alpha{}} \eqno(1) \stopformula \startformula y-l=a+\alpha(k-l) \eqno(2) \stopformula \startformula a = (y-l) - \alpha{} (k-l) \eqno(3) \stopformula \startformula A = (3-7)-(0.3) (5-3) = 3.4 \stopformula \alpha{} \stoptext Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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 ___
[NTG-context] On creating my own fonts
I've been doing some searching on how to create my own fonts. If possible, I would like to be able to write my own program to at least draw glyphs, even if I have to resort to other tools to describe hinting, kerning and ligatures. My current knowledge is this. I read that OpenType fonts are actually Type 1 fonts embedded in an archive. So I used this 't1disasm' tool I found after wikipedia article on postscript fonts and used it to decode one of ConTeXt minimal distribution font file into a nice to read text file that looks like the transcript below, and it seems to be something I could easily understand if I find a reference. I would like to ask you if I'm in the proper direction. There are some issues I can't understand, like how can I make OpenType fonts out of Type 1 fonts when the later are supposed to only contain 256 characters (aren't they?). Or how to understand this text file format so I can write my own glyphs. Do you think I'm in the right direction. Do you think there's an easier or better way if I want to create fonts without using existing graphical tools? Thanks, Maurício Converted file excerpt: (...) /char03 { -25 625 hsbw -64 21 hstem 564 -20 hstem 0 175 vstem 150 -64 rmoveto 14 11 12 13 hvcurveto 246 vlineto 462 -267 rlineto 4 -2 4 -2 5 0 rrcurveto 9 0 8 5 5 8 rrcurveto 2 3 1 5 0 4 rrcurveto 578 vlineto 0 4 -1 4 -2 4 rrcurveto -5 8 -8 5 -9 0 rrcurveto -5 0 -4 -2 -3 -2 rrcurveto -463 -267 rlineto 246 vlineto 13 -11 12 -14 vhcurveto -125 hlineto -14 -11 -12 -13 hvcurveto -578 vlineto -13 11 -12 14 vhcurveto closepath endchar } ND /char04 { (...) ___ 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 ___
Re: [NTG-context] Suggestion
On Mon, Jun 15, 2009 at 7:55 PM, Arun Dev wrote: > > Hi, > > You can increase the popularity of ConTeXt by eliminating the need > to install Perl and Ruby. > MKIV does not dependent on Perl and Ruby. I think Hans has plan to convert the MKII scripts to Lua language. Anyway, I highly respect the ConTeXt and LuaTeX's work. But if Taco and Hans can : - use a proper regexp library (like lrexlib?), not the silly lpeg - make font loading faster (by massive fontforge change or replace it with ft2+libotf. we need more efficient solution esp for big fonts) - support TeX line-break-like page break - support arbitrary text-flow maybe via mplib (example: The ultimate (?) float problem + How could a typesetting system be today? on mailing list ) - make processing conditional-aware (see "two newbie questions about conditional processing" on the mailing list) - fix the bug of focus=standard - more powerful multi columns (maybe not through gird typesetting?) - full support of xslt:) Things might be a lot better... > ___ > 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 ___
Re: [NTG-context] math and palatino
On Thu, 18 Jun 2009, Idris Samawi Hamid ادريس سماوي حامد wrote: Basic greek should work in math. I cannot get the latest minimals right now (slow internet connection), but px math and lm math use the same code to generate virtual fonts, so px math should work in the latest minimals. Using the predefined [mm] [math] [palatino] You can test these formulas in px-math: \starttext \startformula Y=AK^{\alpha{}}L^{1-\alpha{}} \eqno(1) \stopformula \startformula y-l=a+\alpha(k-l) \eqno(2) \stopformula \startformula a = (y-l) - \alpha{} (k-l) \eqno(3) \stopformula \startformula A = (3-7)-(0.3) (5-3) = 3.4 \stopformula \alpha{} \stoptext I see. There is indeed something wrong with both px-math and tx-math, but I cannot see why it is behaving differently. In math-vfu.lua, if you replace pxmi.tfm with lmmi10.tfm and regenerate formats, greek in math works, so it is something specific with the font. Hans, Taco: Any idea what is happening here? Minimal test file \usetypescript[palatino] \setupbodyfont[palatino] \starttext $\alpha \beta$ \stoptext Idris: For greek outside the math mode, you should use \greekalpha etc, which works with palatino. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Suggestion
> > > Anyway, I highly respect the ConTeXt and LuaTeX's work. > But if Taco and Hans can : > > - use a proper regexp library (like lrexlib?), not the silly lpeg PEG are not silly at all. PEG *include* regex, but not viceversa, and it seems to have the same power of CFG, so you can build a parser for pratically anything (and you can not do this with regex) . Perhaps the reverse sentence has more sense: drop the "silly" (?) regex, use the new peg. For what I know the reverse side of lpeg is that a file must be loaded in memory completly. - more powerful multi columns (maybe not through gird typesetting?) > Maybe columnset can do more, or we need more examples from hans . - full support of xslt:) > why not xquery too? Are mkiv supposed to be a full xml processor ? A bit of xslt can be done with lpeg (and not regex), but usually it's better to prepare a xml to typeset before processing with mkiv ("use the right tool for the right task"). > Things might be a lot better... > and worse too . Things are now a lot better than before ,IMMO . -- luigi ___ 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 ___