From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69757 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Changing the colors of a button Date: Tue, 5 Jul 2011 14:11:14 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1531220310==" X-Trace: dough.gmane.org 1309867896 4876 80.91.229.12 (5 Jul 2011 12:11:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 5 Jul 2011 12:11:36 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 05 14:11:33 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qe4TU-0000Vp-E4 for gctc-ntg-context-518@m.gmane.org; Tue, 05 Jul 2011 14:11:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A29A1CADE4; Tue, 5 Jul 2011 14:11:30 +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 NrpWls6FeN51; Tue, 5 Jul 2011 14:11:28 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E72D3CADD4; Tue, 5 Jul 2011 14:11:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3F504CADD4 for ; Tue, 5 Jul 2011 14:11:26 +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 d4Q9n+kiNCsc for ; Tue, 5 Jul 2011 14:11:15 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 4836FCAC8D for ; Tue, 5 Jul 2011 14:11:15 +0200 (CEST) Original-Received: from mail-ew0-f41.google.com (mail-ew0-f41.google.com [209.85.215.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p65CBED8007076 for ; Tue, 5 Jul 2011 14:11:14 +0200 Original-Received: by ewy9 with SMTP id 9so3206767ewy.14 for ; Tue, 05 Jul 2011 05:11:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=1Gy0xAVEpZMSxW9ClMKCdJnj6iQyh51iydanh5jNWGA=; b=SeyD6LYBYhNSPhKFcI3xTe5duVYoOgdpa4+XffAjW9HFXLpjFTXwS1A/Y/3X5GZqYj cXFNKqllb2Q06UxOrhCuJwRiT0n38e3a+0Z3C7arY9bVO5x2EJue3OvFf70hbq6H2RaZ bfYRFVQUJH51CKnrDlJxxFYTkekJPvSh3+aZ8= Original-Received: by 10.14.100.207 with SMTP id z55mr2262305eef.18.1309867874106; Tue, 05 Jul 2011 05:11:14 -0700 (PDT) Original-Received: by 10.14.47.3 with HTTP; Tue, 5 Jul 2011 05:11:14 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.41; 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: 0rF4cbeaj - cedf082f848f - 20110705 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:69757 Archived-At: --===============1531220310== Content-Type: multipart/alternative; boundary=bcaec52157cb56bcf804a7516140 --bcaec52157cb56bcf804a7516140 Content-Type: text/plain; charset=ISO-8859-1 I am trying the following: \button[backgroundcolor=darkgray,framecolor=black,framecorner=round]{Go Back}[PreviousJump] The parameter framecolor works (I tried it with green). Framecorner works also, but backgroundcolor not. How can I change the background and text color of the button? Also would it not be better when clicking on this button, the highlighting also works with rounded corners? -- Cecil Westerhof --bcaec52157cb56bcf804a7516140 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I am trying the following:
=A0 \button[backgroundcolor=3Ddarkgray,framec= olor=3Dblack,framecorner=3Dround]{Go Back}[PreviousJump]

The paramet= er framecolor works (I tried it with green). Framecorner works also, but ba= ckgroundcolor not. How can I change the background and text color of the bu= tton?

Also would it not be better when clicking on this button, the highlight= ing also works with rounded corners?

--
Cecil West= erhof
--bcaec52157cb56bcf804a7516140-- --===============1531220310== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1531220310==--