Re: [NTG-context] transparent metafun colors turn nearly black

2006-09-25 Thread Mojca Miklavec
On 9/24/06, Sanjoy Mahajan wrote: These were the memory setting in the /etc/texmf/texmf.d/95NonPath.cnf configlet that is part of Debian and Ubuntu: main_memory = 100 % words of inimemory available; also applies to inimfmp main_memory.context = 150 main_memory.mpost = 150 I

Re: [NTG-context] staticMPfigures can overrun output streams

2006-09-25 Thread Taco Hoekwater
Hi, it is because we open files without closing them; somehow i think that this is a bug (taco may know) No, that is not a bug. The error is equivalent to \setbox234567=\hbox{} It is the macro program's duty to keep the numbers in check. Taco

[NTG-context] Update context in Suse 9.3

2006-09-25 Thread batela
Dear Sirs, In my laptop I have the Suse linux 9.3. This distro has tetex 3, but I intend to update conTeXt . I tried already some ways, but without success: download an install (unpack and texexec --make --all) cont-tmf in the texmf directory, using texlive.spm (but I found a rsync time out

Re: [NTG-context] Update context in Suse 9.3

2006-09-25 Thread Thomas A. Schmitz
For such questions, please search the wiki first: http://wiki.contextgarden.net/Linux_Installation Thomas On Sep 25, 2006, at 11:09 AM, batela wrote: Dear Sirs, In my laptop I have the Suse linux 9.3. This distro has tetex 3, but I intend to update conTeXt . I tried already some ways,

Re: [NTG-context] Update context in Suse 9.3

2006-09-25 Thread Mojca Miklavec
On 9/25/06, batela wrote: Dear Sirs, In my laptop I have the Suse linux 9.3. This distro has tetex 3, but I intend to update conTeXt . I tried already some ways, but without success: download an install (unpack and texexec --make --all) cont-tmf in the texmf directory, using texlive.spm

Re: [NTG-context] calculations

2006-09-25 Thread Peter Rolf
Henning Hraban Ramm wrote: Am 2006-09-21 um 21:12 schrieb Peter Rolf: \externalfigure[\lily!img][scale=\dimexpr(1000\LPscale)]% \numexpr should work here ..[scale=\numexpr1000\LPscale\relax]% thank you, that seemed what I looked for, but: ! You can't use `\numexpr' in horizontal

Re: [NTG-context] calculations

2006-09-25 Thread Hans Hagen
Peter Rolf wrote: Henning Hraban Ramm wrote: Am 2006-09-21 um 21:12 schrieb Peter Rolf: \externalfigure[\lily!img][scale=\dimexpr(1000\LPscale)]% \numexpr should work here ..[scale=\numexpr1000\LPscale\relax]% thank you, that seemed what I looked for,

Re: [NTG-context] transparent metafun colors turn nearly black

2006-09-25 Thread Sanjoy Mahajan
(I wonder if the live context has been having the same problem?) I tried to fix it after Taco reported the exact problem. Plese test if it's working now. Thanks, the live context works! I tested this file: \setupcolors[state=start] \starttext \startreusableMPgraphic{a} fill

Re: [NTG-context] \sometxt in staticMPfigure

2006-09-25 Thread Hans Hagen
Sanjoy Mahajan wrote: Another small metafun test file. It displays no text in the middle of the ellipse. Using \textext instead of \sometxt works. \starttext \startstaticMPfigure{fig} draw \sometxt{hello}; draw fullcircle scaled 1cm xscaled 2; \stopstaticMPfigure

Re: [NTG-context] \textext can fail in definitions in \startMPinclusions

2006-09-25 Thread Hans Hagen
Sanjoy Mahajan wrote: Another test file for metafun. I know that textext doesn't work in loops. I don't understand how it's implemented enough to know why, but is the reason for its not working in loops the same as the reason it doesn't work in included definitions (related to static

[NTG-context] Very strange bug related to textbackground

2006-09-25 Thread Duncan Hothersall
I have been fighting with this one for ages, and have now narrowed down the culprit, but I do not understand why it happens. Latest (non-beta) ConTeXt, also tested in the live garden (same result): \setupcaption[figure][align=right,location=bottom]

Re: [NTG-context] beta

2006-09-25 Thread Willi Egger
Hi Wolfgang, I tested your code. The result is negativ. My installation complains abou tthe fact that the input file is not found This is MetaPost, Version 0.901 (Web2c 7.5.3) (testMPrun-mprun.mp ! I can't find file `test.mp'. l.143 \input test.mp using ConTeXt ver: 2006.08.08 17:52 fmt:

Re: [NTG-context] beta

2006-09-25 Thread Hans Hagen
Willi Egger wrote: Hi Wolfgang, I tested your code. The result is negativ. My installation complains abou tthe fact that the input file is not found This is MetaPost, Version 0.901 (Web2c 7.5.3) (testMPrun-mprun.mp ! I can't find file `test.mp'. l.143 \input test.mp just input.mp no

Re: [NTG-context] beta

2006-09-25 Thread Willi Egger
Thanks Hans, that was stupid me. Still it is not solved. Now I get the messagage test.1 is not found. In the log however I see, that a file testMPrun-mprun.1 is written. If the test file is altered in such a way that this testMPrun-mprun.1 file should be loaded, I still get the message, that

Re: [NTG-context] Very strange bug related to textbackground

2006-09-25 Thread Sanjoy Mahajan
I don't have a fix, only chiming in that I've seen the same issue. It happened when I was learning about backgrounds, so I figured it was my ignorance and didn't save the test file. But I'll try to reconstruct it. -Sanjoy `Never underestimate the evil of which men of power are capable.'

Re: [NTG-context] staticMPfigures can overrun output streams

2006-09-25 Thread Sanjoy Mahajan
In another thread, Hans mentioned the 2006.09.25 beta. I tested it against this test file and it works great: \starttext \dorecurse{20}{\startreusableMPgraphic{\recurselevel} draw fullcircle scaled 3mm; \stopreusableMPgraphic \placefigure[here,none]{}{\reuseMPgraphic{\recurselevel}}} \stoptext

Re: [NTG-context] \sometxt in staticMPfigure

2006-09-25 Thread Sanjoy Mahajan
Hans Hagen wrote: demanding guy ... a static is just an mp graphic and mp does not know a thing about \macros Thanks, I understand now; and sorry, I hadn't meant it as a feature request! I was trying only to learn the differences between all the ways of doing *TeX labels in figures, and was

Re: [NTG-context] calculations

2006-09-25 Thread Henning Hraban Ramm
Am 2006-09-25 um 11:46 schrieb Peter Rolf: \externalfigure[\lily!img][scale=\dimexpr(1000\LPscale)]% \numexpr should work here ..[scale=\numexpr1000\LPscale\relax]% thank you, that seemed what I looked for, but: ! You can't use `\numexpr' in horizontal mode. One of my favourite

Re: [NTG-context] beta

2006-09-25 Thread Wolfgang Werners-Lucchini
Hallo! This tries to include test.mp recursivly until level=25 \startMPrun{testmp} input test.mp; \stopMPrun bug or myfault? Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] beta

2006-09-25 Thread Wolfgang Werners-Lucchini
Can someone verify this error please or is there something wrong with my code? The figure file is not found here as well (2006.08.08). But if I change it to: \startMPrun \input test.mp \stopMPrun \starttext \externalfigure[w-mprun.1][width=15mm] \stoptext then there's no

Re: [NTG-context] \sometxt in staticMPfigure

2006-09-25 Thread Hans Hagen
Sanjoy Mahajan wrote: I guess because there's no processmpstatic procedure, whereas texexec.rb calls job.processmpstatic. But the analogous procedure, processmpgraphic, is a bit daunting so I haven't tried to write processmpstatic. def processmpstatic if filename =

Re: [NTG-context] Very strange bug related to textbackground

2006-09-25 Thread Hans Hagen
Duncan Hothersall wrote: I have been fighting with this one for ages, and have now narrowed down the culprit, but I do not understand why it happens. Latest (non-beta) ConTeXt, also tested in the live garden (same result): and the beta?

Re: [NTG-context] \sometxt in staticMPfigure

2006-09-25 Thread Sanjoy Mahajan
def processmpstatic if filename = getvariable('filename') then in tex.rb looks like a messed up update Ah, you're right and I just realized what happened. 'ctxtools --updatecontext' calls unzip with -uo: -u update existing files and create new ones if needed. This

Re: [NTG-context] \sometxt in staticMPfigure

2006-09-25 Thread Sanjoy Mahajan
With the new beta, this stress test for \sometxt works fine: \setupcolors[state=start] \starttext \startstaticMPfigure{fig} label(\sometxt{he\color[blue]{ab}lo}, origin) withcolor red; draw fullcircle scaled 1cm xscaled 2;