Re: [NTG-context] MKIV textext problem.

2008-09-04 Thread Hans Hagen
Wolfgang Schuster wrote:
> On Wed, Sep 3, 2008 at 10:08 AM, Yue Wang <[EMAIL PROTECTED]> wrote:
>> Hi, Hans,
>>
>> the code works for MKII but not for MKIV. known issue or bug?
>>
>> Yue Wang
> 
> 
> and here comes the file.

in mkii:

- when you run out of fonts (due to randomization), then use a snapper:

vardef s(expr txt)=
h(txt, (ceiling(uniformdeviate(1)*100))/100);
enddef;

- use \forceMPTEXgraphictrue to make sure that the intermediate tex run 
takes place

in mkiv:

- in meta-pps, you can increment the number of reserved boxes ...

\appendtoks \MPLIBallocate{1000}\to \everydump

- also, remove the transparency spec since it will not work (you can use 
transparency in the text instead); for text + color to work i either 
need to make real ugly mp/lua code or wait till mplib supports multiple 
pre/postscripts


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MKIV textext problem.

2008-09-03 Thread Wolfgang Schuster
On Wed, Sep 3, 2008 at 10:08 AM, Yue Wang <[EMAIL PROTECTED]> wrote:
> Hi, Hans,
>
> the code works for MKII but not for MKIV. known issue or bug?
>
> Yue Wang


and here comes the file.

Wolfgang


per.tex
Description: TeX document
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MKIV textext problem.

2008-09-03 Thread Yue Wang
oh, my god, forgot to send the attachment...

On Wed, Sep 3, 2008 at 4:08 PM, Yue Wang <[EMAIL PROTECTED]> wrote:
> Hi, Hans,
>
> the code works for MKII but not for MKIV. known issue or bug?
>
> Yue Wang
>
> On Wed, Sep 3, 2008 at 3:13 PM, Yue Wang <[EMAIL PROTECTED]> wrote:
>> some weird error
>>
>


per.tex
Description: TeX document
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] MKIV textext problem.

2008-09-03 Thread Yue Wang
Hi, Hans,

the code works for MKII but not for MKIV. known issue or bug?

Yue Wang

On Wed, Sep 3, 2008 at 3:13 PM, Yue Wang <[EMAIL PROTECTED]> wrote:
> some weird error
>
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___