On 8/14/2013 4:05 PM, Henning Hraban Ramm wrote:
Hi, after a long time I'm playing with ConTeXt again…
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 "myline".
looks ok here, btw it's logs.report("some tag",myline)
Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
___________________________________________________________________________________ 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 ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------