![](https://secure.gravatar.com/avatar/44ca9eda7aaa681c0e3b3e90125c56b0.jpg?s=120&d=mm&r=g)
Hans Hagen schrieb:
Peter Rolf wrote:
Hans Hagen schrieb:
meta-ini.mkiv
\def\grabMPclippath#1#2#3#4#5% {\blabelgroup \edef\width {#3\space}\let\overlaywidth \width \edef\height{#4\space}\let\overlayheight\height \doifdefinedelse{MPC:#1} {\xdef\MPclippath{\getvalue{MPC:#1}}% \ifx\MPclippath\empty\xdef\MPclippath{#5}\fi \setxvalue{MPC:#1}{\MPclippath}} {\xdef\MPclippath{#5}}% \elabelgroup}
there seem to be an ugly sideeffect in combination with \startTEXpage .. \stopTEXpage. I use this to encapsulate my test graphics. The resulting page is only 1.1mm width (tested with several different sized gfx; width is always this value, height is normal).
all tested with the beta from 07.06.2008 and luatex trunk (08.06.2008). todays beta has additional problems with text color (always black) and also some unicolored backgrounds appear black only. so i went back to the prior beta version and changed only the clip part.
hm ... example ...
:) only a very big one (with non public code). currently no time, but i will try to create some small examples later.
(keep in mind that mkiv's color handling is like fonts, i.e. no coloring of unboxed stuff as in \color[red]{\box\whatever})
yes. it's also possible, that i have to adapt my code again. all i can say at the moment is, that it works with the beta from 07.06.2008 and fails with the current. we will see (shouldn't be a hard problem). peter
Hans
----------------------------------------------------------------- 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 ___________________________________________________________________________________