From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78843 Path: news.gmane.org!not-for-mail From: =?iso-8859-2?B?UHJvY2jhemthIEx1a+G5IEluZy4gLSBQb250ZXggcy4gci4gby4=?= Newsgroups: gmane.comp.tex.context Subject: Re: Lua in Ctx: "require()" fails? Date: Tue, 23 Oct 2012 16:14:10 +0200 Message-ID: References: <506D72AC.5070604@wxs.nl> <506D73DA.8050806@wxs.nl> <506EA0EB.8010106@wxs.nl> <507C5621.1050001@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=----------MpSaNZSGwAEMfD1xFINb8R X-Trace: ger.gmane.org 1351001486 10801 80.91.229.3 (23 Oct 2012 14:11:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Oct 2012 14:11:26 +0000 (UTC) To: ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 23 16:11:33 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 1TQfCd-0004sA-5u for gctc-ntg-context-518@m.gmane.org; Tue, 23 Oct 2012 16:11:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 47EA7101E8; Tue, 23 Oct 2012 16:11:23 +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 slWMmdvFWVOi; Tue, 23 Oct 2012 16:11:21 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 35D8B101EA; Tue, 23 Oct 2012 16:11:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 69695101EA for ; Tue, 23 Oct 2012 16:11:19 +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 ABiWgW9rF41S for ; Tue, 23 Oct 2012 16:11:18 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 29F85101E8 for ; Tue, 23 Oct 2012 16:11:18 +0200 (CEST) Original-Received: from mail.pontex.cz (mail.pontex.cz [89.233.168.98]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q9NEBDiJ026602 for ; Tue, 23 Oct 2012 16:11:17 +0200 Original-Received: from localhost ([127.0.0.1]) by mail.pontex.cz (Kerio MailServer 6.6.2) for ntg-context@ntg.nl; Tue, 23 Oct 2012 16:11:10 +0200 In-Reply-To: <507C5621.1050001@wxs.nl> User-Agent: Opera Mail/12.02 (Win32) X-Bayes-Prob: 0.0001 (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: 0NIeCbd0e - 1bfc5ac04282 - 20121023 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:78843 Archived-At: ------------MpSaNZSGwAEMfD1xFINb8R Content-Type: text/plain; charset=iso-8859-2; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Hello, my "trick" with LUAINPUTS system variable stopped working after the toda= y's Ctx update. So I'm trying again to solve the problem that ---- \startluacode require "LPr-U" \stopluacode ---- doesn't load the file at "d:/Lukas/Lua/LPr-U.lua". On Mon, 15 Oct 2012 20:29:53 +0200, Hans Hagen wrote: > On 8-10-2012 15:57, Proch=E1zka Luk=E1=B9 Ing. - Pontex s. r. o. wrote= : > >> The intention is Ctx to find and load its original texmfcnf.lua a= nd >> then to load my texmfcnf.lua which would modify only some elements >> (namely: the LUAINPUTS member). > > texmf-local\web2c > >> I'd like to keep "factory" texmfcnf.lua settings as much as possi= ble. > > Hans Following Hans' advice, I created "d:/texmf-local/web2c/contextcnf.lua" = with the following content: ---- return { LUAINPUTS =3D "d:/Lukas/Lua/", } ---- but I'm still getting error with "require". What other steps do I have to do to make it work? TIA. Lukas -- = Ing. Luk=E1=B9 Proch=E1zka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezov=E1 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ------------MpSaNZSGwAEMfD1xFINb8R Content-Disposition: attachment; filename=contextcnf.lua Content-Type: application/octet-stream; name="contextcnf.lua" Content-Transfer-Encoding: Base64 cmV0dXJuDQogIHsgTFVBSU5QVVRTID0gImQ6L0x1a2FzL0x1YS8iLA0KICB9DQo= ------------MpSaNZSGwAEMfD1xFINb8R Content-Disposition: attachment; filename=t.mkiv Content-Type: application/octet-stream; name="t.mkiv" Content-Transfer-Encoding: Base64 XHN0YXJ0bHVhY29kZQ0KICByZXF1aXJlICJMUHItVSINClxzdG9wbHVhY29kZQ0K DQpcc3RhcnR0ZXh0DQogIEENClxzdG9wdGV4dA0K ------------MpSaNZSGwAEMfD1xFINb8R 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 ___________________________________________________________________________________ ------------MpSaNZSGwAEMfD1xFINb8R--