From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86103 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Change the default text colour for entire document Date: Mon, 27 Jan 2014 00:24:03 +0100 Message-ID: <92E6A896-65FC-43CB-96A4-7ABCD066B240@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1390778655 25815 80.91.229.3 (26 Jan 2014 23:24:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Jan 2014 23:24:15 +0000 (UTC) Cc: Hans Hagen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 27 00:24:23 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W7Z3v-0006a4-Fo for gctc-ntg-context-518@m.gmane.org; Mon, 27 Jan 2014 00:24:23 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8E075101E1; Mon, 27 Jan 2014 00:24:22 +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 pIHDNcU6DJdi; Mon, 27 Jan 2014 00:24:17 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 39422101E6; Mon, 27 Jan 2014 00:24:17 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AFD15101E6 for ; Mon, 27 Jan 2014 00:24:16 +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 gRsppvWfhj88 for ; Mon, 27 Jan 2014 00:24:11 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id ACC20101E1 for ; Mon, 27 Jan 2014 00:24:11 +0100 (CET) Original-Received: from mail-bk0-x234.google.com (mail-bk0-x234.google.com [IPv6:2a00:1450:4008:c01::234]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s0QNOAOH020097 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 27 Jan 2014 00:24:10 +0100 Original-Received: by mail-bk0-f52.google.com with SMTP id e11so2451548bkh.25 for ; Sun, 26 Jan 2014 15:24:10 -0800 (PST) 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:cc :content-transfer-encoding:message-id:references:to; bh=FwNGs6NB5Xbp8aFjCuH8ma0SE8aVcNkzP/I/62ycaE0=; b=Lkgl/mLomhe3twanOAWZfEnwOFY6mSLjJ2mLg8QABR5vYFXsajWGRQxeMZiw2wZ7pi Oluq8MaipW8UrB2fk/X2PvV1aJ7+zBXBamxmOUAnnsXb+PrMbqcuMU2Rt3eCNxVcfnhO q7Nzc7Wi8JAT+5dY9ew4+5SoQyEBgjRja6JZ8qsAAUDoQ08UDp+GhwDegAkZ1FthtCZJ Mhlp3cYgCYnxLHWB2Ra1+xmm94sYN3p7X1SZBRuYXLmgjJF9xQIzZxLPa04gzJ0Wf/uF 9T9R2s0hL09dQpUjmvUkeyNIviMrTcKIfzfQi3ZEbLb01AaqmFJG7YnhiugQs+NHt7Wa FG4A== X-Received: by 10.204.123.199 with SMTP id q7mr18076358bkr.53.1390778649927; Sun, 26 Jan 2014 15:24:09 -0800 (PST) Original-Received: from keima.localdomain (x2f21e47.dyn.telefonica.de. [2.242.30.71]) by mx.google.com with ESMTPSA id rf10sm11460196bkb.3.2014.01.26.15.24.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 26 Jan 2014 15:24:06 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1827) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4008:c01::234; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RLiLoaIN - 49196f1a993e - 20140127 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:86103 Archived-At: Am 22.01.2014 um 02:15 schrieb Thangalin : > Hi, > = > In ConTeXt to change the default text colour for the entire document, > there are at least two settings that need to be configured: > = > \setupcolors[textcolor=3Dred] > \setupinmargin[line=3D13,color=3Dred,style=3Dslanted,] > = > The border colour for tables remains black: > = > \setupcolors[textcolor=3Dred] > \setupinmargin[color=3Dred] > = > \starttext > {\bTABLE > \bTR \bTD One \eTD \bTD Two \eTD \eTR > \eTABLE} > \stoptext > = > How can you override *all* instances of black? (Ideally there would be > a single setting that is inherited by all.) That is, it is difficult > to know all the various aspects of a ConTeXt document that use the > default black colour -- margins, body text, table borders, and > possibly more that I don't know about. Notes (local notes excluded because they use a different placement system) and margin texts ignore the global text color because both mechanism reset colors and many other settings to avoid unwanted output from local changes in the main text etc. Even though there is a comment about this problem for margin notes in the source it wasn=92t fixed yet but I think it makes sense to to so. The problem with the black frames for natural tables are a result of the ex= plicit framecolor setup for it (I guess to avoid problems when you use metapost backgrounds which use the framecolor value). A possible way to fix this is = to add a framecolor setup to \setupcolors which argument is now used as default color for the frame of natural tables, this way can use this color also in = other commands (core functions as well as third party modules) to set a default v= alue. 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 ___________________________________________________________________________= ________