Re: [NTG-context] recalculate background on every page with \uniqueMPgraphic?
On Tue, Feb 26, 2013 at 10:01 PM, Marco Patzer home...@lavabit.com wrote: Hi Mikael, your original example works for me with a current beta if you replace uniqueMPgraphic with useMPgraphic. Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ Thanks, it works here aswell with useMPgraphic now with latest beta. /Mikael ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] recalculate background on every page with \uniqueMPgraphic?
On Mon, Feb 18, 2013 at 10:53 AM, Marco Patzer home...@lavabit.com 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 and then gave the same result everytime used. http://thread.gmane.org/gmane.comp.tex.context/79507/focus=79538 In any case: Is there a way to get different frames for every page in a random way? Using \startuseMPgraphic is the correct way, since you want the graphic to be recalculated every time. I have no clue why this fails at the moment. It works fine in older versions, so I assume it's a bug. Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ Ok, thank you Marco. Hans, is this a bug? Has something changed? /Mikael ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] recalculate background on every page with \uniqueMPgraphic?
On 2/26/2013 4:46 PM, Mikael P. Sundqvist wrote: On Mon, Feb 18, 2013 at 10:53 AM, Marco Patzer home...@lavabit.com 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 and then gave the same result everytime used. it's reused *when possible* depending on some characteristics (like width and height) http://thread.gmane.org/gmane.comp.tex.context/79507/focus=79538 In any case: Is there a way to get different frames for every page in a random way? Using \startuseMPgraphic is the correct way, since you want the graphic to be recalculated every time. I have no clue why this fails at the moment. It works fine in older versions, so I assume it's a bug. Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ Ok, thank you Marco. Hans, is this a bug? Has something changed? I don't know .. no example /Mikael ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] recalculate background on every page with \uniqueMPgraphic?
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 Description: Digital signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] recalculate background on every page with \uniqueMPgraphic?
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 as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] recalculate background on every page with \uniqueMPgraphic?
On Fri, Feb 15, 2013 at 4:02 PM, Marco Patzer home...@lavabit.com wrote: 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 time fails %% \useMPgraphic{figram} \stoptext I hoped that the frame would be recalculated at every page. That's not how uniqueMPgraphics work. Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/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 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. I probably misunderstood something in the MetaFun manual. In any case: Is there a way to get different frames for every page in a random way? /Mikael ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] recalculate background on every page with \uniqueMPgraphic?
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.comp.tex.context/79507/focus=79538 In any case: Is there a way to get different frames for every page in a random way? Using \startuseMPgraphic is the correct way, since you want the graphic to be recalculated every time. I have no clue why this fails at the moment. It works fine in older versions, so I assume it's a bug. Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] recalculate background on every page with \uniqueMPgraphic?
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 time fails %% \useMPgraphic{figram} \stoptext I hoped that the frame would be recalculated at every page. That's not how uniqueMPgraphics work. Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___