From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/60675 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Troubles with backgrounds in bTABLE Date: Wed, 4 Aug 2010 08:57:54 +0200 Message-ID: <58990112-F231-4B66-86EF-DD44C4D8ED98@boede.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: multipart/mixed; boundary=Apple-Mail-4--197319790 X-Trace: dough.gmane.org 1280905084 16726 80.91.229.12 (4 Aug 2010 06:58:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 4 Aug 2010 06:58:04 +0000 (UTC) To: NTG-Context ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 04 08:58:02 2010 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 1OgXvO-0005TD-4R for gctc-ntg-context-518@m.gmane.org; Wed, 04 Aug 2010 08:58:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5D17FC9F54; Wed, 4 Aug 2010 08:58:01 +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 Sblf24icPuCM; Wed, 4 Aug 2010 08:57:58 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9E8C8C9F51; Wed, 4 Aug 2010 08:57:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A23C4C9F51 for ; Wed, 4 Aug 2010 08:57:57 +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 dS6zRp7I4Eaz for ; Wed, 4 Aug 2010 08:57:55 +0200 (CEST) Original-Received: from mars.digitpaint.nl (mars.digitpaint.nl [83.98.197.63]) by balder.ntg.nl (Postfix) with ESMTP id 4CD66C9F4F for ; Wed, 4 Aug 2010 08:57:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by mars.digitpaint.nl (Postfix) with ESMTP id AC5015A86 for ; Wed, 4 Aug 2010 08:57:54 +0200 (CEST) Original-Received: from mars.digitpaint.nl ([127.0.0.1]) by localhost (mail.digitpaint.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BYUScAmZBTCh for ; Wed, 4 Aug 2010 08:57:54 +0200 (CEST) Original-Received: from [192.168.1.198] (a83-161-249-79.adsl.xs4all.nl [83.161.249.79]) by mars.digitpaint.nl (Postfix) with ESMTPA id 799032E48 for ; Wed, 4 Aug 2010 08:57:54 +0200 (CEST) X-Mailer: Apple Mail (2.1081) 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:60675 Archived-At: --Apple-Mail-4--197319790 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi all, I need to use the background mechanism to draw a thicker line in a = bTABLE...eTABLE setup together with MKII. It looks like that there is a bug somewhere in this. I am unable to draw = the line at the top of the cell. However it is possible to draw a = diagonal through the cel. I think that the problem is related to the = background mechanism in general, because the problem is also present = when using the background mechanism in framed. The behavior is identical = in MKII en MKIV. I updated this morning to the latest version of Context, the bug is = there as it was in a version ca 1 month old. Please refer to the attached test file. Using: This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) ConTeXt ver: 2010.08.04 00:37 MKII fmt: 2010.8.4 int: english/english Kind regards Willi --Apple-Mail-4--197319790 Content-Disposition: attachment; filename=test-background.tex Content-Type: application/octet-stream; name="test-background.tex" Content-Transfer-Encoding: 7bit \startuniqueMPgraphic{Topline} path p,q; p := unitsquare xscaled \overlaywidth yscaled \overlayheight; draw urcorner p -- ulcorner p withpen pencircle scaled 2pt; \stopuniqueMPgraphic \startuniqueMPgraphic{Diagonal} path p,q; p := unitsquare xscaled \overlaywidth yscaled \overlayheight; draw llcorner p -- urcorner p withpen pencircle scaled 2pt; \stopuniqueMPgraphic \defineoverlay[Topline][\useMPgraphic{Topline}] \defineoverlay[Diagonal][\useMPgraphic{Diagonal}] \starttext \bTABLE \setupTABLE[r][1][background=Topline] \bTR \bTD Test\ \eTD \eTR \bTR \bTD Test\ \eTD \eTR \eTABLE \blank \framed[background=Topline]{test} \blank \bTABLE \setupTABLE[r][1][background=Diagonal] \bTR \bTD Test\ \eTD \eTR \bTR \bTD Test\ \eTD \eTR \eTABLE \blank \framed[background=Diagonal]{test} \stoptext --Apple-Mail-4--197319790 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 ___________________________________________________________________________________ --Apple-Mail-4--197319790--