Re: [NTG-context] recalculate background on every page with \uniqueMPgraphic?

2013-03-04 Thread Mikael P. Sundqvist
On Tue, Feb 26, 2013 at 10:01 PM, Marco Patzer wrote: > Hi Mikael, > > your original example works for me with a current beta if you > replace uniqueMPgraphic with useMPgraphic. > > > Marco > > ___

Re: [NTG-context] recalculate background on every page with \uniqueMPgraphic?

2013-02-26 Thread Marco Patzer
Hi Mikael, your original example works for me with a current beta if you replace uniqueMPgraphic with useMPgraphic. Marco signature.asc Description: Digital signature ___ If your question is of interest to others

Re: [NTG-context] recalculate background on every page with \uniqueMPgraphic?

2013-02-26 Thread Marco Patzer
On 2013–02–26 Hans Hagen wrote: > >Hans, is this a bug? Has something changed? > > I don't know .. no example I provided an example in http://www.ntg.nl/pipermail/ntg-context/2013/071552.html However, it seems to be fixed in a recent beta. At least it works for me. Marco signature.asc Des

Re: [NTG-context] recalculate background on every page with \uniqueMPgraphic?

2013-02-26 Thread Hans Hagen
On 2/26/2013 4:46 PM, Mikael P. Sundqvist wrote: On Mon, Feb 18, 2013 at 10:53 AM, Marco Patzer wrote: On 2013–02–18 Mikael P. Sundqvist wrote: Thank you Marco for giving a better example. I thought that uniqueMPgraphic meant it was redrawn everytime while useMPgraphic meant it was done

Re: [NTG-context] recalculate background on every page with \uniqueMPgraphic?

2013-02-26 Thread Mikael P. Sundqvist
On Mon, Feb 18, 2013 at 10:53 AM, Marco Patzer wrote: > On 2013–02–18 Mikael P. Sundqvist wrote: > >> Thank you Marco for giving a better example. >> >> I thought that uniqueMPgraphic meant it was redrawn everytime while >> useMPgraphic meant it was done once

Re: [NTG-context] recalculate background on every page with \uniqueMPgraphic?

2013-02-18 Thread Marco Patzer
On 2013–02–18 Mikael P. Sundqvist wrote: > Thank you Marco for giving a better example. > > I thought that uniqueMPgraphic meant it was redrawn everytime while > useMPgraphic meant it was done once and then gave the same result > everytime used. http://thread.gmane.org/gmane.c

Re: [NTG-context] recalculate background on every page with \uniqueMPgraphic?

2013-02-18 Thread Mikael P. Sundqvist
stinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ Thank you Marco for giving a bette

Re: [NTG-context] recalculate background on every page with \uniqueMPgraphic?

2013-02-15 Thread Marco Patzer
On 2013–02–15 Mikael P. Sundqvist wrote: > with the (almost minimal) example below, I reduced your minimal example slightly further: \startuseMPgraphic{figram} StartPage; fill Field[Text][Text]; StopPage; \stopuseMPgraphic \starttext \useMPgraphic{figram} %% using the graphic a second

[NTG-context] recalculate background on every page with \uniqueMPgraphic?

2013-02-15 Thread Mikael P. Sundqvist
Dear list, with the (almost minimal) example below, I hoped that the frame would be recalculated at every page. But it is not (they all look the same in my output pdf). How can I force the frame to be redrawn at every page? Btw, If I change the uniqueMPgraphic to useMPgraphic (everywhere) my

Re: [NTG-context] Problems with uniqueMPgraphic

2004-12-18 Thread h h extern
Adam Duck wrote: \def\aidul{\dosingleempty\doaidul} \def\doaidul[#1]{\inframed[background=underline,frame=off,#1]} So, one last question remains: why doesn't this work? \def\uli{backgroundcolor=peachpuff} \aidul[\uli]{test} parsing \def\doaidul[#1]{\expanded{\inframed[background=underline,fra

Re: [NTG-context] Problems with uniqueMPgraphic

2004-12-18 Thread Adam Duck
pencircle scaled 1 withcolor OverlayColor ; >setbounds currentpicture to unitsquare xyscaled > (OverlayWidth,OverlayHeight); \stopuniqueMPgraphic > > \defineoverlay[underline][\uniqueMPgraphic{underline}] > > \def\aidul{\dosingleempty\doaidul} > \def\doaid

Re: [NTG-context] Problems with uniqueMPgraphic

2004-12-17 Thread Hans Hagen
shifted (0,-d) ; draw p withpen pencircle scaled 1 withcolor \MPvar{color} ; setbounds currentpicture to unitsquare xyscaled (OverlayWidth,OverlayHeight); \stopuniqueMPgraphic hook into underbar: \unprotect \def\underbarmethodx#1#2#3% mp {\hbox to #1{\uniqueMPgraphic {underline}{width=#1,height

Re: [NTG-context] Problems with uniqueMPgraphic

2004-12-17 Thread Hans Hagen
Adam Duck wrote: I have this small test case: and it comes out with the wrong colors. So, I think I know that this is because of the same dimensions but I want to have different colors for the same overlay-dimensions. How d

[NTG-context] Problems with uniqueMPgraphic

2004-12-17 Thread Adam Duck
I have this small test case: test.tex Description: TeX document and it comes out with the wrong colors. So, I think I know that this is because of the same dimensions but I want to have different colors for the same overlay-dimensions. How do I do that? bye, Adam. ___