From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35399 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: frames in ConTeXt and metafun Date: Thu, 12 Jul 2007 08:56:14 +0200 Message-ID: <5FEB6878-A8F6-4FD6-BA44-98FE6D575CE7@uni-bonn.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1184223520 19949 80.91.229.12 (12 Jul 2007 06:58:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Jul 2007 06:58:40 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 12 08:58:34 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1I8sdE-000391-78 for gctc-ntg-context-518@m.gmane.org; Thu, 12 Jul 2007 08:58:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C4FAC20305; Thu, 12 Jul 2007 08:58:31 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18883-03; Thu, 12 Jul 2007 08:58:31 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 91E0A202F8; Thu, 12 Jul 2007 08:56:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 76F0A202F8 for ; Thu, 12 Jul 2007 08:56:30 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19110-05 for ; Thu, 12 Jul 2007 08:56:27 +0200 (CEST) Original-Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.de [194.25.134.19]) by ronja.ntg.nl (Postfix) with ESMTP id 5C1B9202F7 for ; Thu, 12 Jul 2007 08:56:27 +0200 (CEST) Original-Received: from fwd29.aul.t-online.de by mailout06.sul.t-online.com with smtp id 1I8sbC-0004Oa-00; Thu, 12 Jul 2007 08:56:26 +0200 Original-Received: from [192.168.0.2] (VgqDGEZHYeq7PBDJrY6ik-RqJrXhatDPY-chqUnWR3NBJ-4daHwScg@[91.18.80.57]) by fwd29.aul.t-online.de with esmtp id 1I8sb0-1iZYC80; Thu, 12 Jul 2007 08:56:14 +0200 X-Mailer: Apple Mail (2.752.2) X-ID: VgqDGEZHYeq7PBDJrY6ik-RqJrXhatDPY-chqUnWR3NBJ-4daHwScg@t-dialin.net X-TOI-MSGID: 96d8a2a5-6f2e-471a-98c8-f178d96d0e59 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:35399 Archived-At: This is a very small cosmetic problem, but it bugs me: I'm preparing a background for a presentation, and I want a frame with a transparent color to appear on every slide, so I define an overlay and use metapost. I also want to frame some text elements, so I use a \framed. The problem is that in the \framed, the lines of the frame overlap at the edges, so with a transparent color, the corners are slightly darker. The minimal example below shows the problem. Any solution? Is it possible to have the frame around \framed drawn by metapost? Thanks! Thomas %%%%% MINIMAL EXAMPLE %%%%%% \setupcolors[state=start] \definecolor [MyFrameColor] [b=.55, t=.5, a=1] \starttext \startuseMPgraphic{fancyframe} draw unitsquare xyscaled(8cm,8cm) withpen pencircle scaled 4pt withcolor \MPcolor{MyFrameColor} ; \stopuseMPgraphic \useMPgraphic{fancyframe} \framed [rulethickness=4pt,framecolor=MyFrameColor,height=8cm,width=8cm]{\strut} \stoptext ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________