From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/60679 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: Troubles with backgrounds in bTABLE Date: Wed, 04 Aug 2010 09:45:48 +0200 Message-ID: <4C591AAC.2030204@gmx.net> References: <58990112-F231-4B66-86EF-DD44C4D8ED98@boede.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070108010702030601010609" X-Trace: dough.gmane.org 1280907956 25223 80.91.229.12 (4 Aug 2010 07:45:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 4 Aug 2010 07:45:56 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 04 09:45:54 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 1OgYfi-0002uQ-4k for gctc-ntg-context-518@m.gmane.org; Wed, 04 Aug 2010 09:45:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8C586C9F53; Wed, 4 Aug 2010 09:45:53 +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 Ekqfg+DC+pFL; Wed, 4 Aug 2010 09:45:53 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A93AAC9F57; Wed, 4 Aug 2010 09:45:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2F91EC9F53 for ; Wed, 4 Aug 2010 09:45:49 +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 BnsjWrsbQ4qu for ; Wed, 4 Aug 2010 09:45:47 +0200 (CEST) Original-Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.22]) by balder.ntg.nl (Postfix) with SMTP id 00351C9F57 for ; Wed, 4 Aug 2010 09:45:46 +0200 (CEST) Original-Received: (qmail invoked by alias); 04 Aug 2010 07:45:46 -0000 Original-Received: from ip-109-91-201-100.unitymediagroup.de (EHLO [192.168.178.3]) [109.91.201.100] by mail.gmx.net (mp030) with SMTP; 04 Aug 2010 09:45:46 +0200 X-Authenticated: #24293357 X-Provags-ID: V01U2FsdGVkX1+aGsgYEdqaFpxQkbSSEQJSgYkD3wtpldN+eATVC4 ygnkneX1cNM0Lq User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.2.7) Gecko/20100713 Lightning/1.0b2 Mnenhy/0.8.3 Thunderbird/3.1.1 In-Reply-To: <58990112-F231-4B66-86EF-DD44C4D8ED98@boede.nl> X-Enigmail-Version: 1.1.1 X-Y-GMX-Trusted: 0 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:60679 Archived-At: This is a multi-part message in MIME format. --------------070108010702030601010609 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi Willi, Am 04.08.2010 08:57, schrieb Willi Egger: > 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. > No bug, only the bounding box. The relative position of a graphic does not count any longer, if the graphic leaves MP. For example: drawing a fullcircle/unitcircle results in the same graphic, although they have a different center point. Only the final boundingbox is counting here (equal in this case). In your example the boundingbox has the size (OverlayWidth,2pt) or (OverlayWidth+2pt,2p) if you ignore the linewidth. So you need a manual boundingbox setup, as in the attached example. The Topline does not cross the borders of the OverlayBox (donno if this is wanted, but easy to change). Best wishes, Peter --------------070108010702030601010609 Content-Type: text/plain; name="test-background.tex" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="test-background.tex" XHNldHVwY29sb3JzW3N0YXRlPXN0YXJ0XQ0KDQoNClxzdGFydHVuaXF1ZU1QZ3JhcGhpY3tU b3BsaW5lfQ0KICAgICAgICBkcmF3ICgxcHQsT3ZlcmxheUhlaWdodC0xcHQpLS0oT3Zlcmxh eVdpZHRoLTFwdCxPdmVybGF5SGVpZ2h0LTFwdCkNCiAgICAgICAgd2l0aHBlbiBwZW5jaXJj bGUgc2NhbGVkIDJwdDsNCiAgICAgICAgc2V0Ym91bmRzIGN1cnJlbnRwaWN0dXJlIHRvIE92 ZXJsYXlCb3g7DQpcc3RvcHVuaXF1ZU1QZ3JhcGhpYw0KDQoNClxzdGFydHVuaXF1ZU1QZ3Jh cGhpY3tEaWFnb25hbH0NCglwYXRoIHAscTsNCglwIDo9IHVuaXRzcXVhcmUgeHNjYWxlZCBc b3ZlcmxheXdpZHRoIHlzY2FsZWQgXG92ZXJsYXloZWlnaHQ7DQoJZHJhdyBsbGNvcm5lciBw IC0tIHVyY29ybmVyIHAgd2l0aHBlbiBwZW5jaXJjbGUgc2NhbGVkIDJwdDsNClxzdG9wdW5p cXVlTVBncmFwaGljDQoNClxkZWZpbmVvdmVybGF5W1RvcGxpbmVdW1x1c2VNUGdyYXBoaWN7 VG9wbGluZX1dDQpcZGVmaW5lb3ZlcmxheVtEaWFnb25hbF1bXHVzZU1QZ3JhcGhpY3tEaWFn b25hbH1dDQoNClxzdGFydHRleHQNClxiVEFCTEUNCglcc2V0dXBUQUJMRVtyXVsxXVtiYWNr Z3JvdW5kPVRvcGxpbmVdDQpcYlRSDQogICBcYlREIFRlc3RcIFxlVEQJDQpcZVRSIA0KXGJU Ug0KICAgXGJURCBUZXN0XCBcZVRECQ0KXGVUUg0KXGVUQUJMRQ0KDQpcYmxhbmsNClxmcmFt ZWRbYmFja2dyb3VuZD1Ub3BsaW5lLGZyYW1lY29sb3I9cmVkXXt0ZXN0fQ0KXGJsYW5rDQoN ClxiVEFCTEUNCglcc2V0dXBUQUJMRVtyXVsxXVtiYWNrZ3JvdW5kPURpYWdvbmFsXQ0KXGJU Ug0KICAgXGJURCBUZXN0XCBcZVRECQ0KXGVUUiANClxiVFINCiAgIFxiVEQgVGVzdFwgXGVU RAkNClxlVFINClxlVEFCTEUNCg0KXGJsYW5rDQpcZnJhbWVkW2JhY2tncm91bmQ9RGlhZ29u YWxde3Rlc3R9DQpcc3RvcHRleHQNCg== --------------070108010702030601010609 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 ___________________________________________________________________________________ --------------070108010702030601010609--