[NTG-context] problem with publication lists in mkiv

2010-07-15 Thread Thomas A. Schmitz
Hi all, since a few betas ago, I'm experiencing the problem that some commands add unwanted vertical space in mkiv. I think this is the case with \writetolist, but I need to prepare an example for that. I have prepared an example for publication lists: the following code produces the expected

Re: [NTG-context] Wrong Pi and Gamma with XITS

2010-07-15 Thread Hans Hagen
On 14-7-2010 11:22, Khaled Hosny wrote: Sorry, I should have mentioned that I'm testing against texlive-2010 pretest. Already months ago texlive 2010 was frozen and therefore the context on it is one of a few month ago. I get the impression that other tex macro packages keep updating but we

Re: [NTG-context] Wrong upright Greek instead of Italic

2010-07-15 Thread Hans Hagen
On 15-7-2010 7:08, Aditya Mahajan wrote: @Hans, can you correct these definitions in math-ini.mkiv. BTW, I did not know that you could use \setupbodyfont without the \usetypescript line. I added that a while ago for mkiv, where it's doable as we don't have to specify font encodings

Re: [NTG-context] Wrong Pi and Gamma with XITS

2010-07-15 Thread Khaled Hosny
On Thu, Jul 15, 2010 at 09:25:47AM +0200, Hans Hagen wrote: On 14-7-2010 11:22, Khaled Hosny wrote: Sorry, I should have mentioned that I'm testing against texlive-2010 pretest. Already months ago texlive 2010 was frozen and therefore the context on it is one of a few month ago. I get the

Re: [NTG-context] imbalanced columns

2010-07-15 Thread Peter Rolf
Am 15.07.2010 02:35, schrieb Idris Samawi Hamid ادريس سماوي حامد: Hi Peter, On Wed, 14 Jul 2010 14:26:10 -0600, Peter Rolf indi...@gmx.net wrote: Am 14.07.2010 20:42, schrieb Idris Samawi Hamid ادريس سماوي حامد: Dear fellow gangsters, MkIV: \starttext \starttables[|c|c|c|c|c|]

[NTG-context] require(module.so) on cygwin

2010-07-15 Thread Peter Münster
Hello, How can I load a lua-lib in cygwin? Example: file test.tex: \startluacode package.cpath = ?.so require(testmod) \stopluacode \starttext bla \stoptext file testmod.c: #include lua.h #include lauxlib.h static int l_test(lua_State *L) { int n = luaL_checknumber(L, 1)

Re: [NTG-context] require(module.so) on cygwin

2010-07-15 Thread luigi scarso
On Thu, Jul 15, 2010 at 10:49 AM, Peter Münster pmli...@free.fr wrote: Hello, How can I load a lua-lib in cygwin? Example: file test.tex: \startluacode package.cpath = ?.so require(testmod) \stopluacode \starttext bla \stoptext file testmod.c: #include lua.h #include

Re: [NTG-context] require(module.so) on cygwin

2010-07-15 Thread Peter Münster
On Thu, Jul 15 2010, luigi scarso wrote: I dont't have the answer , but what is the message ? Hello Luigi, There is no message, luatex just hangs... (no cpu usage). 1) Why don't you use mingw (luatex is compiled with mingw)? I switched from mingw to cygwin some time ago for several

Re: [NTG-context] require(module.so) on cygwin

2010-07-15 Thread Taco Hoekwater
Peter Münster wrote: On Thu, Jul 15 2010, luigi scarso wrote: I dont't have the answer , but what is the message ? Hello Luigi, There is no message, luatex just hangs... (no cpu usage). You could try with just a lua file, without the context wrapper: package.cpath = ?.so

Re: [NTG-context] require(module.so) on cygwin

2010-07-15 Thread Peter Münster
On Thu, Jul 15 2010, Taco Hoekwater wrote: Peter Münster wrote: On Thu, Jul 15 2010, luigi scarso wrote: I dont't have the answer , but what is the message ? Hello Luigi, There is no message, luatex just hangs... (no cpu usage). You could try with just a lua file, without

Re: [NTG-context] require(module.so) on cygwin

2010-07-15 Thread Peter Münster
On Thu, Jul 15 2010, Peter Münster wrote: New results: I've built luatex under cygwin and replaced luatex.exe in my windows installation. Now it creates a pdf, but there is a stack-dump in the end: mkiv luv stats : runtime - 41.469 seconds, 1 processed pages, 1 shipped

