From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58504 Path: news.gmane.org!not-for-mail From: Peter =?utf-8?Q?M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: problem with package.path Date: Tue, 4 May 2010 10:28:14 +0200 Message-ID: <20100504082814.GA6991@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: dough.gmane.org 1272961708 18284 80.91.229.12 (4 May 2010 08:28:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 May 2010 08:28:28 +0000 (UTC) To: ConTeXt list Original-X-From: ntg-context-bounces@ntg.nl Tue May 04 10:28:26 2010 connect(): No such file or directory 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 1O9DUP-00065Y-FX for gctc-ntg-context-518@m.gmane.org; Tue, 04 May 2010 10:28:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1B80CC9B49; Tue, 4 May 2010 10:28:22 +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 Ku9LKa4rGj7s; Tue, 4 May 2010 10:28:19 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A5DC6C9B10; Tue, 4 May 2010 10:28:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8EBAEC9B10 for ; Tue, 4 May 2010 10:28:18 +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 7yxs-mraD-Ta for ; Tue, 4 May 2010 10:28:16 +0200 (CEST) Original-Received: from smtp2b.orange.fr (smtp2b.orange.fr [80.12.242.146]) by balder.ntg.nl (Postfix) with ESMTP id 5E22DC9AD9 for ; Tue, 4 May 2010 10:28:16 +0200 (CEST) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2b21.orange.fr (SMTP Server) with ESMTP id 0058B7000659 for ; Tue, 4 May 2010 10:28:16 +0200 (CEST) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2b21.orange.fr (SMTP Server) with ESMTP id E03E97000F81 for ; Tue, 4 May 2010 10:28:15 +0200 (CEST) Original-Received: from gaston.couberia.bzh (ARennes-551-1-74-71.w92-139.abo.wanadoo.fr [92.139.193.71]) by mwinf2b21.orange.fr (SMTP Server) with ESMTP id BB87F700024D for ; Tue, 4 May 2010 10:28:15 +0200 (CEST) X-ME-UUID: 20100504082815768.BB87F700024D@mwinf2b21.orange.fr Original-Received: by gaston.couberia.bzh (Postfix, from userid 1000) id DFF0D301C8; Tue, 4 May 2010 10:28:14 +0200 (CEST) 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:58504 Archived-At: Hello, I need to include lua-modules from different directories, but package.path does not seem to work: \startbuffer[test] bla = nil \stopbuffer \savebuffer[test][../mytest.lua] \starttext \startluacode package.path = "../?.lua;;" require("mytest") \stopluacode \stoptext Error message: ! LuaTeX error
:3: module 'mytest' not found: TIA for any help! Cheer, 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 ___________________________________________________________________________________