From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47042 Path: news.gmane.org!not-for-mail From: "Thomas Floeren" Newsgroups: gmane.comp.tex.context Subject: Re: backgrounds: help needed Date: Tue, 27 Jan 2009 09:50:36 +0100 Message-ID: <001d01c9805c$53025c60$8614a8c0@boschung.local> References: <20081104111622.GA9179@pm-suse.deltadore.bzh><200901202351.10435.alan.braslau@cea.fr> Reply-To: thomas.floeren@boschung.com, mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1233046399 29793 80.91.229.12 (27 Jan 2009 08:53:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2009 08:53:19 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 27 09:54:31 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LRjiG-0001gt-Kl for gctc-ntg-context-518@m.gmane.org; Tue, 27 Jan 2009 09:54:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 17D201FB4E; Tue, 27 Jan 2009 09:53:06 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01626-01-2; Tue, 27 Jan 2009 09:51:34 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 76B281FADB; Tue, 27 Jan 2009 09:51:34 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5333E1FA2B for ; Tue, 27 Jan 2009 09:51:32 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01626-01 for ; Tue, 27 Jan 2009 09:50:38 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by ronja.ntg.nl (Postfix) with ESMTP id AFFC81FADB for ; Tue, 27 Jan 2009 09:50:38 +0100 (CET) Original-Received: from smtp1.infomaniak.ch (smtp1.infomaniak.ch [84.16.68.89]) by filter1-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n0R8ob9l020214 for ; Tue, 27 Jan 2009 09:50:38 +0100 Original-Received: from wma007 (17.1.90.85.cust.static.gepowernet.ch [85.90.1.17]) (authenticated bits=0) by smtp1.infomaniak.ch (8.14.2/8.14.2) with ESMTP id n0R8oaLO032205 for ; Tue, 27 Jan 2009 09:50:37 +0100 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Acl7VEKBvrA3ZFJdTpOMSZxrK+xckQFBwgoA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Antivirus: Dr.Web (R) for Mail Servers on smtp1 host X-Antivirus-Code: 100000 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=84.16.68.89; country=CH; latitude=47.0000; longitude=8.0000; http://maps.google.com/maps?q=47.0000,8.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 170922620 - a66d8a6ef010 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:47042 Archived-At: ______________________ -----Urspr=FCngliche Nachricht----- Von: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl] Im Auftrag von Wolfgang Schuster Gesendet: Mittwoch, 21. Januar 2009 00:08 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] backgrounds: help needed Am 20.01.2009 um 23:51 schrieb Alan BRASLAU: > I, too, do not understand the > \definetextbackground > \starttextbackground > \stoptextbackground > commands, even though I tried looking at "details.pdf" (and core- = > pgr.tex). > My particular problem is rather classic, that of illustrating = > examples, set off from the main text. > I first used > \defineframedtext [example] > [width=3Dfit,background=3Dscreen,backgroundscreen=3D0.7] > \startexample > ... > \stopexample > and this is appropriate if the example is short enough to fit on one = > page. > However, a long example (many paragraphs) that spans more than one = > page > runs off the bottom. > Textbackground seems more appropriate, so I tried > \definetextbackground [example] > [location=3Dparagraph,backgroundcolor=3Dmiddlegray,frame=3Doff] > \definestartstop [example] > [before=3D{\starttextbackground[example]},after=3D\stoptextbackground] > but this does not work. I tried other variants (such as adding = > state=3Dstart, ...) with no success. > Does anyone have suggestions on where to look for further = > documentation or examples of use? This works for me. \setupcolors[state=3Dstart] \definetextbackground [example] [location=3Dparagraph, background=3Dcolor, backgroundcolor=3Dmiddlegray, frame=3Doff] \starttext \input knuth \startexample \dorecurse{4}{\input knuth\par} \stopexample \input knuth \stoptext Wolfgang For me this works only with context 2008-10-31. It doesn't work with the beta from 2008-01-18 (no background). Greetings Thomas ____________________________________________________________________________ _______ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ____________________________________________________________________________ _______ ___________________________________________________________________________= ________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________