Re: [NTG-context] Possible memory leak?

2009-02-02 Thread Hans Hagen
Yue Wang wrote: also, mem consumption reported is a bit of a lie because lua seems to allocates double of what it needed with each increment but not always use it otf fonts are already quite packed in mkiv (i'm considering adding an option to mtx-font to precache fonts but i'm not sure if it's

Re: [NTG-context] Possible memory leak?

2009-02-02 Thread Yue Wang
on my machine running mk with a fresh cache gives the same lua mem usage as with filled cache, however a fresh run tops at 1 meg while a filled run tops ar 500 (windows vista); that document uses several cjk fonts (relatively large due to many glyphs) and script fonts (some arabic and zapfino

Re: [NTG-context] unwanted rgb--gray conversion (mkiv)

2009-02-02 Thread Peter Rolf
Peter Rolf schrieb: Hi Hans, The attached example works fine with mkii (text and gfx both use RGB colors). Using mkiv reduces the colorspace of the graphic to GRAY. Sadly PDFX/-4 doesn't allow to mix color profiles of colorspace RGB with GRAY ones. So I'm forced to always use the RGB

[NTG-context] Third International ConTeXt meeting 2009

2009-02-02 Thread Taco Hoekwater
Hi all, I want to remind you of the Third International ConTeXT meeting that will be held in the Netherlands from August 31 to Sept 4, 2009. Please note that the dates have changed, the meeting will be held one week later than originally announced. There is no finalized programme yet, but we

Re: [NTG-context] unwanted rgb--gray conversion (mkiv)

2009-02-02 Thread Wolfgang Schuster
Am 02.02.2009 um 14:38 schrieb Peter Rolf: mh, the problem is a little more complex. Mkii reduces rgb(0,0,0) text into gray(0), in mkiv color is as expected. Updated the example... \setupcolors[state=start] AFAIR \setupcolors[state=start,conversion=no] Wolfgang

Re: [NTG-context] Possible memory leak?

2009-02-02 Thread Taco Hoekwater
Yue Wang wrote: And that's my experience. If I don't do that, the swap will be caching for several minutes, and finally the kernel stopped the luatex program since it uses too much memory. Can you send me that input file and the fonts it needs (if they are not freely available)? Best wishes,

[NTG-context] Page number not updating in layer

2009-02-02 Thread Michael Bynum
I am trying to use a layer to insert a page number in my document, but the page always displays page number 1. It seems nothing that I have tried has worked. I also don't know how to exclude the first page from the total number of pages count. Here is the code I'm trying to use.