[NTG-context] metapost and luatex (or xetex)
Hans Hagen
pragma at wxs.nl
Fri Oct 3 23:30:29 CEST 2008
Diego Depaoli wrote:
> Hi all,
> from metafun manual, page 157, I took this example
>
> \startuniqueMPgraphic{copyright}
> picture p ; p := btex COPYRIGHT etex rotated 90 ;
> setbounds p to boundingbox p enlarged 1pt ;
> draw p withcolor .8white ;
> xyscale_currentpicture(\the\leftmarginwidth,\the\textheight) ;
> \stopuniqueMPgraphic
> \setuptexttexts [margin] [] [\uniqueMPgraphic{copyright}]
> \starttext
> \input knuth
> \stoptext
>
> but compiling it I get some trouble
>
> texexec --pdf works as expected
> texexec --lua drops colors (COPYRIGHT is black)
is ok, use btex color[white]{COPYRIGHT} etex instead
(no colorization of pictures with text in mkiv)
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
-----------------------------------------------------------------
More information about the ntg-context
mailing list