From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44594 Path: news.gmane.org!not-for-mail From: "Wolfgang Werners-Lucchini" Newsgroups: gmane.comp.tex.context Subject: Some Metapost Problems Date: Mon, 06 Oct 2008 23:10:18 +0200 Message-ID: <48EA9ADA.6775.24EB53B@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 1223351367 454 80.91.229.12 (7 Oct 2008 03:49:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Oct 2008 03:49:27 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 07 05:50: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 1Kn3aZ-00040J-TI for gctc-ntg-context-518@m.gmane.org; Tue, 07 Oct 2008 05:50:23 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 653CC1FC74; Tue, 7 Oct 2008 05:49:18 +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 22318-01-18; Tue, 7 Oct 2008 05:48:45 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8B3B01FFC4; Tue, 7 Oct 2008 03:56:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 95D1D1FDDA for ; Tue, 7 Oct 2008 03:56:31 +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 06482-10-42 for ; Tue, 7 Oct 2008 03:55:58 +0200 (CEST) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by ronja.ntg.nl (Postfix) with ESMTP id 4F9C020255 for ; Mon, 6 Oct 2008 23:08:09 +0200 (CEST) Original-Received: from [192.168.178.20] (frnk-590d1a94.pool.einsundeins.de [89.13.26.148]) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis) id 0ML31I-1KmxJI2aHt-0007w6; Mon, 06 Oct 2008 23:08:08 +0200 Priority: normal X-mailer: Pegasus Mail for Windows (4.41, DE v4.41 R1) Content-description: Mail message body X-Provags-ID: V01U2FsdGVkX1/2PtbNj9AcC23x32XrdU/pUwUXQxPk8xbqkPb 7y2Z9kOhOKIebi+q3N/vOS8fYgODxECZKlS//VBpCr7dfE+pSW 36dbuys1sBVBYLmvH7C+385nBmLbbCy 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:44594 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 ___________________________________________________________________________= ________