From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5159 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: nice left lines? Date: Fri, 27 Jul 2001 09:29:31 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20010727091934.02b50c18@server-1> References: <5.1.0.14.1.20010717104534.02096e08@server-1> <2042 53540.20010717132727@bigfoot.com> <20010718132854.949%65696@smtp.puretec.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035395766 31702 80.91.224.250 (23 Oct 2002 17:56:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:56:06 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: "A. Villaveces" In-Reply-To: <3B60F1BD.EA91E814@007mundo.com> Xref: main.gmane.org gmane.comp.tex.context:5159 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5159 At 11:44 PM 7/26/2001 -0500, A. Villaveces wrote: >Dag! > >A small question to the context people: on some of the documentation >pdfs, there appear some nice "left margins": fat yellow lines on the >left of the text. How did you produce such nice things? There are several methods, (1) simple backgrounds: % output=pdftex \starttext \setupcolors [state=start] \setupbackgrounds [text][text] [frame=on, rightframe=off, topframe=off, bottomframe=off, framecolor=red, rulethickness=1mm, frameoffset=.5cm] (2) metapost backgrounds \setupbackgrounds [page] [background=DemoFrame] \defineoverlay[DemoFrame][\reuseMPgraphic{DemoFrame}] \startreusableMPgraphic {DemoFrame} StartPage ; Field[Text][Text] := Field[Text][Text] enlarged .5cm ; draw (llcorner Field[Text][Text] -- ulcorner Field[Text][Text]) withcolor green withpen pencircle scaled .5cm ; StopPage ; \stopreusableMPgraphic Method 2 can also use the values from setup commands, see metafun manual. >A document with these is the readme.pdf ( precisely >/.../texmf/doc/context/base/readme.pdf on tetex distros), on page 1. did you take a look at www.pragma-ade.com? the new readme looks different -) BTW, i'm working on a navigational shell for all documentation 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 -------------------------------------------------------------------------