From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/56007 Path: news.gmane.org!not-for-mail From: Peter =?utf-8?Q?M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: very strange error with \xypos and vim-typing Date: Mon, 8 Feb 2010 11:43:15 +0100 Message-ID: <20100208104315.GA27227@gaston.couberia.bzh> Reply-To: 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 1265625849 26067 80.91.229.12 (8 Feb 2010 10:44:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Feb 2010 10:44:09 +0000 (UTC) To: ConTeXt list Original-X-From: ntg-context-bounces@ntg.nl Mon Feb 08 11:44:06 2010 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.69) (envelope-from ) id 1NeR61-0007JT-Km for gctc-ntg-context-518@m.gmane.org; Mon, 08 Feb 2010 11:44:01 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 37B39C9CC2; Mon, 8 Feb 2010 11:45:33 +0100 (CET) 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 rBcb7AJpyF5W; Mon, 8 Feb 2010 11:45:30 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ABA26C9CBC; Mon, 8 Feb 2010 11:45:30 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 21518C9CBC for ; Mon, 8 Feb 2010 11:45:29 +0100 (CET) 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 OuAfYAkxIK3X for ; Mon, 8 Feb 2010 11:45:17 +0100 (CET) Original-Received: from smtp2f.orange.fr (smtp2f.orange.fr [80.12.242.151]) by balder.ntg.nl (Postfix) with ESMTP id CA548C9CBA for ; Mon, 8 Feb 2010 11:45:17 +0100 (CET) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2f06.orange.fr (SMTP Server) with ESMTP id BBCDC8001B3D for ; Mon, 8 Feb 2010 11:43:17 +0100 (CET) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2f06.orange.fr (SMTP Server) with ESMTP id AEADC8001CB1 for ; Mon, 8 Feb 2010 11:43:17 +0100 (CET) Original-Received: from gaston.couberia.bzh (ARennes-551-1-52-188.w92-135.abo.wanadoo.fr [92.135.123.188]) by mwinf2f06.orange.fr (SMTP Server) with ESMTP id 831178001B3D for ; Mon, 8 Feb 2010 11:43:17 +0100 (CET) X-ME-UUID: 20100208104317536.831178001B3D@mwinf2f06.orange.fr Original-Received: by gaston.couberia.bzh (Postfix, from userid 1000) id BE9EE30157; Mon, 8 Feb 2010 11:43:15 +0100 (CET) Mail-Followup-To: ConTeXt list Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) 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:56007 Archived-At: Hello, I get the following error: ! Missing number, treated as zero. \dontleavehmode \dontleavehmode \normalspace \secondoftwoarguments #1#2->#2 l.1 \the\dimexpr 63.6383pt-0pt\relax \MPy #1->\ctxlua {jobpositions.MPy("#1")} \dopresetpositionanchors ...expr \MPy \textanchor +\MPh \textanchor -\!!dime... ... l.5 \s[]{bla;} with this test-file: \usemodule[vim] \setupbodyfont[ss, 14pt] \setuppapersize[S6][S6] \definevimtyping[C][syntax=c] \starttext \startC \stopC \xypos{XXX} \startC bla; bla; bla; \stopC \startC bla; bla; bla; \stopC \startC bla; bla; bla; bla; \stopC \startC bla; bla; bla; bla; bla; \stopC \stoptext t-vim.tex comes from http://www.ntg.nl/pipermail/ntg-context/2009/042527.html Strange, because whenever I remove a line of this test-file, the error disappears. Could someone help please? TIA for any hints! Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________