Re: [NTG-context] stupbackgrounds and margin

2009-02-01 Thread Antoine Junod
Hi wolfgang, and thanks for your reply. Wolfgang Schuster writes: [trying to get a red leftmargin] > Make a complete (with text) example where we can see your problem (a > example of the output could help), I get a red background for the > left margin. Here it is. And the output (processed wit

Re: [NTG-context] stupbackgrounds and margin

2009-02-01 Thread Wolfgang Schuster
Am 01.02.2009 um 14:11 schrieb Antoine Junod: Hi wolfgang, and thanks for your reply. Wolfgang Schuster writes: [trying to get a red leftmargin] Make a complete (with text) example where we can see your problem (a example of the output could help), I get a red background for the left margi

Re: [NTG-context] XeTeX and/or LuaTeX?

2009-02-01 Thread Hans Hagen
Mojca Miklavec wrote: On Sat, Jan 31, 2009 at 12:50 AM, Hans Hagen wrote: attached a more efficient variant Hello Hans, I don't know anything about right-to-left typesetting, but is the result of this desired? (not sure if I copy-pasted properly) \sethebrew test \ConTeXt\ הָלַך test Mojca

[NTG-context] Possible memory leak?

2009-02-01 Thread Yue Wang
Hi, Hans: in font-afm.lua, you use fontforge to open and to_table a pfb, but without closing it? btw, when MKIV is running for the first time (i.e., no cache file). it will use a lot of memory (parsing a 10M font will use 700-800 MB memory), are there some ways to reduce that? Another problem is,

Re: [NTG-context] stupbackgrounds and margin

2009-02-01 Thread Antoine Junod
Wolfgang Schuster writes: > Am 01.02.2009 um 14:11 schrieb Antoine Junod: > >> Hi wolfgang, and thanks for your reply. >> >> Wolfgang Schuster writes: >> >> [trying to get a red leftmargin] >> >>> Make a complete (with text) example where we can see your problem (a >>> example of the output coul

Re: [NTG-context] Possible memory leak?

2009-02-01 Thread Hans Hagen
Yue Wang wrote: Hi, Hans: in font-afm.lua, you use fontforge to open and to_table a pfb, but without closing it? ok, thanks for noticing, i added a fontforge.close(pfbblob) btw, when MKIV is running for the first time (i.e., no cache file). it will use a lot of memory (parsing a 10M font

Re: [NTG-context] stupbackgrounds and margin

2009-02-01 Thread Wolfgang Schuster
Am 01.02.2009 um 12:21 schrieb Antoine Junod: I'm struggling to try to do something that seems simple but I'm not able to succeed. I would like to have the left margin of my document painted in red (or another color, I don't mind right now). Here is what I have: \setuppapersize[A5][A4] \setup

Re: [NTG-context] Possible memory leak?

2009-02-01 Thread Taco Hoekwater
Hi Yue Wang, Yue Wang wrote: myfont = load_font('arial.ttf') myfont = load_font('arial.ttf') } and I can see the memory usage may ebb and flow, but actually it is leaking memory. I also see a non-trivila leak (somewhere inside the fontforge library). I will investigate further next week, it is

Re: [NTG-context] XeTeX and/or LuaTeX?

2009-02-01 Thread Hans Hagen
Mojca Miklavec wrote: On Sat, Jan 31, 2009 at 7:54 PM, J.A.J. Pater wrote: My guess was incorrect. I copy-pasted the underneath text into my test file and I got good results. No tXeTnoC. So here it just works like a charm. I'm sorry. I accidentally commented out \setcharactermirroring[1] while

[NTG-context] stupbackgrounds and margin

2009-02-01 Thread Antoine Junod
Hello, list! I'm struggling to try to do something that seems simple but I'm not able to succeed. I would like to have the left margin of my document painted in red (or another color, I don't mind right now). Here is what I have: \setuppapersize[A5][A4] \setuparranging[2UP,rotated,doublesided] \

Re: [NTG-context] How to capture a typeset page into a box instead of shipping it out

2009-02-01 Thread Roger Mason
Hello, "Kevin D. Robbins" writes: >Thanks for the suggestions Wolfgang and Luigi. I've now got several >good options to research. >Kevin > I use 3 modes for teaching: manuscript -- notes that go on-line for students to download presentation -- pictures for use in class speakernote

Re: [NTG-context] Possible memory leak?

2009-02-01 Thread Yue Wang
> ok, thanks for noticing, i added a > > fontforge.close(pfbblob) > good >> btw, when MKIV is running for the first time (i.e., no cache file). it >> will use a lot of memory (parsing a 10M font will use 700-800 MB > > hm so much? > Yes, when finish reading the following tex file without \bye u