From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52083 Path: news.gmane.org!not-for-mail From: "Kevin D. Robbins" Newsgroups: gmane.comp.tex.context Subject: Problem with metapost textbackgrounds on Windows Date: Tue, 4 Aug 2009 11:18:12 -0600 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1205755541==" X-Trace: ger.gmane.org 1249406337 7761 80.91.229.12 (4 Aug 2009 17:18:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Aug 2009 17:18:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 04 19:18:50 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1MYNf0-0001x5-CV for gctc-ntg-context-518@m.gmane.org; Tue, 04 Aug 2009 19:18:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 246B6C9A1F; Tue, 4 Aug 2009 19:18:51 +0200 (CEST) Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qzcwj5zda-XZ; Tue, 4 Aug 2009 19:18:40 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BD808C9A9B; Tue, 4 Aug 2009 19:18:40 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 04320C9A9B for ; Tue, 4 Aug 2009 19:18:39 +0200 (CEST) Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id WyoOl7rTwUbi for ; Tue, 4 Aug 2009 19:18:18 +0200 (CEST) Original-Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by balder.ntg.nl (Postfix) with ESMTP id 53796C9B10 for ; Tue, 4 Aug 2009 19:18:18 +0200 (CEST) Original-Received: by wf-out-1314.google.com with SMTP id 25so1192017wfc.5 for ; Tue, 04 Aug 2009 10:18:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=rBcRbfLzawRCRgBei6zqNGYpZIoNI7gQ/QMBuh4YFC0=; b=q1zMD8HpmUQNsG7o3W5wFjIHAoPo/j3uI44iNRMm9IJNizECp1Q9qh02tESNu0TKQB S+Ex/Tahx1ggbIV2z5F5ecG6/4p6XEmW1WZ/TW1DvzajPw74h6pMzt+6cQRQIAAv+OyM kDsI1rH9+EHPyqbRa8YoR7BICetomn0l1hMXc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=Utcy+wTrMV6wVghZOFEymaBCcxKKHiyNRumiKxOajlCg5I7k4WPyOt/bMHSmvIs3tg ihuX25nZ4WLbnoALs+9ajNr9GuT6U4fYX31zJ2CHYYyFMUtrVBoPsS/+OAAeoVMwOjU1 Qz3hOl4ot0EDPMzfxeXuwcrZLswEPqjWadUZ0= Original-Received: by 10.142.136.11 with SMTP id j11mr661323wfd.235.1249406292463; Tue, 04 Aug 2009 10:18:12 -0700 (PDT) X-Google-Sender-Auth: b794dccfb284239c X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:52083 Archived-At: --===============1205755541== Content-Type: multipart/alternative; boundary=000e0cd32cd23e11d50470541211 --000e0cd32cd23e11d50470541211 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hello all, In the example below, I mean for a gray box with rounded corners to be placed behind \startC ... \stopC blocks. This example compiles properly on Linux with the latest ConTeXt beta and LuaTeX synced from the minimals just minutes ago. On Windows, also updated from minimals this morning, I get the following error and no text background: mplib : initializing instance 'metafun' using format 'metafun' mplib : loading 'metafun.mp' from 'C:/context/tex/texmf-cache/luatex-c ache/context/2fea56f92e5267d7cc9662e4d5f52e1e/formats/cont-en-metafun.mem' ! Emergency stop. ...ore.mp ; fi ; ;;;]===], false)} \processMPgraphic ...s ;\!!es , \MPaskedfigure )}} \egroup \global \MPinstanc... \useMPpositiongraphic ...tartMPcode #3\stopMPcode \egroup \doMPpositiongraphic ...riables \getvalue {MPG:#1} } \doMPpositiongraphic ...fined {MPG:#1}\donothing } \removelastspace }\smashbo... \dohandleMPpositiongraphicrange ...raphic {#3}{#4} \fi \fi ... l.59 \stoptext ! ==> Fatal error occurred, no output PDF file produced!MTXrun | fatal error, r eturn code: 1 Here is the example: %%%%% \unprotect \startuseMPgraphic{mpos:par:myexample} path p; for i = 1 upto nofmultipars : p := multipars[1] topenlarged 4pt bottomenlarged 4pt cornered 2mm ; fill p withcolor 0.9white ; draw p withcolor black withpen pencircle scaled \MPvar{linewidth}; endfor; \stopuseMPgraphic \definetextbackground [listingbackground] [state=start, mp=mpos:par:myexample, location=paragraph, leftoffset=0em, rulethickness=1pt] \definetyping [C] [option=commands] \setuptyping [C] [bodyfont=8pt, margin=1em, before=% {\blank[big] \setupinterlinespace[line=1.6ex] \starttextbackground[listingbackground]}, after=% {\stoptextbackground \blank[big]}] \protect \starttext \input tufte \starttyping namespace Example { int a; int b; } \stoptyping \input knuth \startC namespace Example { int a; int b; } \stopC \stoptext %%%%% --000e0cd32cd23e11d50470541211 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: base64 SGVsbG8gYWxsLDxicj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aW9uPWNvbW1hbmRzXTxicj5cc2V0dXB0eXBp bmcgW0NdPGJyPsKgIFtib2R5Zm9udD04cHQsPGJyPsKgwqAgbWFyZ2luPTFlbSw8YnI+wqDCoCBi ZWZvcmU9JTxicj7CoMKgwqDCoCB7XGJsYW5rW2JpZ108YnI+wqDCoMKgwqDCoCBcc2V0dXBpbnRl cmxpbmVzcGFjZVtsaW5lPTEuNmV4XTxicj7CoMKgwqDCoMKgIFxzdGFydHRleHRiYWNrZ3JvdW5k W2xpc3RpbmdiYWNrZ3JvdW5kXX0sPGJyPgrCoMKgIGFmdGVyPSU8YnI+wqDCoMKgwqAge1xzdG9w dGV4dGJhY2tncm91bmQ8YnI+wqDCoMKgwqDCoCBcYmxhbmtbYmlnXX1dPGJyPjxicj5ccHJvdGVj dDxicj48YnI+XHN0YXJ0dGV4dDxicj48YnI+XGlucHV0IHR1ZnRlPGJyPjxicj5cc3RhcnR0eXBp bmc8YnI+bmFtZXNwYWNlIEV4YW1wbGU8YnI+ezxicj7CoMKgwqAgaW50IGE7PGJyPsKgwqDCoCBp bnQgYjs8YnI+fTxicj5cc3RvcHR5cGluZzxicj48YnI+XGlucHV0IGtudXRoPGJyPgo8YnI+PGJy PlxzdGFydEM8YnI+bmFtZXNwYWNlIEV4YW1wbGU8YnI+ezxicj7CoMKgwqAgaW50IGE7PGJyPsKg wqDCoCBpbnQgYjs8YnI+fTxicj5cc3RvcEM8YnI+PGJyPlxzdG9wdGV4dDxicj4lJSUlJTxicj4K --000e0cd32cd23e11d50470541211-- --===============1205755541== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1205755541==--