From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11329 Path: main.gmane.org!not-for-mail From: Patrick Gundlach Newsgroups: gmane.comp.tex.context Subject: table and MPpositiongraphic Date: Tue, 11 Mar 2003 17:30:45 +0100 Organization: privat Sender: ntg-context-admin@ntg.nl Message-ID: <874r69dfwq.fsf@gundla.ch> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1047400379 11376 80.91.224.249 (11 Mar 2003 16:32:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 11 Mar 2003 16:32:59 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Mar 11 17:32:57 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18smfa-0002rZ-00 for ; Tue, 11 Mar 2003 17:32:02 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id EF81F10B6A; Tue, 11 Mar 2003 17:32:41 +0100 (MET) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by ref.ntg.nl (Postfix) with ESMTP id F314210B34 for ; Tue, 11 Mar 2003 17:31:00 +0100 (MET) Original-Received: from [212.227.126.206] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 18smeb-000616-00; Tue, 11 Mar 2003 17:31:01 +0100 Original-Received: from [129.217.137.45] (helo=levana) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 18smea-0002cO-00; Tue, 11 Mar 2003 17:31:00 +0100 Original-Received: from pg by levana with local (Exim 3.12 #1 (Debian)) id 18smeL-0000Yn-00; Tue, 11 Mar 2003 17:30:45 +0100 Original-To: ntg-context@ntg.nl X-Lieblings-Musik: a.c. Original-Lines: 35 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i586-pc-linux-gnu) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11329 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11329 Hello, while browsing thru the source and trying some examples, I can't sensible output of the following code. (No MP stuff is visible) %output=pdf \setupcolors[state=start] \def\cw#1{\color[green]{#1}} \def\TableShade#1#2% {\startMPpositiongraphic initialize_area(\MPpos{b:#1},\MPpos{e:#1}) ; show pxy; linear_shade(pxy,0,.4#2,.9#2) ; anchor_area(\MPanchor{b:#1}) ; \stopMPpositiongraphic} \dosetpositionaction{b:x}{\TableShade{x}{red}} \dosetpositionaction{b:y}{\TableShade{y}{green}} \dosetpositionaction{b:z}{\TableShade{z}{blue}} \starttext \starttable[|c|c|c|] \GFC[b:z] \cw{this is a small} \NC \cw{table} \NC in which we \NC \FR \NC \cw{will demonstrate} \GFC[c:y] \cw{that this} \GTC[c] \cw{positioning} \NC \MR \GSC[a:x] \cw{mechanism also} \GTC[b] \cw{works quite well} \NC in tables \NC \LR \stoptable \stoptext Any ideas how to get the MPpositiongraphic working? Patrick