From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29277 Path: news.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: Re: positiongraphics Date: Tue, 11 Jul 2006 21:43:31 +0200 Message-ID: References: <0016BC71-DD60-4FC6-9EF9-8DBFD8319FCE@science.uva.nl> <44B3BEF1.7030808@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: multipart/mixed; boundary=Apple-Mail-2-393636449 X-Trace: sea.gmane.org 1152647100 28564 80.91.229.2 (11 Jul 2006 19:45:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Jul 2006 19:45:00 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 11 21:44:59 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1G0OAB-0004rL-9o for gctc-ntg-context-518@m.gmane.org; Tue, 11 Jul 2006 21:44:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 57F3E12793; Tue, 11 Jul 2006 21:44:55 +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 04676-03; Tue, 11 Jul 2006 21:44:48 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 18C5512843; Tue, 11 Jul 2006 21:44:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9FD6612843 for ; Tue, 11 Jul 2006 21:44:34 +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 04760-01 for ; Tue, 11 Jul 2006 21:44:19 +0200 (CEST) Original-Received: from smtp.science.uva.nl (smtp.science.uva.nl [146.50.4.84]) by ronja.ntg.nl (Postfix) with SMTP id A743112793 for ; Tue, 11 Jul 2006 21:44:17 +0200 (CEST) Original-Received: from 118-165.uva.surfnetthuis.nl [145.98.118.165] by smtp.science.uva.nl with ESMTP (sendmail 8.11.6p2/config 11.36). id k6BJiBj14173; Tue, 11 Jul 2006 21:44:12 +0200 X-Organisation: Faculty of Science, University of Amsterdam, The Netherlands X-URL: http://www.science.uva.nl/ In-Reply-To: <44B3BEF1.7030808@wxs.nl> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: by amavisd-new X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:29277 Archived-At: --Apple-Mail-2-393636449 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed I send the offending mpgraph.mp file. It has ;'s all over. There are so many ;;'s and even some ;;;'s that I am tempted to think that one of the translation scripts is the culprit, adding a ; per newline maybe? I am sorry not having taken a look into the ruby scripts, but my ruby knowledge is nihil. --Apple-Mail-2-393636449 Content-Transfer-Encoding: quoted-printable Content-Type: application/octet-stream; x-unix-mode=0644; name=syllabus-s-mpgraph.mp Content-Disposition: attachment; filename=syllabus-s-mpgraph.mp %=20runtime=20graphics=20of=20job=20"syllabus-s"=0Ampgraph:=3D1;=0A= randomseed:=3D996;;=0A_special_div_=20:=3D=201000;=20;=0Aif=20unknown=20= context_tool:=20input=20mp-tool;=20fi;;=0Aif=20unknown=20context_spec:=20= input=20mp-spec;=20fi;;=0Aif=20unknown=20context_grph:=20input=20= mp-grph;=20fi;;=0A=20graphictextformat:=3D"context";;=0A= graphictextdirective=20"\global=20\loadfontfileoncetrue=20\usetypescript=20= [luc]\setupbodyfont=20[luc,sans,11pt]=20";;=0A=20string=20= contextversion;;=0Acontextversion:=3D"2006.06.09=2013:05";;=0A=20if=20= not=20known=20_data_prefix_:;=0Astring=20_data_prefix_,_data_suffix_;;=0A= fi;;=0A_data_prefix_:=3D"syllabus-s-mpd-";;=0A_data_suffix_:=3D".mpd";;=0A= =20boolean=20collapse_data;=20collapse_data:=3Dtrue;;=0A= _data_suffix_:=3D".mpd";=20;=0Acolor=20OverlayColor,OverlayLineColor;;=0A= =20def=20initialize_form_numbers=20=3D;=0Ado_initialize_numbers;;=0A= enddef;;=0A=20vardef=20ForegroundBox=20=3D;=0Aunitsquare=20= xysized(HSize,VSize);=0Aenddef=20;;=0Avardef=20PageFraction=20=3D;=0Aif=20= 9>1:=20(7-1)/(9-1)=20else:=201=20fi;=0Aenddef=20;;=0A=20if=20unknown=20= context_page:=20input=20mp-page;=20fi;;=0A=20boolean=20= PageStateAvailable,OnRightPage,InPageBody;;=0APageStateAvailable:=3Dtrue;;= =0A=20path=20PlainTextArea;;=0A=20if=20unknown=20context_core=20:=20= input=20mp-core.mp=20;=20fi=20;;=0A;;=0A\input=20custom=20def=20= init_pens=20=3D=20pensize=20:=3D=202pt;=20pickup=20pensquare=20scaled=20= pensize;=20squarePen=20:=3D=20savepen;=20pickup=20pensquare=20scaled=20= 0.5pensize;=20smallsquarePen=20:=3D=20savepen;=20pickup=20pencircle=20= scaled=200.5pensize;=20smallcirclePen=20:=3D=20savepen;=20pickup=20= pencircle=20scaled=20pensize;=20circlePen=20:=3D=20savepen;=20enddef;=20=20= def=20frame_=20(expr=20width,=20height,=20gap,=20org,=20pn)=20=3D=20= clearpen;=20fill=20block=20(width+2gap,height+2gap)=20shifted=20= (org-(gap,gap))=20withcolor=20(scaledrgb(1,.894118,.882353,1));=20if=20= known=20pn:=20pickup=20pn;=20if=20penX=20>=200:=20draw=20block=20= (width+2gap,height+2gap)=20shifted=20(org-(gap,gap))=20withcolor=20= transparent=20(1,0,(scaledrgb(0,1,0,1)));=20fi=20fi=20enddef;=20def=20= FrameO=20(expr=20width,=20height,=20gap,=20org)=20=3D=20frame_=20(width,=20= height,=20gap,=20org,=20framePen)=20enddef;=20def=20Frame=20(expr=20= width,=20height,=20gap)=20=3D=20FrameO(width,=20height,=20gap,=20origin)=20= enddef;=20def=20frameO=20(expr=20width,=20height,=20gap,=20org)=20=3D=20= frame_=20(width,=20height,=20gap,=20org,=20currentpen)=20enddef;=20def=20= frame=20(expr=20width,=20height,=20gap)=20=3D=20frameO=20(width,=20= height,=20gap,=20origin)=20enddef;=20=20framePenSize=20:=3D=200;=20if=20= framePenSize=20=3D=200:=20clearpen;=20else:=20pickup=20pensquare=20= scaled=20framePenSize;=20fi=20framePen=20:=3D=20savepen;=20=20= defineDefaultColors((scaledrgb(.184314,.309804,.309804,1)),=20= (scaledrgb(1,=201,.941176,1)),=20(scaledrgb(.184314,.309804,.309804,1)),=20= (scaledrgb(1,.894118,.882353,1)));=20= defineColors((scaledrgb(.184314,.309804,.309804,1)),=20= (scaledrgb(1,.972549,.862745,1)),=20= (scaledrgb(.184314,.309804,.309804,1)),=20= (scaledrgb(1,.894118,.882353,1)),=20AltFill);=20=20extra_beginfig=20:=3D=20= extra_beginfig=20&=20"resetDefaultColors=20"=20&=20"init_pens=20";=20=20= def=20xorop=20(expr=20c,=20radius)=20=3D=20Block.oval=20(c,=20radius,=20= radius,=20"\bf=20+");=20enddef;=20def=20addop=20(expr=20c,=20radius)=20=3D= =20Block.rectangle=20(c,=20radius,=20radius,=20"\bf=20+");=20enddef;=20;=0A= defaultfont:=3D"hlhr8y";;=0Adefaultscale:=3D11.0pt/10pt;;=0A=20= cmykcolors:=3Dtrue;;=0Aspotcolors:=3Dtrue;;=0A=20= OverlayWidth:=3D609.52148pt=20=20;;=0AOverlayHeight:=3D476.59792pt=20=20= ;;=0AOverlayDepth:=3D476.59792pt=20=20;;=0A= OverlayColor:=3D(scaledrgb(0.94,.84706,.8647,1));;=0A= OverlayLineWidth:=3D0.4pt=20;;=0AOverlayLineColor:=3D(0,0,0);;=0A= BaseLineSkip:=3D16.32397pt;;=0ALineHeight:=3D16.32397pt;;=0A= BodyFontSize:=3D11.0pt;;=0ATopSkip:=3D11.75328pt;;=0A= StrutHeight:=3D11.75328pt;;=0AStrutDepth:=3D4.57068pt;;=0A= CurrentWidth:=3D609.52148pt;;=0ACurrentHeight:=3D476.59792pt;;=0A= EmWidth:=3D11.0pt;;=0AExHeight:=3D5.82999pt;;=0APageNumber:=3D6;;=0A= RealPageNumber:=3D7;;=0ALastPageNumber:=3D=20lastpage;;=0A=20= prologues:=3D2;;=0A=20HSize:=3D609.52148pt;;=0AVSize:=3D476.59792pt;;=0A=20= OnRightPage:=3Dtrue;;=0AInPageBody:=3Dtrue=20;;=0A=20def=20LoadPageState=20= =3D;=0AOnRightPage:=3Dtrue;;=0AOnOddPage:=3Dtrue;;=0ARealPageNumber:=3D7;;= =0APageNumber:=3D6;;=0ANOfPages:=3D9;;=0APaperHeight:=3D600.0pt;;=0A= PaperWidth:=3D800.0pt;;=0APrintPaperHeight:=3D600.0pt;;=0A= PrintPaperWidth:=3D800.0pt;;=0ATopSpace:=3D50.50049pt;;=0A= BottomSpace:=3D44.44885pt;;=0ABackSpace:=3D95.23926pt;;=0A= CutSpace:=3D95.23926pt;;=0AMakeupHeight:=3D505.05066pt;;=0A= MakeupWidth:=3D609.52148pt;;=0ATopHeight:=3D0.0pt;;=0A= TopDistance:=3D0.0pt;;=0AHeaderHeight:=3D0.0pt;;=0A= HeaderDistance:=3D0.0pt;;=0ATextHeight:=3D476.59792pt;;=0A= FooterDistance:=3D0.0pt;;=0AFooterHeight:=3D28.45274pt;;=0A= BottomDistance:=3D0.0pt;;=0ABottomHeight:=3D0.0pt;;=0A= LeftEdgeWidth:=3D0.0pt;;=0ALeftEdgeDistance:=3D0.0pt;;=0A= LeftMarginWidth:=3D85.35826pt;;=0ALeftMarginDistance:=3D16.06445pt;;=0A= TextWidth:=3D609.52148pt;;=0ARightMarginDistance:=3D16.06445pt;;=0A= RightMarginWidth:=3D85.35826pt;;=0ARightEdgeDistance:=3D0.0pt;;=0A= RightEdgeWidth:=3D0.0pt;;=0AInnerMarginDistance:=3D16.06445pt;;=0A= InnerMarginWidth:=3D85.35826pt;;=0AOuterMarginDistance:=3D16.06445pt;;=0A= OuterMarginWidth:=3D85.35826pt;;=0AInnerEdgeDistance:=3D0.0pt;;=0A= InnerEdgeWidth:=3D0.0pt;;=0AOuterEdgeDistance:=3D0.0pt;;=0A= OuterEdgeWidth:=3D0.0pt;;=0APageOffset:=3D0.0pt;;=0APageDepth:=3D0.0pt;;=0A= LayoutColumns:=3D1;;=0ALayoutColumnDistance:=3D0.0pt;;=0A= LayoutColumnWidth:=3D609.52148pt;;=0Aenddef;;=0A=20ResetTextAreas;;=0A= RegisterTextArea(95.23926pt,72.9016pt,609.52148pt,476.59792pt,4.57068pt);;= ;=0ASaveTextAreas;;=0AResetTextAreas;;=0A= RegisterTextArea(95.23926pt,187.82343pt,609.52148pt,92.43059pt,58.32957pt)= ;;;=0A;;=0A= PlainTextArea:=3Dboundingbox((95.23926pt,72.9016pt)--(95.23926pt,72.9016pt= );=0Ashifted=20(609.52148pt,476.59792pt));;=0A=20= local_multi_par_area:=3Dfalse;;=0A;;=0Alet=20mprunend=20=3D=20end=20;=0A= beginfig(1);=0Averbatimtex=20\global=20\loadfontfileoncetrue=20= \usetypescript=20[luc]\setupbodyfont=20[luc,sans,11pt]=20=20etex;=0A= boxgridtype=20:=3D=200=20;;=0Aboxlinetype=20:=3D=200=20;;=0Aboxfilltype=20= :=3D=201=20;;=0Aboxgridcolor=20:=3D=20(scaledrgb(0,0,1,1))=20;;=0A= boxlinecolor=20:=3D=20(scaledrgb(0,0,1,1))=20;;=0Aboxfillcolor=20:=3D=20= (scaledrgb(.901961,.901961,.980392,1))=20;;=0Aboxfilloffset=20:=3D=20= 0.0pt=20;;=0Aboxlinewidth=20:=3D=200.4pt=20;;=0Aboxgridwidth=20:=3D=20= 0.4pt=20;;=0Aboxlineradius=20:=3D=205.5pt=20;;=0A;=20=20=20;=20= prepare_multi_pars(7,223.74072pt,428.98647pt,0.0pt,11.75328pt,4.57068pt,7,= 322.86159pt,428.98647pt,0.0pt,11.75328pt,4.57068pt,0,0pt,0pt,0pt,0pt,0pt,=20= 0,0pt,0pt,0pt,0pt,0pt,0,0,0,0,0,0)=20;=20= relocate_multipars(-(95.23926pt,72.9016pt))=20;=20=20draw_multi_pars=20= ;;=0A;=20;=0Aendfig;=0Alet=20end=3Dmprunend;=0Aend.=0A=0Aend=0A= --Apple-Mail-2-393636449 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Hans van der Meer On Jul 11, 2006, at 17:08, Hans Hagen wrote: > Hans van der Meer wrote: >> First everything is OK and then suddenly I start getting errors in >> (metafun) position graphics: >> >> ! Missing `)' has been inserted. >> >> ; >> l.118 ...926pt,72.9016pt)--(95.23926pt,72.9016pt); >> >> The mpgraph.mp file says at this point: >> >> PlainTextArea:=boundingbox((95.23926pt,72.9016pt)--(95.23926pt, >> 72.9016pt); >> shifted (609.52148pt,476.59792pt));; >> >> What is happening? >> > can you make a minimal failing example? looks like an ; too much > > Hans > > --Apple-Mail-2-393636449 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --Apple-Mail-2-393636449--