From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44581 Path: news.gmane.org!not-for-mail From: "Wolfgang Werners-Lucchini" Newsgroups: gmane.comp.tex.context Subject: Some Metapost Problems Date: Sun, 05 Oct 2008 20:03:40 +0200 Message-ID: <48E91D9C.26540.1B26E87@wwl.musensturm.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1223323046 22574 80.91.229.12 (6 Oct 2008 19:57:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Oct 2008 19:57:26 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 06 21:58:24 2008 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 1KmwDg-00018r-VK for gctc-ntg-context-518@m.gmane.org; Mon, 06 Oct 2008 21:58:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 37CFE20074; Mon, 6 Oct 2008 21:57:11 +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 30924-04-15; Mon, 6 Oct 2008 21:56:55 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0C6581FE0D; Mon, 6 Oct 2008 12:34:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 01F531FE0C for ; Mon, 6 Oct 2008 12:34:13 +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 06300-04-37 for ; Mon, 6 Oct 2008 12:33:40 +0200 (CEST) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by ronja.ntg.nl (Postfix) with ESMTP id 161D72183B for ; Sun, 5 Oct 2008 20:01:44 +0200 (CEST) Original-Received: from [192.168.178.20] (frnk-590d1a94.pool.einsundeins.de [89.13.26.148]) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis) id 0MKwh2-1KmXvL2PRi-0007Xf; Sun, 05 Oct 2008 20:01:43 +0200 Priority: normal X-mailer: Pegasus Mail for Windows (4.41, DE v4.41 R1) Content-description: Mail message body X-Provags-ID: V01U2FsdGVkX1+/LRJ/Xn93tlXASPZq826kaeuCyAFZ6pqkBTF QPY/D735/pvhbYiImgAOudm4NI3CiOnxWivaxlfd8B+fPeBA6s /3hrtec9jfZmjrmtbqO3D4U2SpoXhmb 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:44581 Archived-At: Hallo, I have a lot of problems with the following example: ------------------------------------------------ \usetypescriptfile[type-exa] \usetypescript[iwona][ec] \setupbodyfont[iwona,11pt] \startMPenvironment%[global] \usetypescript[iwona][ec] \setupbodyfont[iwona,8pt] \stopMPenvironment \startuseMPgraphic{Wochentage} save x,y ; z0 =3D (3cm,6cm) ; for i:=3D1 upto 6: z[i] =3D z[i-1] rotatedaround((3cm,3cm),720/7) ; endfor ; label.top(\sometxt{Samstag}, z0) ; label.lft(\sometxt{Donnerstag}, z1) ; label.lrt(\sometxt{Dienstag}, z2) ; label.urt(\sometxt{Sonntag}, z3) ; label.ulft(\sometxt{Freitag}, z4) ; label.llft(\sometxt{Mittwoch}, z5) ; label.rt(\sometxt{Montag}, z6) ; \stopuseMPgraphic \startuseMPgraphic{Tierkreis} save x,y ; z0 =3D (4cm,8cm) rotatedaround((4cm,4cm),15) ; for i:=3D1 upto 11: z[i] =3D z[i-1] rotatedaround((4cm,4cm),30) ; endfor ; label.ulft(\sometxt{Zwillinge}, z0) ; label.ulft(\sometxt{Stier}, z1) ; label.lft(\sometxt{Widder}, z2) ; label.lft(\sometxt{Fische}, z3) ; label.llft(\sometxt{Wassermann}, z4) ; label.llft(\sometxt{Steinbock}, z5) ; label.lrt(\sometxt{Sch=FCtze}, z6) ; label.lrt(\sometxt{Skorpion}, z7) ; label.rt(\sometxt{Waage}, z8) ; label.rt(\sometxt{Jungfrau}, z9) ; label.urt(\sometxt{L=F6we}, z[10]) ; label.urt(\sometxt{Krebs}, z[11]) ; \stopuseMPgraphic \starttext \useMPgraphic{Wochentage} Bla \useMPgraphic{Tierkreis} \stoptext ------------------------------------------------ 1. The labels of the first graphic are xscaled (randomly) when the = second graphic is included. Comment the second, and the first is ok. What I am doing wrong here? This seems to be ok with luatex. 2. The settings in \startMPenvironment do not use the smaller font = size [8pt] without [global]. And the outside Text (Bla) remains not = big [11pt] with [global]. How can I toggle the two sizes differently? 3. After editing the mp-code I allways have to purge files between = two runs. Is this normal? Thanks for your help Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________