From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77542 Path: news.gmane.org!not-for-mail From: Marco Newsgroups: gmane.comp.tex.context Subject: Bug with rule between columns in columnset Date: Tue, 24 Jul 2012 12:52:38 +0200 Message-ID: <20120724125238.78133616@homerow> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1343127185 12542 80.91.229.3 (24 Jul 2012 10:53:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 Jul 2012 10:53:05 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 24 12:53:05 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Stcjd-0007et-Lk for gctc-ntg-context-518@m.gmane.org; Tue, 24 Jul 2012 12:53:01 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 25AB910273; Tue, 24 Jul 2012 12:53: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 uNv4btEjLGF6; Tue, 24 Jul 2012 12:52:59 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id DD0AE10257; Tue, 24 Jul 2012 12:52:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 103AB10257 for ; Tue, 24 Jul 2012 12:52:59 +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 1UQA1U3i0rxb for ; Tue, 24 Jul 2012 12:52:58 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 4D08210213 for ; Tue, 24 Jul 2012 12:52:58 +0200 (CEST) Original-Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q6OAqv8h031176 for ; Tue, 24 Jul 2012 12:52:57 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1StcjX-0007Y5-DD for ntg-context@ntg.nl; Tue, 24 Jul 2012 12:52:55 +0200 Original-Received: from 83.68.239.193 ([83.68.239.193]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Jul 2012 12:52:55 +0200 Original-Received: from netuse by 83.68.239.193 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Jul 2012 12:52:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 83.68.239.193 X-Newsreader: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) X-Bayes-Prob: 0.4677 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.91.229.3; country=NO; latitude=62.0000; longitude=10.0000; http://maps.google.com/maps?q=62.0000,10.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08HCaQVhR - a43e6a158212 - 20120724 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:77542 Archived-At: Hi, this seems like a bug in the MetaFun or column set code. Printing a vertical rule between columns fails with ! terminal: >> NOfTextColumns-1 ! Improper final value has been replaced by 0. The code also fails, when the column set code is commented out, but then the NOfTextColumns doesn't make sense any longer. Older betas work perfectly. \startuseMPgraphic{verticalline} for i=1 upto NOfTextColumns-1 : draw (rightboundary TextColumns[i]) shifted (2.5mm,0) shifted -\MPxy\textanchor; endfor ; setbounds currentpicture to OverlayBox ; \stopuseMPgraphic \defineoverlay [verticalline] [\useMPgraphic{verticalline}] \setupbackgrounds [text] [background=verticalline] \definecolumnset [example] [n=2] \starttext \startcolumnset [example] \input knuth \stopcolumnset \stoptext Marco ___________________________________________________________________________________ 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 ___________________________________________________________________________________