From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77487 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Pablo_Rodr=EDguez?= Newsgroups: gmane.comp.tex.context Subject: two questions for the simplest slides Date: Sat, 21 Jul 2012 20:50:09 +0200 Message-ID: <500AF9E1.2010007@web.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1342896631 6664 80.91.229.3 (21 Jul 2012 18:50:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 21 Jul 2012 18:50:31 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jul 21 20:50:31 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 1Ssel2-0005Mq-Pc for gctc-ntg-context-518@m.gmane.org; Sat, 21 Jul 2012 20:50:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A4DD91021F; Sat, 21 Jul 2012 20:50:27 +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 pfxS4FP8UAfF; Sat, 21 Jul 2012 20:50:24 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A7C25101EF; Sat, 21 Jul 2012 20:50:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D030D101EF for ; Sat, 21 Jul 2012 20:50:23 +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 5JBPzjteW+gH for ; Sat, 21 Jul 2012 20:50:22 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id A96ED101DF for ; Sat, 21 Jul 2012 20:50:22 +0200 (CEST) Original-Received: from mout.web.de (mout.web.de [212.227.17.12]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q6LIoLrR009121 for ; Sat, 21 Jul 2012 20:50:22 +0200 Original-Received: from [192.168.1.33] ([88.5.202.2]) by smtp.web.de (mrweb002) with ESMTPSA (Nemesis) id 0MOSAP-1SyPv61LeP-005W0c for ; Sat, 21 Jul 2012 20:50:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 X-Provags-ID: V02:K0:sqiOiabWk1KAVxvAtBgvNxp/KRih0n0791ybwfQtPcR 1XkQz6omdNrsvbbRXfjXXrYwOjRUb6/SaVjJMZgvtjv0T3M3IB t5KqvtOoeDvmlzso4UlnjbvcbIuCWoxYR9z6K2Mg5vSqlSM+JE gcJKGKAqiBvWH3MFx/G/wvOEivSNn0HrUQy78CXixzLqlzz4eJ BOD7QKRFjrfXAjorIEQmw== X-Bayes-Prob: 0.0029 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.17.12; country=DE; region=02; city=Munich; latitude=48.1500; longitude=11.5833; http://maps.google.com/maps?q=48.1500,11.5833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0THB6OlgU - 1107377d6aac - 20120721 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:77487 Archived-At: Hi there, I would like to create the simplest slides ever. I have done in LaTeX before, but I'm not sure how to do it with ConTeXt. All I want is to be able to center both vertically and horizontally whatever each slide contains and to change background and text colors in an easy manner (something like from now on background is red and text is white). Looking to http://tug.org/pracjourn/2006-2/schmitz/ and http://wiki.contextgarden.net/Presentations, I still have two questions. How can I get every single slide, no matter there is text or images, vertically centered? How can I change background and text colors after a \page? I mean something like: \setuppapersize[S6][S6] \setupcolors[state=start] \setuppagenumber[state=stop] \setupbackgrounds[page][background=color,backgroundcolor=red] \startcolor[white] \starttext Page is red and text is white. \page Page is blue and text is yellow. \page Page is green and text is white. \page Page is white and text is black. \page Page is red and text is white (again). \stoptext I mean, I know how to start, but I don't know how to change after the start. And it would be extremely helpful to change text colors with a switch (if that were possible), not within an environment (mainly because most slides will only contain one of two words). Many thanks for your help, Pablo -- http://www.ousia.tk ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________