Wolfgang Schuster wrote:
On Wed, Sep 3, 2008 at 10:08 AM, Yue Wang
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 -----------------------------------------------------------------