Re: [NTG-context] require(module.so) on cygwin

2010-07-15 Thread Taco Hoekwater
Hi, Peter Münster wrote: file testmod.so generated under cygwin with: gcc -shared -o testmod.so testmod.c /usr/lib/liblua.dll.a On Linux, the .so does not need a liblua dependency. The test works fine with just gcc -shared -o testmod.so testmod.c I tried to reproduce what you did in

Re: [NTG-context] Wrong Pi and Gamma with XITS

2010-07-15 Thread Taco Hoekwater
Aditya Mahajan wrote: @Taco: Does it deserve a hotfix in TL? It is just a change of two lines. Sure, if you send me tested patch against TL10/pretest (I don't run pretest any more, and I don't trust copying files from the current beta). Best wishes, Taco

Re: [NTG-context] require(module.so) on cygwin

2010-07-15 Thread Peter Münster
On Thu, Jul 15 2010, Taco Hoekwater wrote: gcc -shared -o testmod.so testmod.c /usr/lib/liblua.dll.a On Linux, the .so does not need a liblua dependency. Indeed, I only need it on cygwin. The test works fine with just gcc -shared -o testmod.so testmod.c I tried to reproduce what

[NTG-context] new beta

2010-07-15 Thread Hans Hagen
Hi, I uploaded a beta to the website (so the garden will follow in an hour). Apart from a few fixes and experimental features, the most important change is in the language department. The following should work \starttext \setupbodyfont[xits,12pt] \setuplanguage[ru][patterns={ru,us}]

Re: [NTG-context] imbalanced columns

2010-07-15 Thread Idris Samawi Hamid ادريس سماوي حامد
On Thu, 15 Jul 2010 02:33:03 -0600, Peter Rolf indi...@gmx.net wrote: has to do with the way the column width is calculated. the combined entries (2+3,4+5) in row one can only influence (increase) the total width of the involved columns, but they can not give an answer to the question how wide

Re: [NTG-context] Wrong Pi and Gamma with XITS

2010-07-15 Thread Aditya Mahajan
On Thu, 15 Jul 2010, Taco Hoekwater wrote: Aditya Mahajan wrote: @Taco: Does it deserve a hotfix in TL? It is just a change of two lines. Sure, if you send me tested patch against TL10/pretest (I don't run pretest any more, and I don't trust copying files from the current beta). See

Re: [NTG-context] Wrong Pi and Gamma with XITS

2010-07-15 Thread Aditya Mahajan
On Thu, 15 Jul 2010, Khaled Hosny wrote: On Thu, Jul 15, 2010 at 09:25:47AM +0200, Hans Hagen wrote: On 14-7-2010 11:22, Khaled Hosny wrote: Sorry, I should have mentioned that I'm testing against texlive-2010 pretest. Already months ago texlive 2010 was frozen and therefore the context on

Re: [NTG-context] imbalanced columns

2010-07-15 Thread Peter Rolf
Am 15.07.2010 16:53, schrieb Idris Samawi Hamid ادريس سماوي حامد: On Thu, 15 Jul 2010 02:33:03 -0600, Peter Rolf indi...@gmx.net wrote: has to do with the way the column width is calculated. the combined entries (2+3,4+5) in row one can only influence (increase) the total width of the

Re: [NTG-context] imbalanced columns

2010-07-15 Thread Idris Samawi Hamid ادريس سماوي حامد
On Thu, 15 Jul 2010 11:12:16 -0600, Peter Rolf indi...@gmx.net wrote: see attached pdf (the box looks centered). Thanks... Could you post the code ;-) (unless this is the same code u posted the first time...) Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International

Re: [NTG-context] imbalanced columns

2010-07-15 Thread Peter Rolf
Am 15.07.2010 19:12, schrieb Peter Rolf: see attached pdf (the box looks centered). the \ruledhbox breaks the width calculation of the second column somehow, but you can see that there is some additional space in front of the first character. use a negative kern in front of it for

Re: [NTG-context] imbalanced columns

