From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79019 Path: news.gmane.org!not-for-mail From: =?iso-8859-2?B?UHJvY2jhemthIEx1a+G5?= Newsgroups: gmane.comp.tex.context Subject: Weird print("\n...") error Date: Fri, 02 Nov 2012 22:12:06 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=----------ZBjBUw4hv420lDa5fcUFPc X-Trace: ger.gmane.org 1351890768 12679 80.91.229.3 (2 Nov 2012 21:12:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 Nov 2012 21:12:48 +0000 (UTC) To: ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 02 22:12:55 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TUOXu-0001rv-DM for gctc-ntg-context-518@m.gmane.org; Fri, 02 Nov 2012 22:12:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4AA0B10248; Fri, 2 Nov 2012 22:12:45 +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 yVq6ZFfPNW2E; Fri, 2 Nov 2012 22:12:42 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 782ED1020B; Fri, 2 Nov 2012 22:12:42 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6F78F1020B for ; Fri, 2 Nov 2012 22:12:40 +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 Dnfwf4EZZ1jG for ; Fri, 2 Nov 2012 22:12:39 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 435BB10202 for ; Fri, 2 Nov 2012 22:12:39 +0100 (CET) Original-Received: from mail.pontex.cz (mail.pontex.cz [89.233.168.98]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qA2L7IM4007576 for ; Fri, 2 Nov 2012 22:07:19 +0100 Original-Received: from lk-2008-nbk ([88.100.123.157]) (authenticated user lpr@pontex.cz) by mail.pontex.cz (Kerio MailServer 6.6.2) for ntg-context@ntg.nl; Fri, 2 Nov 2012 22:12:35 +0100 User-Agent: Opera Mail/12.02 (Win32) X-Bayes-Prob: 0.0084 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=89.233.168.98; country=CZ; region=52; city=Prague; latitude=50.0833; longitude=14.4667; http://maps.google.com/maps?q=50.0833,14.4667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WIiJ7i1d - 4dfd7073e71d - 20121102 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:79019 Archived-At: ------------ZBjBUw4hv420lDa5fcUFPc Content-Type: text/plain; charset=iso-8859-2; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hello, I encountered a weird error. The following code prints correctly to the console: ---- \starttext \startluacode print("\n@T") \stopluacode Abc \stoptext ---- Gives correct: " ... fonts > virtual math > unable to resolve name mapsfromchar fonts > fallback modern rm 12pt is loaded @T backend > xmp > using file 'c:/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml' ... " But the following code fails (?!): ---- \starttext \startluacode print("\nT") \stopluacode Abc \stoptext ---- With: " ... fonts > fallback modern rm 12pt is loaded ! Undefined control sequence. system > tex > error on line 4 in file D:/Lukas/ConTeXt/Test/Env3/Test.mkiv: Undefined control sequence ... 1 \starttext 2 \startluacode 3 print("\nT") 4 >> \stopluacode 5 6 Abc 7 \stoptext 8 print("\nT ") \luat_start_lua_code_indeed ...tlua \zerocount {#1 }} l.4 \stopluacode ... " Any explanation? TIA. Best regards, Lukas ------------ZBjBUw4hv420lDa5fcUFPc Content-Disposition: attachment; filename=Test.mkiv Content-Type: application/octet-stream; name="Test.mkiv" Content-Transfer-Encoding: Base64 XHN0YXJ0dGV4dA0KICBcc3RhcnRsdWFjb2RlDQogICAgcHJpbnQoIlxuVCIpDQog IFxzdG9wbHVhY29kZQ0KDQogIEFiYw0KXHN0b3B0ZXh0DQo= ------------ZBjBUw4hv420lDa5fcUFPc 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ------------ZBjBUw4hv420lDa5fcUFPc--