Output of MetaPost !!! This is MetaPost, Version 0.641 (MiKTeX 2.2) (preloaded mem=metafun 2002.10.21) 12 MAR 2003 15:44 **mpgraph (mpgraph.mp {randomseed:=3638} ! This can't happen (copy). graphictextdirective->...phictextstring&(EXPR2000) &CRLF; ; l.12 ...rective "\global \loadfontfileoncetrue " ; I'm broken. Please show this to someone who can fix can fix > -----Message d'origine----- > De : ntg-context-admin@ntg.nl [mailto:ntg-context-admin@ntg.nl]De la > part de Hans Hagen > Envoye : mercredi 12 mars 2003 11:05 > A : ntg-context@ntg.nl > Objet : RE: [NTG-context] layout of xsteps-p > > > At 09:18 PM 3/11/2003 +0100, you wrote: > >Yes, I mean the style. > > > > In fact just how have the margin or edge ??? in black (with footer end > >header), > > and the great title in (right and horizontal left). > > backgrounds like this can be made with mp : > > \setupbackgrounds > [page] > [offset=3mm, > background=page] > > \defineoverlay > [page] > [\reuseMPgraphic{page}] > > \startreusableMPgraphic{page} > StartPage ; > path p ; p := > ulcorner Page -- > llcorner Page -- > llcorner Page shifted (BackSpace-LeftMarginDistance,0) -- > ulcorner Page shifted (BackSpace-LeftMarginDistance,0) -- cycle ; > fill > (p enlarged PageOffset) rightenlarged -PageOffset > withcolor \MPcolor{FillColor} ; > StopPage ; > setbounds currentpicture to boundingbox currentpicture > enlarged PageOffset ; > \stopreusableMPgraphic > > i use a dedicated head \Aspect{Bla bla}: > > \definehead > [Aspect] > [subject] > > \setuphead > [Aspect] > [command=\MakeAspect, > color=lightgray, > style=\bfb, > before={\blank[2*big]}, > after={\blank[2*big]},] > > \def\MakeAspect#1#2% > {\hbox > {\hskip-\marginwidth > \hskip-\margindistance > \framed > [width=.5\textwidth, > offset=2pt, > frame=off, > background=color, > backgroundcolor=AspectColor] > {\hskip.25cm#2\hfill}}} > > Hans > ------------------------------------------------------------------------ - > Hans Hagen | PRAGMA ADE | pragma@wxs.nl > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com > ------------------------------------------------------------------------ - > information: http://www.pragma-ade.com/roadmap.pdf > documentation: http://www.pragma-ade.com/showcase.pdf > ------------------------------------------------------------------------ - > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context