From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87521 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Ctx goes into infinite loop? Date: Fri, 23 May 2014 13:15:19 +0200 Message-ID: <537F2DC7.2040708@wxs.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1400843748 7468 80.91.229.3 (23 May 2014 11:15:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 May 2014 11:15:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 23 13:15:44 2014 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 1WnnRq-00036c-V0 for gctc-ntg-context-518@m.gmane.org; Fri, 23 May 2014 13:15:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B8F3710202 for ; Fri, 23 May 2014 13:15:38 +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 M4Pmkca+w4CC for ; Fri, 23 May 2014 13:15:38 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 0D61610239 for ; Fri, 23 May 2014 13:15:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AA3E5101EE for ; Fri, 23 May 2014 13:15:29 +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 llCy74RzGWbt for ; Fri, 23 May 2014 13:15:28 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id E98D0101F0 for ; Fri, 23 May 2014 13:15:27 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s4NBFOU3020582 for ; Fri, 23 May 2014 13:15:27 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.103; Original-Received: from [10.100.1.103] (unverified [10.100.1.103]) by pragma-net.nl (SurgeMail 6.5a2) with ESMTP id 3257-1713362 for ; Fri, 23 May 2014 13:15:23 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=Provincie Overijssel; city=Zwolle; latitude=52.5058; longitude=6.0858; http://maps.google.com/maps?q=52.5058,6.0858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TM5nfpzo - 2dae69c9d4be - 20140523 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:87521 Archived-At: On 5/23/2014 12:40 PM, Proch=E1zka Luk=E1=9A Ing. - Pontex s. r. o. wrote: > Hello, > > I have problem running the latest Ctx beta. > > Suppose having: > > -- C:\Lukas\Jobs\D3-Sk\SO_237-20.RDS\Drawings\t2.mkiv > > \startluacode > local home =3D (os.getenv("HOME.ORG") or os.getenv("HOME") or > "?"):gsub("\\", "/") > > context.setvalue("HOME", home) > \stopluacode > > \input \HOME/Common/_Defs_.ctx at least put { } around the input name > \starttext > Test > \stoptext > > -- > > and an empty > > -- C:\Lukas\Common\_Defs_.ctx > -- > > When running: > > C:\Lukas\Jobs\D3-Sk\SO_237-20.RDS\Drawings>context.exe t2.mkiv > > Ctx stops telling anything (infinite loop?): > > " > C:\Lukas\Jobs\D3-Sk\SO_237-20.RDS\Drawings>context.exe t2.mkiv > > mtx-context | run 1: luatex > --fmt=3D"c:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce= 0dde776fb1556f32e/formats/luatex/cont-en" > --jobname=3D"t2" > --lua=3D"c:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce= 0dde776fb1556f32e/formats/luatex/cont-en.lui" > --no-parse-first-line --c:currentrun=3D1 --c:fulljobname=3D"./t2.mkiv" > --c:input=3D"./t2.mkiv" --c:kindofrun=3D1 --c:maxnofruns=3D8 "cont-yes.mk= iv" > This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/W32TeX) (rev 5004) > \write18 enabled. > open source > 1 > 1 > > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-yes.mkiv > > ConTeXt ver: 2014.05.21 22:04 MKIV beta fmt: 2014.5.22 int: > english/english > > system > 'cont-new.mkiv' loaded > open source > 2 > 2 > > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-new.mkiv > close source > 2 > 2 > > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-new.mkiv > system > files > jobname 't2', input './t2.mkiv', result 't2' > fonts > latin modern fonts are not preloaded > languages > language 'en' is active > open source > 2 > 3 > > C:/Lukas/Jobs/D3-Sk/SO_237-20.RDS/Drawings/t2.mkiv > > tex error > error on line 7 in file > C:/Lukas/Jobs/D3-Sk/SO_237-20.RDS/Drawings/t2.mkiv: ! I can't find file > `C:/Documents'.\HOME > ^C > > C:\Lukas\Jobs\D3-Sk\SO_237-20.RDS\Drawings> > \HOME \-C:/Documents > and Settings/LPR > l.7 \input \HOME > /Common/_Defs_.ctx > > 1 \startluacode > 2 local home =3D (os.getenv("HOME.ORG") or os.getenv("HOME") or > "?"):gsub("\\", "/") > 3 > 4 context.setvalue("HOME", home) > 5 \stopluacode > 6 > 7 >> \input \HOME/Common/_Defs_.ctx > 8 > 9 \starttext > 10 Test > 11 \stoptext > 12 > " > > What's wrong? > > Lukas > > > > > _________________________________________________________________________= __________ > 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-co= ntext > 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 ----------------------------------------------------------------- ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________