From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/49828 Path: news.gmane.org!not-for-mail From: Diego Depaoli Newsgroups: gmane.comp.tex.context Subject: Textbackground bug [repost] Date: Sat, 25 Apr 2009 18:15:44 +0200 Message-ID: <83e5fb980904250915m146ff861p4ff9d564fdf7b77b@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1240676274 6643 80.91.229.12 (25 Apr 2009 16:17:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Apr 2009 16:17:54 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 25 18:19:14 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 1Lxkas-00088R-T8 for gctc-ntg-context-518@m.gmane.org; Sat, 25 Apr 2009 18:19:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1F9AC1FB82; Sat, 25 Apr 2009 18:17:43 +0200 (CEST) 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 28719-05-2; Sat, 25 Apr 2009 18:16:42 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7232A1FB57; Sat, 25 Apr 2009 18:16:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A703D1FB29 for ; Sat, 25 Apr 2009 18:16:40 +0200 (CEST) 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 09608-01-9 for ; Sat, 25 Apr 2009 18:16:07 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by ronja.ntg.nl (Postfix) with ESMTP id 4A3AD1FB14 for ; Sat, 25 Apr 2009 18:15:45 +0200 (CEST) Original-Received: from mail-bw0-f178.google.com (mail-bw0-f178.google.com [209.85.218.178]) by filter1-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n3PGFiHh004979 for ; Sat, 25 Apr 2009 18:15:44 +0200 Original-Received: by bwz26 with SMTP id 26so1606195bwz.2 for ; Sat, 25 Apr 2009 09:15:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=OSYHy6LAgmT2nekf1n1ueg/n1cjY9Saw84IXw//D668=; b=YIzhdE/CkvaiSs5UQk7QTaoFUWLFnAdoXRoLXHUadzCNwxlYtLcf8lJkMXl6lrKkqj Qukp0XNsWt80qxLATOuBll/vF5wNSh9oe+a/OOe9MGzw/jaLmFgBVEX7h1l65uPCbMnd zMZ77lqIWXw9f/D/eS5iBu1Z291bp2nj3Q/uo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=NFWNnhmdVqRRFibZBYzCVw+ox1m15G9Ya7nUMMO/gMLFlihaq/uaiSqYy3GuunzZJC 0Y/ECu9frjESPfgpKpX6P+Rlt2gEv+S7sks+CcDcwotoV/af7I1nUyX9a6/iUU0Zj3sw 5jsSmWSAH9KtsQYUhe7RQX3xKkIXV5CnDA60o= Original-Received: by 10.223.115.193 with SMTP id j1mr1122329faq.85.1240676144073; Sat, 25 Apr 2009 09:15:44 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.218.178; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 214683631 - f8c1e78a12ba - 20090425 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:49828 Archived-At: [I got no answers to my previous post] With page imposition, in luatex, background overrides text \setuppapersize[A4][A3,landscape] \setuparranging[2SIDE] % <--bug here \setupcolors[state=start] \definetextbackground[intro] [backgroundcolor=gray, backgroundoffset=.25cm, offset=.5cm, frame=off, location=paragraph, color=white] \definetextbackground[subintro] [backgroundcolor=texcolorfour, backgroundoffset=0pt, offset=0pt, frame=off, location=text, color=blue] \starttext \starttextbackground[intro] A rather common way to draw attention to a passage, is to add a background. In this chapter we will therefore discuss how to enhance your document with \starttextbackground [subintro] colorful areas that either or not follow the shape of your paragraph. \stoptextbackground\ Be warned: this chapter has so many backgrounds that you should consider wearing sunglasses. \stoptextbackground \dorecurse{5}{\input tufte} \stoptext Regards -- Diego Depaoli ___________________________________________________________________________________ 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 ___________________________________________________________________________________