From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/56161 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: What do you miss in ConTeXt? Date: Thu, 11 Feb 2010 14:24:12 +0100 Message-ID: <4B7404FC.7080405@wxs.nl> References: <4B6FF4C6.4000401@googlemail.com> <20100211095543.GA19141@gaston.couberia.bzh> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1265894667 14862 80.91.229.12 (11 Feb 2010 13:24:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Feb 2010 13:24:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 11 14:24:24 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NfZ1n-000802-DA for gctc-ntg-context-518@m.gmane.org; Thu, 11 Feb 2010 14:24:19 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CC16DC9CCA; Thu, 11 Feb 2010 14:26:06 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id R+AmunEKJx9h; Thu, 11 Feb 2010 14:26:04 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5DBD9C9D20; Thu, 11 Feb 2010 14:26:04 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 90C3AC9D20 for ; Thu, 11 Feb 2010 14:26:03 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Dobn6PIY+SR0 for ; Thu, 11 Feb 2010 14:26:01 +0100 (CET) Original-Received: from mail.solcon.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by balder.ntg.nl (Postfix) with ESMTP id 79AB7C9CCA for ; Thu, 11 Feb 2010 14:26:01 +0100 (CET) X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-9 (SurgeMail 4.2d2) with ESMTP id 4943-1713362 for ; Thu, 11 Feb 2010 14:23:23 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 In-Reply-To: <20100211095543.GA19141@gaston.couberia.bzh> X-Authenticated-User: hagen@controller-9 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:56161 Archived-At: On 11-2-2010 10:55, Peter M=FCnster wrote: > \setupinterlinespace[line=3D1cm] % just to make the example more obvious > \definetextbackground[myBG][background=3Dcolor, backgroundcolor=3Dgreen, > % backgroundheight=3D1ex, % does not work > % height=3D1ex, % does not work > frame=3Doff] > \starttext > bla bla \startmyBG \dorecurse{30}{bla }\stopmyBG bla bla > \stoptext \starttext \startbuffer \definebar [backbar] [offset=3D1.5,rulethickness=3D2.4,color=3Dblue, continue=3Dyes,order=3Dbackground] \definebar [forebar] [offset=3D1.5,rulethickness=3D2.4,color=3Dblue, continue=3Dyes,order=3Dforeground] \stopbuffer \typebuffer \getbuffer The following example code looks messy but this has to do with the fact that we want properly spaced sample injection. \startbuffer from here \startcolor[white]% \startbar[backbar]% \input zapf \removeunwantedspaces \stopbar \stopcolor \space till here \blank from here \startbar[forebar]% \input zapf \removeunwantedspaces \stopbar \space till here \stopbuffer \typebuffer \getbuffer \stoptext ----------------------------------------------------------------- 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 t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________