From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71606 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: transparent text in \framed Date: Fri, 07 Oct 2011 17:35:31 +0200 Message-ID: <4E8F1C43.1020604@gmx.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060503050400080902020407" X-Trace: dough.gmane.org 1318001768 16342 80.91.229.12 (7 Oct 2011 15:36:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 7 Oct 2011 15:36:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 07 17:36:03 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 1RCCSv-0002fC-Hf for gctc-ntg-context-518@m.gmane.org; Fri, 07 Oct 2011 17:36:01 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 25CAFCB002; Fri, 7 Oct 2011 17:36:00 +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 bvn5f-Gh9-BW; Fri, 7 Oct 2011 17:35:54 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 71B33CAFF7; Fri, 7 Oct 2011 17:35:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6A77ACAFF7 for ; Fri, 7 Oct 2011 17:35:52 +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 X0+dDTi-jT4f for ; Fri, 7 Oct 2011 17:35:38 +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 948FFCA680 for ; Fri, 7 Oct 2011 17:35:38 +0200 (CEST) Original-Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id p97FZc0O023045 for ; Fri, 7 Oct 2011 17:35:38 +0200 Original-Received: (qmail invoked by alias); 07 Oct 2011 15:35:37 -0000 Original-Received: from ip-95-222-36-122.unitymediagroup.de (EHLO [192.168.178.3]) [95.222.36.122] by mail.gmx.net (mp025) with SMTP; 07 Oct 2011 17:35:37 +0200 X-Authenticated: #24293357 X-Provags-ID: V01U2FsdGVkX1+dEj9wfMOdmiuUVN+H8WN1r3BJ0JBYM5FXfe0iTV rVkaE+MSEofAf2 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 X-Enigmail-Version: 1.3.2 X-Y-GMX-Trusted: 0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.165.64.23; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rFFPzC0V - 788ab4bc0b9c - 20111007 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:71606 Archived-At: This is a multi-part message in MIME format. --------------060503050400080902020407 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, I found a problem with transparency in \framed. If the foreground color is transparent, the attribute is active all the time. Same is true if you use a transparent foreground color in the content. Small test file is attached. Tested with beta from 2011.10.05 23:53, LuaTeX, Version beta-0.70.1-2011051907 (rev 4277). Regards, Peter --------------060503050400080902020407 Content-Type: text/x-tex; name="test.tex" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="test.tex" \setuppagenumber[state=stop] \definecolor[ghost][s=1,a=1,t=.5] \starttext \framed[foregroundcolor=ghost,background=color,backgroundcolor=black] {Transparent text,\starttextcolor[red] still active here!\stoptextcolor\blackrule[color=blue,width=5cm,height=\strutheight]} \framed[foregroundcolor=white,background=color,backgroundcolor=black] {\starttextcolor[ghost]Transparent text,\stoptextcolor\starttextcolor[red] still active here!\stoptextcolor\blackrule[color=blue,width=5cm,height=\strutheight]} \stoptext --------------060503050400080902020407 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 ___________________________________________________________________________________ --------------060503050400080902020407--