From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52352 Path: news.gmane.org!not-for-mail From: "Thomas Floeren" Newsgroups: gmane.comp.tex.context Subject: Re: Problem with metapost textbackgrounds on Windows Date: Mon, 17 Aug 2009 08:30:46 +0200 Message-ID: <02c001ca1f04$41866f20$8614a8c0@boschung.local> References: <6faad9f00908041048i6175b5b5uf879b453cc2b3b4d@mail.gmail.com> Reply-To: thomas.floeren@boschung.com, mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250490674 310 80.91.229.12 (17 Aug 2009 06:31:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Aug 2009 06:31:14 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 17 08:31:07 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 1McvkJ-0000tK-Lz for gctc-ntg-context-518@m.gmane.org; Mon, 17 Aug 2009 08:31:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BF6DCC9AED; Mon, 17 Aug 2009 08:31:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8BXzchPMNS6C; Mon, 17 Aug 2009 08:30:58 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 30882C9A92; Mon, 17 Aug 2009 08:30:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 61889C9A92 for ; Mon, 17 Aug 2009 08:30:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1EPGDUgyY0nu for ; Mon, 17 Aug 2009 08:30:51 +0200 (CEST) Original-Received: from smtp2.infomaniak.ch (smtp2.infomaniak.ch [84.16.68.90]) by balder.ntg.nl (Postfix) with ESMTP id 8F636C9A77 for ; Mon, 17 Aug 2009 08:30:51 +0200 (CEST) Original-Received: from wma007 (17.1.90.85.cust.static.gepowernet.ch [85.90.1.17]) (authenticated bits=0) by smtp2.infomaniak.ch (8.14.2/8.14.2) with ESMTP id n7H6Upmw016715 for ; Mon, 17 Aug 2009 08:30:52 +0200 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcoVLfO2xBGYoaRPQmK2rG1AHBUXgQJ1Xd5w X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Antivirus: Dr.Web (R) for Mail Servers on smtp2 host X-Antivirus-Code: 100000 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:52352 Archived-At: There seems to be a typo in anch-pgr.mkII which prevents textbackgrounds from working: line 654 '\enableparposition' should probably read '\enableparpositions'. If you copy the following lines into your environment it should work: \def\initializeparbackgrounds {\ifcase\totalnofparbackgrounds\else \enableparpositions \fi} Regards Thomas ________________________________ From: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl] On Behalf Of Kevin D. Robbins Sent: Tuesday, August 04, 2009 8:03 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] Problem with metapost textbackgrounds on Windows Thanks, Mojca. Also, a further bit of investigation on Windows shows that building the example (saved in foo.tex) with "context foo.tex" or "texexec --lua foo.tex" produces the results I reported. But, building without lua using "texexec foo.tex" gives a different error but does produce the expected gray background behind the \startC ... \stopC block. Here is the error when building with "texexec foo.tex": ! Undefined control sequence. \initializeparbackgrounds ...e \enableparposition \fi ...page \initializeparbackgrounds \loadctxpreplist \checkref... \doateverystarttext ->\the \everystarttext \global \everystarttext \emptytoks \starttext ->\doateverystarttext \ifcase \textlevel \registerfileinfo [begin... l.36 \starttext Continuing the run just by hitting enter completes the build with the correct background drawn. Kevin On Tue, Aug 4, 2009 at 11:48 AM, Mojca Miklavec wrote: On Tue, Aug 4, 2009 at 19:18, Kevin D. Robbins wrote: > 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: I'll try to make sure what LuaTeX version is used on Windows. At the time of synchronisation there was no luatex snapshot yet and it the meantime server name has been changed. (Nobody has complained so far, so I almost forgot about it.) Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________