[NTG-context] metapost and luatex (or xetex)

luigi scarso luigi.scarso at gmail.com
Tue Oct 7 00:06:50 CEST 2008


On Sat, Oct 4, 2008 at 2:14 PM, Diego Depaoli <trebestie at gmail.com> wrote:

> 2008/10/3 Hans Hagen <pragma at wxs.nl>:
> > 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
>
(prepend \setupcolors[state=start])

btex \color[gray]{COPYRIGHT} etex %% gray
btex \color[white]{COPYRIGHT} etex %% white (hard to see with a white
background)

-- 
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20081007/0d32e63b/attachment.html 


More information about the ntg-context mailing list