Re: [NTG-context] \startmatrix bug in beta

2011-05-18 Thread Hans Hagen
On 18-5-2011 6:58, Aditya Mahajan wrote: On Tue, 17 May 2011, Taco Hoekwater wrote: Hi Hans/ Aditya, With the latest beta, \startmatrix's final \NR creates a superfluous line, resulting in ugly output: Bugfix: In \dodefinemathmatrix, change \setuvalue{\e!stop #1}{\dostopmathmatrix}% to \

Re: [NTG-context] fit to width by negative letterspacing or narrowing

2011-05-18 Thread Henning Hraban Ramm
Am 2011-05-17 um 13:53 schrieb Hans Hagen: On 17-5-2011 1:25, Henning Hraban Ramm wrote: Hello again, it's been a while... ;-) I need to pack fixed lines into a fixed width box. Some years ago I had something similar in plain PostScript, where I pre-calculated the width of a text box, let th

[NTG-context] How to put buttons side by side in interactive menu?

2011-05-18 Thread Verhaag, G.C.H.M.
Hi, I use the well known feature: \startinteractionmenu[right] \but [content] contents \\ \but [sample] sample \\ \but [PreviousJump] back \\ \but [CloseDocument] exit \\ \vfill \stopinteractionmenu to put a menu on the right of the screen of an interactive document. Now

Re: [NTG-context] How to put buttons side by side in interactive menu?

2011-05-18 Thread Wolfgang Schuster
Am 18.05.2011 um 11:25 schrieb Verhaag, G.C.H.M.: > Hi, > > I use the well known feature: > > \startinteractionmenu[right] >\but [content] contents \\ >\but [sample] sample \\ >\but [PreviousJump] back \\ >\but [CloseDocument] exit \\ >\vfill > \stopinteractionmenu > > to

[NTG-context] 2 problems with \date[]

2011-05-18 Thread Peter Münster
Hello, The year is always 2011 and the French month août has wrong spelling: \mainlanguage[fr] \starttext \date[d=23, m=3, y=1985]: must be \quote{1985}\par \date[d=1, m=8, y=2011]: must be \quote{août} \stoptext Cheers, -- Peter __

[NTG-context] error with table.serialize(environment)

2011-05-18 Thread Peter Münster
Hello, Here a test file "test.cld" to show the problem: local t = {bla = "blub"} -- no problem: print(table.serialize(t)) -- error: l-table.lua:565: unable to dump given function: print(table.serialize(environment)) context.bye() -- Peter __

Re: [NTG-context] How to put buttons side by side in interactive menu?

2011-05-18 Thread Verhaag, G.C.H.M.
On 05/18/2011 11:58 AM, Wolfgang Schuster wrote: Am 18.05.2011 um 11:25 schrieb Verhaag, G.C.H.M.: Hi, I use the well known feature: \startinteractionmenu[right] \but [content] contents \\ \but [sample] sample \\ \but [PreviousJump] back \\ \but [CloseDocument] exit \\

Re: [NTG-context] problems with \date[]

2011-05-18 Thread Reviczky, Adam
Hans, Don't we need rather this change too? line 487 in lang-txt.lua: -fr="aoât", +fr="août", Adam ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-con

Re: [NTG-context] 2 problems with \date[]

2011-05-18 Thread Hans Hagen
On 18-5-2011 1:29, Peter Münster wrote: Hello, The year is always 2011 and the French month août has wrong spelling: \mainlanguage[fr] \starttext \date[d=23, m=3, y=1985]: must be \quote{1985}\par \date[d=1, m=8, y=2011]: must be \quote{août} \stoptext solved in next beta ---

Re: [NTG-context] \startmatrix bug in beta

2011-05-18 Thread Aditya Mahajan
On Wed, 18 May 2011, Hans Hagen wrote: On 18-5-2011 6:58, Aditya Mahajan wrote: On Tue, 17 May 2011, Taco Hoekwater wrote: Hi Hans/ Aditya, With the latest beta, \startmatrix's final \NR creates a superfluous line, resulting in ugly output: Bugfix: In \dodefinemathmatrix, change \setuval

Re: [NTG-context] error with table.serialize(environment)

2011-05-18 Thread Hans Hagen
On 18-5-2011 3:04, Peter Münster wrote: Hello, Here a test file "test.cld" to show the problem: local t = {bla = "blub"} -- no problem: print(table.serialize(t)) -- error: l-table.lua:565: unable to dump given function: print(table.serialize(environment)) to be expected Hans -

Re: [NTG-context] \startmatrix bug in beta

