From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44977 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Problem with mkiv and MPgraphic Date: Wed, 22 Oct 2008 17:12:52 +0200 Message-ID: <9FF7C825-7DFD-4256-8B22-F7D10153CC3E@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1224698146 13651 80.91.229.12 (22 Oct 2008 17:55:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Oct 2008 17:55:46 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 22 19:56:46 2008 connect(): Connection refused 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 1Kshwl-0002w8-W0 for gctc-ntg-context-518@m.gmane.org; Wed, 22 Oct 2008 19:56:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0CD551FB14; Wed, 22 Oct 2008 19:55:32 +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 19389-01-4; Wed, 22 Oct 2008 19:54:51 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2CC961FBAC; Wed, 22 Oct 2008 17:13:40 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 76A7E1FBAC for ; Wed, 22 Oct 2008 17:13:38 +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 17735-03-8 for ; Wed, 22 Oct 2008 17:13:01 +0200 (CEST) Original-Received: from soleil.uvsq.fr (soleil.uvsq.fr [193.51.24.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0D70F1FB77 for ; Wed, 22 Oct 2008 17:13:00 +0200 (CEST) Original-Received: from cauchy.math.uvsq.fr (cauchy.math.uvsq.fr [193.51.32.2]) by soleil.uvsq.fr (8.14.1/jtpda-5.4) with ESMTP id m9MFCsen026274 for ; Wed, 22 Oct 2008 17:12:54 +0200 (CEST) Original-Received: from MacKavian.math.uvsq.fr (MacKavian.math.uvsq.fr [193.51.32.142]) by cauchy.math.uvsq.fr (8.14.2/jtpda-5.4) with ESMTP id m9MFCrj0016484 for ; Wed, 22 Oct 2008 17:12:53 +0200 (CEST) X-Mailer: Apple Mail (2.929.2) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (soleil.uvsq.fr [193.51.24.1]); Wed, 22 Oct 2008 17:12:54 +0200 (CEST) X-Miltered: at soleil.uvsq.fr with ID 48FF42F6.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Score: MSGID : 48FF42F6.000 on soleil.uvsq.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham X-Virus-Scanned: ClamAV 0.92.1/8468/Wed Oct 22 14:35:20 2008 on soleil.uvsq.fr X-Virus-Status: Clean 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:44977 Archived-At: Hi, The following doesn't show the "swelled rule" defined below in mkiv, while on mkii it is fine? So my question is: is there a new way to define MPgraphic in mkiv? Best regards: OK %% defining swelled ruel, or English rule... \setupMPvariables[SwelledRule][height=2pt,breadth=.667\localhsize] \startuniqueMPgraphic{SwelledRule}{height,breadth} x1 = 0; x2 = x6 = .333x4; x3 = x5 = .667x4; x4 = \MPvar{breadth}; y1 = y4 = \MPvar{height}/2; y2 = y3 = \MPvar{height}; y5 = y6 = 0; fill z1--z2--z3--z4--z5--z6--cycle; \stopuniqueMPgraphic \def\SwelledRule{\blank% \setlocalhsize\midaligned{\reuseMPgraphic{SwelledRule}}\blank} %% end swelled rule \starttext This file has been typeset on \currentdate{} at \currenttime, with \doifmodeelse{mkiv} {mkiv, LuaTeX revision \luatexrevision, (LuaTeX date stamp \luatexdatestamp),} {mkii, using the command: \type{texexec basic-test.tex}}, ConTeXt version \contextversion. % LuaTeX version \luatexversion, Below should be a swelled rule: it appears with mkii, but not in mkiv \dots \SwelledRule \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 ___________________________________________________________________________________