[NTG-context] Arabic protrosion
The attached patch adds Arabic coma, semicolon, full stop (used in Urdu) and question mark to font-ext.lua for protrusion. Now, combined with glyph expansion, I don't get any overfull boxes. Regards, Khaked -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer --- font-ext.lua 2009-03-03 11:48:35.0 +0200 +++ /home/khaled/font-ext.lua 2009-04-06 08:33:26.0 +0200 @@ -134,6 +134,9 @@ [0x2014] = { 0, 0.33 }, -- emdash [0x3001] = { 0, 1}, -- ideographic comma 、 [0x3002] = { 0, 1}, -- ideographic full stop 。 +[0x060C] = { 0, 1}, -- arabic comma ، +[0x061B] = { 0, 1}, -- arabic semicolon ؛ +[0x06D4] = { 0, 1}, -- arabic full stop ۔ } @@ -154,6 +157,10 @@ [0x002D] = { 0,0.70 }, -- hyphen [0x2013] = { 0,0.30 }, -- endash [0x2014] = { 0,0.20 }, -- emdash +[0x060C] = { 0,0.70 }, -- arabic comma +[0x061B] = { 0,0.50 }, -- arabic semicolon +[0x06D4] = { 0,0.70 }, -- arabic full stop +[0x061F] = { 0,0.20 }, -- ؟ -- todo: left and right quotes: .5 double, .7 single signature.asc Description: Digital signature ___ 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] Setting the Non-Printable Area
Hi @all, i like to include a logo on the top-right-edge on every page in my Document. The pagesize is A4, but our printer could not print into the first 5mm from the borders. Now the Logo get's cut on the top and on the right side while printing. I defined my layout like this: -8schnipp- \setuppapersize[A4][A4] \setuplayout[backspace=20mm, width=160mm, topspace=20mm, top=0mm, header=0mm, footer=0mm, height=250mm, grid=yes] -8schnapp- ... and placed the logo like this: -8schnipp- \definelogo [imko logo] [top] [rightedge] [command=\IMKOLogo,state=start] -8schnapp- So how can I define the non-printable area of my A4 paper, so the logo doesn't get cut. - Markus -- ---it's like this-- even samurai have teddy bears and even teddy bears get drunk ___ 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] version control for modules (was: New module simpleslides)
Mojca Miklavec wrote: On Sun, Apr 5, 2009 at 14:51, Patrick Gundlach wrote: I have finally fixed the name. I will do some code changes to ensure a more reasonable user interface. Patrick, Can we create a bunch of version-controlled repositories instead of fancy user interface? I would prefer being able to say svn commit or git commit /me likes as well. Best wishes, Taco ___ 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] Setting the Non-Printable Area
Am 06.04.2009 um 10:19 schrieb Markus Hubig: Hi @all, i like to include a logo on the top-right-edge on every page in my Document. The pagesize is A4, but our printer could not print into the first 5mm from the borders. Now the Logo get's cut on the top and on the right side while printing. Don't use logos, they're outdated (and removed from MkIV), layers are better. \definelayer[logo][width=\paperwidth,height=\paperheight] \setupbackgrounds[page][background=logo] \setlayer[logo][preset=righttop,offset=5mm,state=repeat] {\externalfigure[logo]} \starttext ... \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] Setting the Non-Printable Area
Ahh! Works nice, but now I have this logo just on the first site of my document. How can I set this to be repeated on every page ... I structured my document with environment - project - product - component and I've put the layersetup into my environment file. - Markus On Mon, Apr 6, 2009 at 10:36 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 06.04.2009 um 10:19 schrieb Markus Hubig: Hi @all, i like to include a logo on the top-right-edge on every page in my Document. The pagesize is A4, but our printer could not print into the first 5mm from the borders. Now the Logo get's cut on the top and on the right side while printing. Don't use logos, they're outdated (and removed from MkIV), layers are better. \definelayer[logo][width=\paperwidth,height=\paperheight] \setupbackgrounds[page][background=logo] \setlayer[logo][preset=righttop,offset=5mm,state=repeat]{\externalfigure[logo]} \starttext ... \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 ___ -- ---it's like this-- even samurai have teddy bears and even teddy bears get drunk ___ 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] new beta
Am 06.04.2009 um 12:50 schrieb Hans Hagen: Hi, I uploaded a new beta. Last week(ends) fixes are merged in. Fonts are only loaded when they are set with the filename, fontnames are ignored. \definefont[minionfile][file:MinionPro-Regular*default] \definefont[minionname][name:MinionPro-Regular*default] \starttext {\minionfile Minion Pro} % works {\minionname Minion Pro} % fails \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] Setting the Non-Printable Area
Am 06.04.2009 um 11:32 schrieb Markus Hubig: Ahh! Works nice, but now I have this logo just on the first site of my document. How can I set this to be repeated on every page ... I structured my document with environment - project - product - component and I've put the layersetup into my environment file. \definelayer[logo][width=\paperwidth,height=\paperheight,state=repeat] 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 ___
[NTG-context] new beta
Hi, I uploaded a new beta. Last week(ends) fixes are merged in. There is also an experimental plain version (luatex-plain.tex which you can rename to luatex.tex if needed). That gives you a plain tex with stripped down context mkiv font support (only the minimal amount of lua files are loaded). Some more info (also about generating the related font database) can be found in in luatex-fonts.tex. Of course it's no replacement or context but it seems to work ok (we occasionally need plain tex for testing). It's also not related to the upcoming layered context (aka metatex). 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 ___
[NTG-context] BachoTeX 2009: the final invitation!
Dear GUST and BachoTeX Friends! BachoTeX 2009 is mercilessly coming (http://gust.org.pl/bachotex/2009) :-) We were able to negotiate an extension of the deadline to give the final numbers of the participants with the net effect to have the (well, not so) early-bird-registrations date to become now April 13th, Easter Monday, until midnight. From the conference page the following links are available: -- payments info (behind the Fees link), -- the registration form, -- the current list of presentations (there are some abstracts translations missing; work is under way), -- the schedule framework (behind Schedule). Please note the following interesting events: -- typography counseling (typographers present at the conference will look at your works and will give invaluable advice -- please use the chance!), -- the already traditional TeX Clinic (http://gust.org.pl/projects/klinika), -- the opportunity to present your small works or samples at poster session stands; time will be allocated to discuss them informally with other attendees, -- BoF sessions on topics which surely will emerge during the conference, -- a series of panel discussions: * TeX: Strengths, Weaknesses, Opportunities, Threats (i.e., SWOT analysis), * TeX: at a turning point, or at the crossroads?, * TeX distributions, -- the 2009 TeX Pearls session (http://www.gust.org.pl/projects/pearls), -- and, of course, singing and having some merry time at the bonfires or inside the huts. I also remind GUST members of the 2009 GUST Annual General meeting (April 30th, Thursday, http://www.gust.org.pl/bachotex/2009/agm.html). Please come, bring your families with you, and enjoy the perhaps last chance to experience BachoTeX at Bachotek, as the Nicolas Copernicus University seems to be trying to sell the place, as today's (April 6th, 2009) local papers have it in their headlines :-( Waiting for you! Jerzy Ludwichowski (on behalf of the Organizing Committee) ___ 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] new beta
Wolfgang Schuster wrote: Am 06.04.2009 um 12:50 schrieb Hans Hagen: Hi, I uploaded a new beta. Last week(ends) fixes are merged in. Fonts are only loaded when they are set with the filename, fontnames are ignored. \definefont[minionfile][file:MinionPro-Regular*default] \definefont[minionname][name:MinionPro-Regular*default] \starttext {\minionfile Minion Pro} % works {\minionname Minion Pro} % fails \stoptext hopefully fixed - 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] new beta
Am 06.04.2009 um 14:22 schrieb Hans Hagen: Wolfgang Schuster wrote: Am 06.04.2009 um 12:50 schrieb Hans Hagen: Hi, I uploaded a new beta. Last week(ends) fixes are merged in. Fonts are only loaded when they are set with the filename, fontnames are ignored. \definefont[minionfile][file:MinionPro-Regular*default] \definefont[minionname][name:MinionPro-Regular*default] \starttext {\minionfile Minion Pro} % works {\minionname Minion Pro} % fails \stoptext hopefully fixed Yes, it works. 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] new beta
2009/4/6 Hans Hagen pra...@wxs.nl: Hi, I uploaded a new beta. Last week(ends) fixes are merged in. Sorry for my noise. It seems that Chinese linebreak fails. Maybe \setscript[hanzi] doesn't work. -- Best wishes, Li Yanrui * Gentoo Linux (~x86) * ConTeXt Minimals Beta (2009.04.06 12:23) ___ 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] new beta
2009/4/6 Yanrui Li liyanrui...@gmail.com: 2009/4/6 Hans Hagen pra...@wxs.nl: Hi, I uploaded a new beta. Last week(ends) fixes are merged in. Sorry for my noise. It seems that Chinese linebreak fails. Maybe \setscript[hanzi] doesn't work. The attachment is my test example. -- Best wishes, Li Yanrui * Gentoo Linux (~x86) * ConTeXt Minimals Beta (2009.03.30 18:28) example.tar.gz Description: GNU Zip compressed data ___ 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] new beta
On Mon, Apr 6, 2009 at 12:50 PM, Hans Hagen pra...@wxs.nl wrote: Hi, I uploaded a new beta. Last week(ends) fixes are merged in. There is also an experimental plain version (luatex-plain.tex which you can rename to luatex.tex if needed). That gives you a plain tex with stripped down context mkiv font support (only the minimal amount of lua files are loaded). Some more info (also about generating the related font database) can be found in in luatex-fonts.tex. Of course it's no replacement or context but it seems to work ok (we occasionally need plain tex for testing). It's also not related to the upcoming layered context (aka metatex). Hans texlua: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory Linux 2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 2006 i686 i686 i386 GNU/Linux What's happened ? -- 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] new beta
On Mon, Apr 6, 2009 at 14:55, luigi scarso wrote: texlua: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory Linux 2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 2006 i686 i686 i386 GNU/Linux What's happened ? This has nothing to do with Hans' beta. See http://thread.gmane.org/gmane.comp.tex.context/48892 but I'm clueless. The binaries have been compiled on Debian Etch. Does pdfTeX work on your machine? 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 ___
Re: [NTG-context] new beta
Mojca Miklavec wrote: On Mon, Apr 6, 2009 at 14:55, luigi scarso wrote: texlua: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory Linux 2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 2006 i686 i686 i386 GNU/Linux What's happened ? This has nothing to do with Hans' beta. See http://thread.gmane.org/gmane.comp.tex.context/48892 but I'm clueless. The binaries have been compiled on Debian Etch. Does pdfTeX work on your machine? You need a different cplusplus runtime. Look for a linux package named libstdc++5 or so something like that. Luatex 0.37 is using a dynamic stdc++ library (next version will be static again) Best wishes, Taco ___ 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] new beta
On Mon, Apr 6, 2009 at 3:11 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Mon, Apr 6, 2009 at 14:55, luigi scarso wrote: texlua: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory Linux 2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 2006 i686 i686 i386 GNU/Linux What's happened ? This has nothing to do with Hans' beta. See http://thread.gmane.org/gmane.comp.tex.context/48892 but I'm clueless. The binaries have been compiled on Debian Etch. Does pdfTeX work on your machine? I don't know -- with minimals I use only luatex -- 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] new beta
On Mon, Apr 6, 2009 at 3:16 PM, Taco Hoekwater t...@elvenkind.com wrote: Mojca Miklavec wrote: On Mon, Apr 6, 2009 at 14:55, luigi scarso wrote: texlua: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory Linux 2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 2006 i686 i686 i386 GNU/Linux What's happened ? This has nothing to do with Hans' beta. See http://thread.gmane.org/gmane.comp.tex.context/48892 but I'm clueless. The binaries have been compiled on Debian Etch. Does pdfTeX work on your machine? You need a different cplusplus runtime. Look for a linux package named libstdc++5 or so something like that. Luatex 0.37 is using a dynamic stdc++ library (next version will be static again) ok --when will be next release ? -- 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] new beta
luigi scarso wrote: On Mon, Apr 6, 2009 at 3:16 PM, Taco Hoekwater t...@elvenkind.com mailto:t...@elvenkind.com wrote: Mojca Miklavec wrote: On Mon, Apr 6, 2009 at 14:55, luigi scarso wrote: texlua: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory Linux 2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 2006 i686 i686 i386 GNU/Linux What's happened ? This has nothing to do with Hans' beta. See http://thread.gmane.org/gmane.comp.tex.context/48892 but I'm clueless. The binaries have been compiled on Debian Etch. Does pdfTeX work on your machine? You need a different cplusplus runtime. Look for a linux package named libstdc++5 or so something like that. Luatex 0.37 is using a dynamic stdc++ library (next version will be static again) ok --when will be next release ? Not today. Just yum install libstdc++5 (or yast or urpmi or whatever your flavour of linux uses) Best wishes, Taco ___ 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] new beta
On Mon, Apr 6, 2009 at 3:27 PM, Taco Hoekwater t...@elvenkind.com wrote: luigi scarso wrote: On Mon, Apr 6, 2009 at 3:16 PM, Taco Hoekwater t...@elvenkind.com mailto:t...@elvenkind.com wrote: Mojca Miklavec wrote: On Mon, Apr 6, 2009 at 14:55, luigi scarso wrote: texlua: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory Linux 2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 2006 i686 i686 i386 GNU/Linux What's happened ? This has nothing to do with Hans' beta. See http://thread.gmane.org/gmane.comp.tex.context/48892 but I'm clueless. The binaries have been compiled on Debian Etch. Does pdfTeX work on your machine? You need a different cplusplus runtime. Look for a linux package named libstdc++5 or so something like that. Luatex 0.37 is using a dynamic stdc++ library (next version will be static again) ok --when will be next release ? Not today. this week ? Just yum install libstdc++5 (or yast or urpmi or whatever your flavour of linux uses) yesiknowbuticant -- 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] Arabic protrosion
On Mon, 06 Apr 2009 00:40:12 -0600, Khaled Hosny khaledho...@eglug.org wrote: The attached patch adds Arabic coma, semicolon, full stop (used in Urdu) and question mark to font-ext.lua for protrusion. Now, combined with glyph expansion, I don't get any overfull boxes. Arabic-script microtypography is one of the cornerstones of the Oriental TeX project. We've been studying this matter for some time now: Because of a) the normal wide spacing around Arabic punctuation, and b) the large size of Arabic punctuation relative to Latin, I'm not sure that protrusion of Arabic-script punctuation is a good idea. It needs a lot of thought, and a lot of testing, before adding it to the system. As for glyph expansion, I don't see how that works at all with the current model, except perhaps with very horizontal fonts. But in that case all that's needed is smart tatweel, not glyph expansion. For hq fonts the current glyph expansion model will mess up the contextual connections. Although one can certainly do things with the current model of protrusion and hz, we need more, much more. Khaled, send me some tests off-list and I'll examine them in light of the overall analysis as we prepare for adding Arabic microtypography support, hopefully pretty soon. Thanks plenty for the contributions, and سلام 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] Arabic protrosion
Idris Samawi Hamid ادريس سماوي حامد wrote: On Mon, 06 Apr 2009 00:40:12 -0600, Khaled Hosny khaledho...@eglug.org wrote: The attached patch adds Arabic coma, semicolon, full stop (used in Urdu) and question mark to font-ext.lua for protrusion. Now, combined with glyph expansion, I don't get any overfull boxes. Arabic-script microtypography is one of the cornerstones of the Oriental TeX project. We've been studying this matter for some time now: Because of a) the normal wide spacing around Arabic punctuation, and b) the large size of Arabic punctuation relative to Latin, I'm not sure that protrusion of Arabic-script punctuation is a good idea. It needs a lot of thought, and a lot of testing, before adding it to the system. As for glyph expansion, I don't see how that works at all with the current model, except perhaps with very horizontal fonts. But in that case all that's needed is smart tatweel, not glyph expansion. For hq fonts the current glyph expansion model will mess up the contextual connections. Although one can certainly do things with the current model of protrusion and hz, we need more, much more. Khaled, send me some tests off-list and I'll examine them in light of the overall analysis as we prepare for adding Arabic microtypography support, hopefully pretty soon. Thanks plenty for the contributions, and ok; in the meantime i added his patches since they don't hurt 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] new beta
On Mon, Apr 6, 2009 at 15:18, luigi scarso wrote: On Mon, Apr 6, 2009 at 3:11 PM, Mojca Miklavec wrote: On Mon, Apr 6, 2009 at 14:55, luigi scarso wrote: texlua: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory Linux 2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 2006 i686 i686 i386 GNU/Linux What's happened ? This has nothing to do with Hans' beta. See http://thread.gmane.org/gmane.comp.tex.context/48892 but I'm clueless. The binaries have been compiled on Debian Etch. Does pdfTeX work on your machine? I don't know -- with minimals I use only luatex You don't need to compile the documents to be able to test. Just run pdftex --version (unless you excluded it already during the setup) You can still try to compile luatex yourself. 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 ___
Re: [NTG-context] new beta
luigi scarso wrote: On Mon, Apr 6, 2009 at 3:27 PM, Taco Hoekwater t...@elvenkind.com mailto:t...@elvenkind.com wrote: ok --when will be next release ? Not today. this week ? yes, probably friday ___ 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] new beta
On Mon, Apr 6, 2009 at 4:06 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Mon, Apr 6, 2009 at 15:18, luigi scarso wrote: On Mon, Apr 6, 2009 at 3:11 PM, Mojca Miklavec wrote: On Mon, Apr 6, 2009 at 14:55, luigi scarso wrote: texlua: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory Linux 2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 2006 i686 i686 i386 GNU/Linux What's happened ? This has nothing to do with Hans' beta. See http://thread.gmane.org/gmane.comp.tex.context/48892 but I'm clueless. The binaries have been compiled on Debian Etch. Does pdfTeX work on your machine? I don't know -- with minimals I use only luatex You don't need to compile the documents to be able to test. Just run pdftex --version (unless you excluded it already during the setup) You can still try to compile luatex yourself. Ah, ok now I understand . The error was in minimals/bin/texlua ldd texlua linux-gate.so.1 = (0x00266000) libstdc++.so.5 = not found libm.so.6 = /lib/libm.so.6 (0x00d82000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x0709a000) libc.so.6 = /lib/libc.so.6 (0x00101000) /lib/ld-linux.so.2 (0x004f5000) not in minimals/tex/texmf-linux/bin/texlua ldd texlua linux-gate.so.1 = (0x00d1c000) libm.so.6 = /lib/libm.so.6 (0x00d82000) libc.so.6 = /lib/libc.so.6 (0x00101000) /lib/ld-linux.so.2 (0x004f5000) This error stops installation , I suppose . -- 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] new beta
On Mon, Apr 6, 2009 at 16:51, luigi scarso wrote: Ah, ok now I understand . The error was in minimals/bin/texlua ldd texlua linux-gate.so.1 = (0x00266000) libstdc++.so.5 = not found libm.so.6 = /lib/libm.so.6 (0x00d82000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x0709a000) libc.so.6 = /lib/libc.so.6 (0x00101000) /lib/ld-linux.so.2 (0x004f5000) not in minimals/tex/texmf-linux/bin/texlua ldd texlua linux-gate.so.1 = (0x00d1c000) libm.so.6 = /lib/libm.so.6 (0x00d82000) libc.so.6 = /lib/libc.so.6 (0x00101000) /lib/ld-linux.so.2 (0x004f5000) This error stops installation , I suppose . I don't understand. Both files have the same md5sum (as well as same size and timestamp of 31. March), 6b3ed056830bb3f7b2ac496f4909ab1f. Does the installation folder (bin) refresh when you update minimals (you can check by deleting everything inside bin :) :) :)? 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 ___
[NTG-context] How to get the number of lines of a paragraph?
Dear all, I need to draw underlines under a paragraph. The number of underlines is determined by the number of lines of the paragraph. For example: If the paragraph have one line: text of paragraph, blur blur. -- If the paragraph have two lines: text of paragraph, blur blur blur blur blur blur blur blur -- blur blur blur blur blur blur blur blur. -- Another question: How can I set the header of the pages of contents? Thanks! Best wishes, Wei-Wei ___ 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] new beta
On Mon, Apr 6, 2009 at 5:02 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Mon, Apr 6, 2009 at 16:51, luigi scarso wrote: Ah, ok now I understand . The error was in minimals/bin/texlua ldd texlua linux-gate.so.1 = (0x00266000) libstdc++.so.5 = not found libm.so.6 = /lib/libm.so.6 (0x00d82000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x0709a000) libc.so.6 = /lib/libc.so.6 (0x00101000) /lib/ld-linux.so.2 (0x004f5000) not in minimals/tex/texmf-linux/bin/texlua ldd texlua linux-gate.so.1 = (0x00d1c000) libm.so.6 = /lib/libm.so.6 (0x00d82000) libc.so.6 = /lib/libc.so.6 (0x00101000) /lib/ld-linux.so.2 (0x004f5000) This error stops installation , I suppose . I don't understand. Both files have the same md5sum (as well as same size and timestamp of 31. March), 6b3ed056830bb3f7b2ac496f4909ab1f. Does the installation folder (bin) refresh when you update minimals (you can check by deleting everything inside bin :) :) :)? ./first-setup.sh receiving file list ... done bin/ bin/mtx-update.lua bin/mtxrun bin/texlua sent 109 bytes received 5204081 bytes 77099.11 bytes/sec total size is 5203177 speedup is 1.00 texlua: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory #ls -alR .: totale 8188 drwxr-xr-x 4 root root 4096 6 apr 17:16 . drwxr-xr-x 10 root root 4096 26 mar 12:02 .. drwxr-xr-x 2 root root 4096 31 mar 17:09 bin -rwxr-xr-x 1 luigi luigi1659 3 nov 11:16 first-setup.sh ./bin: totale 5108 drwxr-xr-x 2 root root4096 31 mar 17:09 . drwxr-xr-x 4 root root4096 6 apr 17:16 .. -rwxr-xr-x 1 root root 310125 6 apr 11:05 mtxrun -rw-r--r-- 1 root root 19128 3 apr 13:44 mtx-update.lua -rwxr-xr-x 1 root root 4873924 31 mar 17:09 texlua As I wrote, installation aborts on error in bin/texlua . -- 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 ___
[NTG-context] beta with changed messages approach
hi, I uploaded a beta where all messages are now collectex in mult-mes.lua which makes it easier to translate them (for instance to persian which is still missing). 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] new beta
On Mon, Apr 6, 2009 at 17:26, luigi scarso wrote: texlua: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory As I wrote, installation aborts on error in bin/texlua . OK, I understand why the binary in texmf-linux is still OK. Because you didn't manage to update it with the new one. If you have your own luatex binary, copy luatex into bin/texlua, disable updating bin folder, update ConTeXt and finally copy your own luatex binary over the one provided by the installation (texmf-linux/bin/luatex). Mojca 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 ___
Re: [NTG-context] new beta
On Mon, Apr 6, 2009 at 5:48 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Mon, Apr 6, 2009 at 17:26, luigi scarso wrote: texlua: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory As I wrote, installation aborts on error in bin/texlua . OK, I understand why the binary in texmf-linux is still OK. Because you didn't manage to update it with the new one. If you have your own luatex binary, copy luatex into bin/texlua, disable updating bin folder, update ConTeXt and finally copy your own luatex binary over the one provided by the installation (texmf-linux/bin/luatex). ok, but the problem that first-setup.sh fails does not disappears . -- 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] beta with changed messages approach
Am 06.04.2009 um 17:47 schrieb Hans Hagen: I uploaded a beta where all messages are now collectex in mult- mes.lua which makes it easier to translate them (for instance to persian which is still missing). Problem with my own module messages: loading : Context User Module / Correspondence ! LuaTeX error main ctx instance:1: attempt to call field 'setmessages' (a nil value) stack traceback: main ctx instance:1: in main chunk. \dostartmessages ...messages(#1,\!!bs #2\!!es )} \egroup l.190 \stopmessages 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 ___
[NTG-context] Group together figure and table
I am trying to find a way to group together a table which lists values in a figure that I have. I would also like to keep seperate references for each so I would rather not use a combination. I saw the \begingroup command while searching through the wiki, but I was unable to determine what it does and it doesn't seem to do what I need. I also tried to setup a buffer, but that didn't ensure that the table and figure were displayed sequentially. Is there a way to do this while keeping both references intact? Thanks. Mike ___ 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] How to get the number of lines of a paragraph?
Am 06.04.2009 um 17:17 schrieb Wei-Wei Guo: Dear all, I need to draw underlines under a paragraph. The number of underlines is determined by the number of lines of the paragraph. For example: \definetextbackground [underline] [location=text, alternative=1, background=, frame=off] \starttext \startunderline \input knuth \stopunderline \stoptext Another question: How can I set the header of the pages of contents? \setupheadtext[language][content=...] or \title{...} \placecontent 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] new beta
Yanrui Li wrote: 2009/4/6 Yanrui Li liyanrui...@gmail.com: 2009/4/6 Hans Hagen pra...@wxs.nl: Hi, I uploaded a new beta. Last week(ends) fixes are merged in. Sorry for my noise. It seems that Chinese linebreak fails. Maybe \setscript[hanzi] doesn't work. ok, i see the problem, will be solved asap - 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] beta with changed messages approach
Wolfgang Schuster wrote: Am 06.04.2009 um 17:47 schrieb Hans Hagen: I uploaded a beta where all messages are now collectex in mult-mes.lua which makes it easier to translate them (for instance to persian which is still missing). Problem with my own module messages: loading : Context User Module / Correspondence ! LuaTeX error main ctx instance:1: attempt to call field 'setmessages' (a nil value) stack traceback: main ctx instance:1: in main chunk. \dostartmessages ...messages(#1,\!!bs #2\!!es )} \egroup l.190 \stopmessages hm, should be defined in mult-ini.lua ... the first one is the plural - 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] new beta
Yanrui Li wrote: 2009/4/6 Yanrui Li liyanrui...@gmail.com: 2009/4/6 Hans Hagen pra...@wxs.nl: Hi, I uploaded a new beta. Last week(ends) fixes are merged in. Sorry for my noise. It seems that Chinese linebreak fails. Maybe \setscript[hanzi] doesn't work. fixed - 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] new beta
Am Mon, 06 Apr 2009 12:50:12 +0200 schrieb Hans Hagen: There is also an experimental plain version (luatex-plain.tex which you can rename to luatex.tex if needed). That gives you a plain tex with stripped down context mkiv font support (only the minimal amount of lua files are loaded). Some more info (also about generating the related font database) can be found in in luatex-fonts.tex. I wanted to try the font support together with latex but I have problems to run mtxrun to build the font database. I'm not using the minimals or texlive but miktex. To use luatex I have made a small texmf tree and a texmf.cnf which includes my miktex texmf-trees. This works fine with normal files like tfm, sty etc. But my system seems not to find lua-files: mtxrun loads mtx-fonts.lua (which is in the same folder) but stops then and claims file not found. Could you tell me which environment variable or texmf.cnf or whatever setting luatex/mtxrun use to track down lua-files? -- Ulrike Fischer ___ 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] new beta
2009/4/7 Hans Hagen pra...@wxs.nl: Yanrui Li wrote: 2009/4/6 Yanrui Li liyanrui...@gmail.com: 2009/4/6 Hans Hagen pra...@wxs.nl: Hi, I uploaded a new beta. Last week(ends) fixes are merged in. Sorry for my noise. It seems that Chinese linebreak fails. Maybe \setscript[hanzi] doesn't work. fixed Yes, it works again. Much obliged! -- Best wishes, Li Yanrui * Gentoo Linux (~x86) * ConTeXt Minimals Beta (2009.04.06 18: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 ___
Re: [NTG-context] new beta
Ulrike Fischer wrote: Am Mon, 06 Apr 2009 12:50:12 +0200 schrieb Hans Hagen: There is also an experimental plain version (luatex-plain.tex which you can rename to luatex.tex if needed). That gives you a plain tex with stripped down context mkiv font support (only the minimal amount of lua files are loaded). Some more info (also about generating the related font database) can be found in in luatex-fonts.tex. I wanted to try the font support together with latex but I have problems to run mtxrun to build the font database. I'm not using the minimals or texlive but miktex. To use luatex I have made a small texmf tree and a texmf.cnf which includes my miktex texmf-trees. This works fine with normal files like tfm, sty etc. But my system seems not to find lua-files: mtxrun loads mtx-fonts.lua (which is in the same folder) but stops then and claims file not found. Could you tell me which environment variable or texmf.cnf or whatever setting luatex/mtxrun use to track down lua-files? luatools --generate mtxrun --script fonts if that does not work, you need a context installation 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] Group together figure and table
Am 06.04.2009 um 18:17 schrieb Michael Bynum: I am trying to find a way to group together a table which lists values in a figure that I have. I would also like to keep seperate references for each so I would rather not use a combination. I saw the \begingroup command while searching through the wiki, but I was unable to determine what it does and it doesn't seem to do what I need. I also tried to setup a buffer, but that didn't ensure that the table and figure were displayed sequentially. Is there a way to do this while keeping both references intact? Thanks. \starttext \input knuth \placefigure {none} {\setupcombinations[distance=2em] \startfloatcombination[2*1] \placefigure{A dutch cow}{\externalfigure[cow]} \placetable {Cow data}{\starttable[|l|l|]\NC Age \NC Weight \NC \AR 1 \NC 100 \NC\AR\stoptable} \stopfloatcombination} \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] Arabic protrosion
On Mon, Apr 06, 2009 at 07:30:33AM -0600, Idris Samawi Hamid ادريس سماوي حامد wrote: On Mon, 06 Apr 2009 00:40:12 -0600, Khaled Hosny khaledho...@eglug.org wrote: The attached patch adds Arabic coma, semicolon, full stop (used in Urdu) and question mark to font-ext.lua for protrusion. Now, combined with glyph expansion, I don't get any overfull boxes. Arabic-script microtypography is one of the cornerstones of the Oriental TeX project. We've been studying this matter for some time now: Because of a) the normal wide spacing around Arabic punctuation, and b) the large size of Arabic punctuation relative to Latin, I'm not sure that protrusion of Arabic-script punctuation is a good idea. It needs a lot of thought, and a lot of testing, before adding it to the system. Indeed, more testing is needed, but since neither protrusion nor expansion is on by default, I think it is safe to have them now so we can do more testing and tune it later, when someone enables hz features, he should no enough to judge himself about the quality of the result and he can always turn it back off and will lose nothing. As for glyph expansion, I don't see how that works at all with the current model, except perhaps with very horizontal fonts. But in that case all that's needed is smart tatweel, not glyph expansion. For hq fonts the current glyph expansion model will mess up the contextual connections. I think the minimal font expansion, that we have, is very unlikely to be noticed by the reader, but I completely agree that great care should be taken, I've been reading some Arabic book few months ago and I'm pretty sure they used the font expansion feature of InDesign because it was very visible and annoying. Although one can certainly do things with the current model of protrusion and hz, we need more, much more. Khaled, send me some tests off-list and I'll examine them in light of the overall analysis as we prepare for adding Arabic microtypography support, hopefully pretty soon. I was preparing some test files, when I accidentally removed all files that I was working on recently, since I don't have a backup, it'll take some time. سلام وعليكم السلام Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature ___ 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] Group together figure and table
That works nicely. Thanks. Mike On Mon, Apr 6, 2009 at 2:25 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 06.04.2009 um 18:17 schrieb Michael Bynum: I am trying to find a way to group together a table which lists values in a figure that I have. I would also like to keep seperate references for each so I would rather not use a combination. I saw the \begingroup command while searching through the wiki, but I was unable to determine what it does and it doesn't seem to do what I need. I also tried to setup a buffer, but that didn't ensure that the table and figure were displayed sequentially. Is there a way to do this while keeping both references intact? Thanks. \starttext \input knuth \placefigure {none} {\setupcombinations[distance=2em] \startfloatcombination[2*1] \placefigure{A dutch cow}{\externalfigure[cow]} \placetable {Cow data}{\starttable[|l|l|]\NC Age \NC Weight \NC\AR 1 \NC 100 \NC\AR\stoptable} \stopfloatcombination} \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 ___
Re: [NTG-context] new beta
On Mon, 6 Apr 2009, Ulrike Fischer wrote: Am Mon, 06 Apr 2009 12:50:12 +0200 schrieb Hans Hagen: There is also an experimental plain version (luatex-plain.tex which you can rename to luatex.tex if needed). That gives you a plain tex with stripped down context mkiv font support (only the minimal amount of lua files are loaded). Some more info (also about generating the related font database) can be found in in luatex-fonts.tex. I wanted to try the font support together with latex but I have problems to run mtxrun to build the font database. I'm not using the minimals or texlive but miktex. To use luatex I have made a small texmf tree and a texmf.cnf which includes my miktex texmf-trees. This works fine with normal files like tfm, sty etc. But my system seems not to find lua-files: mtxrun loads mtx-fonts.lua (which is in the same folder) but stops then and claims file not found. Could you tell me which environment variable or texmf.cnf or whatever setting luatex/mtxrun use to track down lua-files? Does your texmf.cnf set LUAINPUTS? If not, setting it to $TEXMF/scripts/context/lua might help. 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] Filling a box
|i want a framed wh| |ere the text flushes| |to the next line with| |out hyphenation.Th| |ere is a way to get| |this result?| Best regards -- Diego Depaoli ___ 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] Filling a box
Am 07.04.2009 um 01:07 schrieb Diego Depaoli: |i want a framed wh| |ere the text flushes| |to the next line with| |out hyphenation.Th| |ere is a way to get| |this result?| align={nothyphenated,...} 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] Filling a box
On Tue, Apr 7, 2009 at 1:14 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 07.04.2009 um 01:07 schrieb Diego Depaoli: |i want a framed wh| |ere the text flushes| |to the next line with| |out hyphenation.Th| |ere is a way to get| |this result?| hmm what do you mean ? It seems that you want to hyphenate, but you don't want to see '-' . -- 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] How to get the number of lines of a paragraph?
Wolfgang Schuster 写道: Am 06.04.2009 um 17:17 schrieb Wei-Wei Guo: Dear all, I need to draw underlines under a paragraph. The number of underlines is determined by the number of lines of the paragraph. For example: \definetextbackground [underline] [location=text, alternative=1, background=, frame=off] \starttext \startunderline \input knuth \stopunderline \stoptext It is not what I want. First, the underline is too close to the text. I need to be able to manipulate the distance between the underline and the text. Second, the underline of the last line has the same length with the last line of the text. The underlines should be all the same length. Another question: How can I set the header of the pages of contents? \setupheadtext[language][content=...] or \title{...} \placecontent I don't mean the head of contents. I mean the header of the page, which is the opposite concept to footer. It seems the head of the contents is not treated as chapter. I tried \getmarking, but it doesn't work. Best wishes, Wei-Wei ___ 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] How to get the number of lines of a paragraph?
2009/4/7 Yanrui Li liyanrui...@gmail.com: Hi, May be this can help you. \startuseMPgraphic{mpos:par:columnset} % Shift underlining down a touch \iftracepositions show_multi_pars \else draw_multi_pars \fi ; path p ; p := boundingbox currentpicture ; currentpicture := currentpicture shifted (0,-1.2*StrutDepth) ; setbounds currentpicture to p ; \stopuseMPgraphic \definetextbackground[underline] [location=paragraph,alternative=1,background=,frame=off] \definestartstop [underline] [before={\starttextbackground[underline]}, after=\stoptextbackground] \starttext \startunderline \input knuth \stopunderline \stoptext You can control the distances by setting up the params of currentpicture shifted and linespace. -- Best wishes, Li Yanrui * Gentoo Linux (~x86) * ConTeXt Minimals Beta (2009.04.06 18: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 ___
Re: [NTG-context] How to get the number of lines of a paragraph?
It works, thanks! Can \startunderline be put into a table or a tabulate? I want to implement thing like this: \startbuffer[chinesetitle] \startunderline 基于成本的钉耙强度与应用——东方视角分析 \stopunderline \stopbuffer \startbuffer[englishtitle] \startunderline Cost Based Rake Strength and Application: An Oriental View \stopunderline \stopbuffer \starttabulate[|l|l|] \NC 中文论文题目: \NC \getbuffer[chinesetitle] \NC \NR \NC 英文论文题目: \NC \getbuffer[englishtitle] \NC \NR \stoptabulate Of cause, the codes do not work. Is there any alternative way? Best wishes, Wei-Wei Yanrui Li 写道: 2009/4/7 Yanrui Li liyanrui...@gmail.com: Hi, May be this can help you. \startuseMPgraphic{mpos:par:columnset} % Shift underlining down a touch \iftracepositions show_multi_pars \else draw_multi_pars \fi ; path p ; p := boundingbox currentpicture ; currentpicture := currentpicture shifted (0,-1.2*StrutDepth) ; setbounds currentpicture to p ; \stopuseMPgraphic \definetextbackground[underline] [location=paragraph,alternative=1,background=,frame=off] \definestartstop [underline] [before={\starttextbackground[underline]}, after=\stoptextbackground] \starttext \startunderline \input knuth \stopunderline \stoptext You can control the distances by setting up the params of currentpicture shifted and linespace. ___ 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 ___