2011-05-18 Thread Hans Hagen
On 18-5-2011 4:18, Aditya Mahajan wrote: Simpler example: \def\A{\halign \bgroup ## \crcr} \unexpanded\def\B{\crcr\egroup} \def\C{\crcr\egroup} \starttext \ruledvbox{\A A \cr B \cr \B} \ruledvbox{\A A \cr B \cr \C} \ruledvbox{\A A \cr B \cr \relax \C} \stoptext I wonder what the rationa

[NTG-context] current

2011-05-18 Thread Hans Hagen
Hi, I've uploaded a current. This will be the version that goes on texlive although we can still do small patches the upcoming weeks. I also upgraded the test suite. As mkiv is still evolving no current will ever be current enough. Hans --

Re: [NTG-context] current

2011-05-18 Thread luigi scarso
On Wed, May 18, 2011 at 5:31 PM, Hans Hagen wrote: > Hi, > > As mkiv is still evolving no current will ever be current > enough. We should seriously start to think how to to become immortals. -- luigi ___ If your que

Re: [NTG-context] error with table.serialize(environment)

2011-05-18 Thread Peter Münster
Hans Hagen writes: >> -- error: l-table.lua:565: unable to dump given function: >> print(table.serialize(environment)) > > to be expected And what about replacing line 565 by something like this: handle(format("%s [%q]=loadstring(%q),",depth,k, debug.getinfo(v).wha

[NTG-context] shading

2011-05-18 Thread Hans Hagen
Hi, Thanks to Hraban for providing spot->process color examples and Luigi and Taco for testing viewers Duncan can now do more advanced shades, that is, if he weren't using mkii. For this metafun has been extended with a few more shading commands, with the nicest being: path p ; p := fullsqua

Re: [NTG-context] current

2011-05-18 Thread Taco Hoekwater
On 05/18/11 17:31, Hans Hagen wrote: > Hi, > > I've uploaded a current. This will be the version that goes on texlive > although we can still do small patches the upcoming weeks. I also > upgraded the test suite. As mkiv is still evolving no current will ever > be current enough. There *will* b

Re: [NTG-context] error with table.serialize(environment)

2011-05-18 Thread Hans Hagen
On 18-5-2011 5:49, Peter Münster wrote: Hans Hagen writes: -- error: l-table.lua:565: unable to dump given function: print(table.serialize(environment)) to be expected And what about replacing line 565 by something like this: handle(format("%s [%q]=loadstring(%q),",depth,k,

[NTG-context] \setuplayout[grid=yes] -> undefined control sequence

2011-05-18 Thread Peter Münster
Hello, With this file, I get an undefined control sequence: \setuplayout[grid=yes] \starttext bla \stoptext Thanks for the fixes in the latest beta, Hans! -- Peter ___ If your question is of interest to

Re: [NTG-context] shading

2011-05-18 Thread Marco
> For this metafun has been extended with a few more > shading commands, with the nicest being: > […] Very nice these commands! I like them. But the shadings in MP still have problems with transparency. Example below. I guess, it's not supported. If not, are you planing to ad

Re: [NTG-context] shading

2011-05-18 Thread Henning Hraban Ramm
Am 2011-05-18 um 20:30 schrieb Marco: For this metafun has been extended with a few more shading commands, with the nicest being: […] Very nice these commands! I like them. But the shadings in MP still have problems with transparency. Example below. I guess, it's not suppo

Re: [NTG-context] shading

2011-05-18 Thread Hans Hagen
On 18-5-2011 8:30, Marco wrote: % The entire square is transparent, % not just the shading part path p; p:=fullsquare scaled 5cm shifted (5cm, 0cm); fill p withshading("linear", llcorner p, urcorner p) withcolor \MPcolor{red} shadedinto \MPcolor{blue-t}; indeed, as transparency is indepe

Re: [NTG-context] shading

2011-05-18 Thread Hans Hagen
On 18-5-2011 8:55, Henning Hraban Ramm wrote: Am 2011-05-18 um 20:30 schrieb Marco: For this metafun has been extended with a few more shading commands, with the nicest being: […] Very nice these commands! I like them. But the shadings in MP still have problems with transparency. Example be

Re: [NTG-context] shading

2011-05-18 Thread Hans Hagen
On 18-5-2011 8:30, Marco wrote: % Error % path p; p:=fullsquare scaled 5cm shifted (10cm, 0cm); % fill p % withshading("linear", llcorner p, urcorner p) % withcolor \MPcolor{red-t} shadedinto \MPcolor{blue}; don't ask how, but the upcoming beta can handle it \starttext \definecolor [red-

[NTG-context] Where to find the code for the BibTeX integration?

2011-05-18 Thread Jannis Pohlmann
Hi all, I would like to extend \setuppublicationlist by adding another numbering alternative: numbering=key. The only files I could find in the ConTeXt tree that contain something related to the numbering of BibTeX publication lists were bibl-{tra,bib}.{mkii,mkiv}. Since I'm using MKIV I tried t