2010-07-15 Thread Peter Rolf
Am 15.07.2010 19:16, schrieb Idris Samawi Hamid ادريس سماوي حامد: On Thu, 15 Jul 2010 11:12:16 -0600, Peter Rolf indi...@gmx.net wrote: see attached pdf (the box looks centered). Thanks... Could you post the code ;-) sure, but don't expect too much :) (unless this is the same code u

Re: [NTG-context] imbalanced columns

2010-07-15 Thread Aditya Mahajan
On Thu, 15 Jul 2010, Peter Rolf wrote: also: i can't imagine how a user interface for this should look like. \setuptables[spanalign=balance] right. you can implement all kind of different spanning algorithms. i would expect that 'balance' would share the additional space equally on all

[NTG-context] Tables for newbies [WAS Re: imbalanced columns]

2010-07-15 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Aditya, On Thu, 15 Jul 2010 11:37:32 -0600, Aditya Mahajan adit...@umich.edu wrote: Have you tried using natural tables. Now you can use them with almost the same amount of typing as the old table macros. \startTABLE \NC text 1 \NC text 2 \NC\NR \NC text 3 \NC text 4 \NC\NR \stopTABLE

Re: [NTG-context] Tables for newbies [WAS Re: imbalanced columns]

2010-07-15 Thread luigi scarso
2010/7/15 Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu Hi Aditya, On Thu, 15 Jul 2010 11:37:32 -0600, Aditya Mahajan adit...@umich.edu wrote: Have you tried using natural tables. Now you can use them with almost the same amount of typing as the old table macros. \startTABLE

Re: [NTG-context] imbalanced columns

2010-07-15 Thread Peter Rolf
Am 15.07.2010 19:28, schrieb Peter Rolf: Am 15.07.2010 19:16, schrieb Idris Samawi Hamid ادريس سماوي حامد: On Thu, 15 Jul 2010 11:12:16 -0600, Peter Rolf indi...@gmx.net wrote: see attached pdf (the box looks centered). Thanks... Could you post the code ;-) sure, but don't expect too

Re: [NTG-context] Tables for newbies [WAS Re: imbalanced columns]

2010-07-15 Thread Hans Hagen
On 15-7-2010 7:45, Idris Samawi Hamid ادريس سماوي حامد wrote: Hi Aditya, On Thu, 15 Jul 2010 11:37:32 -0600, Aditya Mahajan adit...@umich.edu wrote: Have you tried using natural tables. Now you can use them with almost the same amount of typing as the old table macros. \startTABLE \NC text

Re: [NTG-context] imbalanced columns

2010-07-15 Thread Hans Hagen
On 15-7-2010 7:37, Aditya Mahajan wrote: Also remember that the starttable macros are just a wrapper around TaBlE macros written by Michael Wichura. I don't know if those have enough hooks to support a high level interface. indeed .. I actually should merge all the patches on TaBLe and then

Re: [NTG-context] imbalanced columns

2010-07-15 Thread Idris Samawi Hamid ادريس سماوي حامد
On Thu, 15 Jul 2010 12:43:44 -0600, Hans Hagen pra...@wxs.nl wrote: I must admit that I haven't used starttable for ages Well then, that settles it; the current project is my last start/stoptable :-) Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal

[NTG-context] Using stylistic sets in math

2010-07-15 Thread Khaled Hosny
In XITS I have stylistic sets (ss01-07) for accessing additional alphabets not bresent in Unicode, or variants of exising ones. For example, ss01 maps the script alphabets to an alternate calligraphic one, so I did: \starttext \setupbodyfont[xits]

Re: [NTG-context] Using stylistic sets in math

2010-07-15 Thread Hans Hagen
On 15-7-2010 9:24, Khaled Hosny wrote: In XITS I have stylistic sets (ss01-07) for accessing additional alphabets not bresent in Unicode, or variants of exising ones. For example, ss01 maps the script alphabets to an alternate calligraphic one, so I did: \starttext \setupbodyfont[xits]

Re: [NTG-context] Wrong Pi and Gamma with XITS

2010-07-15 Thread Taco Hoekwater
Aditya Mahajan wrote: On Thu, 15 Jul 2010, Taco Hoekwater wrote: Aditya Mahajan wrote: @Taco: Does it deserve a hotfix in TL? It is just a change of two lines. Sure, if you send me tested patch against TL10/pretest (I don't run pretest any more, and I don't trust copying files from the