From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83807 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: problem with lua io.lines Date: Wed, 14 Aug 2013 16:15:45 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1376489891 23010 80.91.229.3 (14 Aug 2013 14:18:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Aug 2013 14:18:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 14 16:18:14 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V9btr-0000kg-SQ for gctc-ntg-context-518@m.gmane.org; Wed, 14 Aug 2013 16:18:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A5487101FA; Wed, 14 Aug 2013 16:17:16 +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 icDZA00DLI08; Wed, 14 Aug 2013 16:17:06 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id BD5411022B; Wed, 14 Aug 2013 16:15:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2FEB110227 for ; Wed, 14 Aug 2013 16:15:24 +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 1yLK20el1AkN for ; Wed, 14 Aug 2013 16:15:04 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 505D1101FA for ; Wed, 14 Aug 2013 16:15:04 +0200 (CEST) Original-Received: from mail-ee0-x233.google.com (mail-ee0-x233.google.com [IPv6:2a00:1450:4013:c00::233]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r7EEFwQ7018533 for ; Wed, 14 Aug 2013 16:15:58 +0200 Original-Received: by mail-ee0-f51.google.com with SMTP id c1so4831687eek.38 for ; Wed, 14 Aug 2013 07:15:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=mdG9J55IO7Enk+4oCn4ij9qR13p/0BCTLaqoWoa2qwE=; b=TdWLgx4C5blPkTGBuv2iRo1YrP7EeTEIjYBkJzvUz06OYzAvMFCWGlThdFPw/RqDP6 tG7fZfNOWE9AkKTjWltitHN+TGQ48iRiuPt8JGAQ7QEVm6KPBd3S2NWXKp2jQyX7enz1 Hsq4BbqFU0KJbAxVP8brdn98HukRqSExFdjWHtiGSpDr9VtaRxFLUYWlXEGwgcHBRYym uOocRIAcUnXMHcDyxi7LspfDPUv8vq2Wr+ud/JE5AqwqHtAy/Oi24lzQA1XS33zzY1lm nU9KFaS49lbWOyVSlAfozIGllfrAg2a5WKqnGrRcFubG83HS2zl+8zxW3W4xkd1/NSBr sfRg== X-Received: by 10.14.179.4 with SMTP id g4mr1194363eem.93.1376489758077; Wed, 14 Aug 2013 07:15:58 -0700 (PDT) Original-Received: from keima.localdomain (x2f23fbd.dyn.telefonica.de. [2.242.63.189]) by mx.google.com with ESMTPSA id c3sm75487309eev.3.2013.08.14.07.15.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 07:15:57 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1508) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c00::233; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07KcCfWyp - 01bc7bc4275c - 20130814 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:83807 Archived-At: Am 14.08.2013 um 16:05 schrieb Henning Hraban Ramm : > Hi, after a long time I'm playing with ConTeXt again=85 > = > Current beta MkIV seems to have a bug in the Lua function io.lines: > = > for myline in io.lines(myfile) do > logs.report(myline) > end > = > "myfile" just contains one line with a number, without return/newline. > If the number has more than one digit, I get single digits as "myeline". Do you have a minimal working example? Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________