From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77494 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: two questions for the simplest slides Date: Sun, 22 Jul 2012 09:58:28 +0200 Message-ID: <24EB2804-811F-4204-B8B7-F65CBB12CFAA@gmail.com> References: <500AF9E1.2010007@web.de> <87k3xwdihs.fsf@micropit.couberia.bzh> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1342943924 20755 80.91.229.3 (22 Jul 2012 07:58:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 22 Jul 2012 07:58:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 22 09:58:44 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ssr3r-0002PJ-Fb for gctc-ntg-context-518@m.gmane.org; Sun, 22 Jul 2012 09:58:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1BBB4101EC; Sun, 22 Jul 2012 09:58:42 +0200 (CEST) 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 rL9gcJwh1Vgl; Sun, 22 Jul 2012 09:58:40 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 87F6F101E2; Sun, 22 Jul 2012 09:58:40 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3A4DE101E2 for ; Sun, 22 Jul 2012 09:58:39 +0200 (CEST) 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 XewBWKOoJEZo for ; Sun, 22 Jul 2012 09:58:38 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 8E294101DD for ; Sun, 22 Jul 2012 09:58:38 +0200 (CEST) Original-Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q6M7thqY017387 for ; Sun, 22 Jul 2012 09:55:44 +0200 Original-Received: by wibhm6 with SMTP id hm6so1417899wib.2 for ; Sun, 22 Jul 2012 00:58:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=2sIREhYo+qGnxaSBS7+HoMLqA7SxJVakLv0H3Lk8Jtw=; b=1IL+ivb6kzaab1Z1oeN2XvktgcKJmDBhZJbW6h0bwdlTeZRHYBs7k6+IyrfkHgeIAJ pgUq2vGTpzwyaqK8TFwQ2LCGu0R1YZmYK4ntw5c7jXFvCILYvK+3XkujIoNRk2vY0Vkn +pVvod9druj+uVlgrqRvRNC78FAwVt7jdSFkFRcPtWVun1K93glQ7GVJY8tYN3nSFLI0 uQwAvqB0USbVeFWRtc3SoQNn1Pj1XXm3u0JTy9vlI/ecdCnhb0E6YKUWoFteReDaJt62 Oc1qJh6CV2HWNhVrbaRp5QDWb8umLyrzfHyhzOqZzs4znOGOm10Ruvcobsr95eiidLGg FDxA== Original-Received: by 10.180.80.134 with SMTP id r6mr19797445wix.1.1342943917133; Sun, 22 Jul 2012 00:58:37 -0700 (PDT) Original-Received: from [192.168.2.36] (p57AFA9ED.dip.t-dialin.net. [87.175.169.237]) by mx.google.com with ESMTPS id fu3sm13891114wib.10.2012.07.22.00.58.33 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Jul 2012 00:58:36 -0700 (PDT) In-Reply-To: <87k3xwdihs.fsf@micropit.couberia.bzh> X-Mailer: Apple Mail (2.1278) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.173; 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: 0WHBjTHd3 - ec6169a643ce - 20120722 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:77494 Archived-At: Am 21.07.2012 um 21:25 schrieb Peter M=FCnster: > On Sat, Jul 21 2012, Pablo Rodr=EDguez wrote: > = >> Page is red and text is white. >> \page >> Page is blue and text is yellow. > = > Quick hack: > = > \definecolor[MyColor][white] > \setupbackgrounds[page][background=3Dcolor, backgroundcolor=3DMyColor] > \def\Slide#1#2#3{% #1: background, #2: foreground, #3: words > \definecolor[MyColor][#1] > \startstandardmakeup > \setupalign[middle]% > \setupcolors[textcolor=3D#2]% > #3 > \stopstandardmakeup > } > \starttext > \Slide{red}{white}{Page is red and text is white.} > \Slide{blue}{yellow}{Page is blue and text is yellow.} > \stoptext > = > Be patient, others (Wolfgang?!) will probably post cleaner solutions. You mean something like this? \setuppapersize[S6] \definelayout[slide][page] \definemakeup[slide][align=3Dmiddle,backgroundcolor=3Dlightgray] \setupbackgrounds[page][background=3Dcolor,backgroundcolor=3D\makeupparamet= er{backgroundcolor}] \starttext \startslidemakeup Page is gray and text is black. \stopslidemakeup \startslidemakeup[backgroundcolor=3Dred,color=3Dwhite] Page is red and text is white. Newline \stopslidemakeup \startslidemakeup[backgroundcolor=3Dblue,color=3Dyellow] Page is blue and text is yellow. \stopslidemakeup \stoptext Wolfgang ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________