From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69504 Path: news.gmane.org!not-for-mail From: "Reviczky, Adam" Newsgroups: gmane.comp.tex.context Subject: tex file as input (was: bad argument #1 to 'gsub') Date: Fri, 24 Jun 2011 23:14:03 +0100 Message-ID: <7B4626C28B06A7418E938BF73D6DEE18F9FE70546C@KCL-MAIL05.kclad.ds.kcl.ac.uk> 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: dough.gmane.org 1308953692 9855 80.91.229.12 (24 Jun 2011 22:14:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 24 Jun 2011 22:14:52 +0000 (UTC) Cc: "kip@thevertigo.com" To: "ntg-context@ntg.nl" Original-X-From: ntg-context-bounces@ntg.nl Sat Jun 25 00:14:48 2011 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 1QaEeF-0003Ps-93 for gctc-ntg-context-518@m.gmane.org; Sat, 25 Jun 2011 00:14:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 917F7CADB3; Sat, 25 Jun 2011 00:14:46 +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 IhUJ4bUxK7Ie; Sat, 25 Jun 2011 00:14:43 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7CC6DCADA5; Sat, 25 Jun 2011 00:14:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 06E26CADA5 for ; Sat, 25 Jun 2011 00:14:41 +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 IEHpS1VtaGqc for ; Sat, 25 Jun 2011 00:14:29 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id EBD29CAD97 for ; Sat, 25 Jun 2011 00:14:28 +0200 (CEST) Original-Received: from mail1.bemta5.messagelabs.com (mail1.bemta5.messagelabs.com [195.245.231.130]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p5OMESYc019675 for ; Sat, 25 Jun 2011 00:14:28 +0200 Original-Received: from [195.245.231.67:64838] by server-1.bemta-5.messagelabs.com id 48/D4-23978-44C050E4; Fri, 24 Jun 2011 22:14:28 +0000 X-VirusChecked: Checked X-Env-Sender: adam.reviczky@kcl.ac.uk X-Msg-Ref: server-4.tower-82.messagelabs.com!1308953667!48875489!1 X-StarScan-Version: 6.2.17; banners=-,-,- X-Originating-IP: [137.73.2.214] Original-Received: (qmail 23058 invoked from network); 24 Jun 2011 22:14:27 -0000 Original-Received: from outbound.kcl.ac.uk (HELO outbound.kcl.ac.uk) (137.73.2.214) by server-4.tower-82.messagelabs.com with DHE-RSA-AES256-SHA encrypted SMTP; 24 Jun 2011 22:14:27 -0000 Original-Received: from ml-relay1.kcl.ac.uk ([137.73.2.230] helo=plsap48.prd.int.kcl.ac.uk) by outbound.kcl.ac.uk outbound with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) id 1QaEdY-0000L6-UF; Fri, 24 Jun 2011 23:14:04 +0100 Original-Received: from [194.83.7.243] (helo=KCL-ETS04.ds.kcl.ac.uk) by plsap48.prd.int.kcl.ac.uk mlmx with esmtp id 1QaEdY-0000L3-Jt; Fri, 24 Jun 2011 23:14:04 +0100 Original-Received: from KCL-HTS02.kclad.ds.kcl.ac.uk (10.12.7.11) by KCL-ETS04.ds.kcl.ac.uk (10.12.4.23) with Microsoft SMTP Server (TLS) id 8.3.83.0; Fri, 24 Jun 2011 23:14:04 +0100 Original-Received: from KCL-MAIL05.kclad.ds.kcl.ac.uk ([193.63.72.94]) by KCL-HTS02.kclad.ds.kcl.ac.uk ([10.12.7.11]) with mapi; Fri, 24 Jun 2011 23:14:04 +0100 Thread-Topic: tex file as input (was: bad argument #1 to 'gsub') Thread-Index: AQHMMrwGqJPYZW0xOE+ZQV+48xeQYQ== Accept-Language: en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=195.245.231.130; country=NL; region=07; city=Amsterdam; latitude=52.3500; longitude=4.9167; http://maps.google.com/maps?q=52.3500,4.9167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eEXWesoX - b725e6e100a7 - 20110625 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:69504 Archived-At: Hi Here's a minimal example to follow up: http://www.ntg.nl/pipermail/ntg-context/2011/060169.html (having some "file.tex" in folder "test") \starttext \input test/file \stoptext gives: ! LuaTeX error .../ctx/tex/texmf-context/tex/context/base/data-env.lua:234: bad argument #1 to 'gsub' (string expected, got nil). system > tex > error on line 2 in file input.tex: LuaTeX error ... Tested on minimals 2011.06.24 16:57. Using "\input test/file.tex" works though. Adam ___________________________________________________________________________________ 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 ___________________________________________________________________________________