From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72902 Path: news.gmane.org!not-for-mail From: John Kitzmiller Newsgroups: gmane.comp.tex.context Subject: Re: Lua script not registered Date: Sat, 3 Dec 2011 11:55:20 -0500 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1330115107==" X-Trace: dough.gmane.org 1322931348 13564 80.91.229.12 (3 Dec 2011 16:55:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 3 Dec 2011 16:55:48 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 03 17:55:39 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 1RWssE-0004Im-P2 for gctc-ntg-context-518@m.gmane.org; Sat, 03 Dec 2011 17:55:38 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4D735CB129; Sat, 3 Dec 2011 17:55:36 +0100 (CET) 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 zm4f+b6OWhgO; Sat, 3 Dec 2011 17:55:33 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 64A96CB12B; Sat, 3 Dec 2011 17:55:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5F440CB12B for ; Sat, 3 Dec 2011 17:55:32 +0100 (CET) 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 07PkvbcTGnMy for ; Sat, 3 Dec 2011 17:55:21 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 66FE4CB129 for ; Sat, 3 Dec 2011 17:55:21 +0100 (CET) Original-Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pB3GtK1A032194 for ; Sat, 3 Dec 2011 17:55:20 +0100 Original-Received: by wgbds13 with SMTP id ds13so2931499wgb.2 for ; Sat, 03 Dec 2011 08:55:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=UZBSHJoexGWk+jMJf5HMy/LhJ3Im491W5ApX5p212lk=; b=IN1uxzu8rTthnwkeQsz288XN+GdyVSieoNMlvNDqw0NjHbRpqLvR1f3bcg30DBiLD8 qVQPblNvg6JMVCO+w/Cn0eAavlgRvrAm9FKIBy1JT+8XDm36JJkVdP/iTQaItYJK7PXr +1ybrcAH7nzZs8+mszf9ktCd+3Ghpj0yqjROs= Original-Received: by 10.216.85.142 with SMTP id u14mr695151wee.5.1322931320521; Sat, 03 Dec 2011 08:55:20 -0800 (PST) Original-Received: by 10.180.98.68 with HTTP; Sat, 3 Dec 2011 08:55:20 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.45; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rG4ETkuq - 9b9fc1a567f3 - 20111203 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:72902 Archived-At: --===============1330115107== Content-Type: multipart/alternative; boundary=0016e6dab0f86c04b604b332f3d2 --0016e6dab0f86c04b604b332f3d2 Content-Type: text/plain; charset=UTF-8 ---Mojca wrote: On Sat, Dec 3, 2011 at 04:56, John Kitzmiller wrote: > > I think I can get this setuptex.bat automated for random context runs but, > > for some reason(s) C:>context somefile.tex will not work globally on my > personal computer (Lenovo x100e) over which I have admin control (maybe I am > not a good admin?) and I have added C:\context\tex\texmf-mswin\bin to my > PATH > > I still get "Lua script not registered" complaint when I try to compile > outside of C:\context directory > > I suppose I could live with keeping all binaries and docs in C:\context, but > that is not so inviting compared to being able to pdfLaTeX a doc over > Dropbox via MikTeX for example. You need to have C:\context\tex\texmf-mswin\bin in front of MikTeX's bin, else the command "context" will use LuaTeX from MikTeX and that one won't find ConTeXt scripts. However, you might stumble into some problems with LaTeX then, but it might be possible to remove pdfTeX (during installation of ConTeXt you can say --engines=luatex) and then it will be unlikely that you will want to use the same binary with ConTeXt and LaTeX (I have no idea how kpathsea would work in such a scenario). Mojca end of quote --- Good thinking Mojca! Moving C:\context up in PATH has done the trick from the command line. Now I will fuss getting editor to work. I compiled a few of my standard docs through MiKTeX pdflatex and mpost docs with no conflict so far. Thank you so much for the suggestion and thanks to luigi and Hans for their help too. Then I will read and play with wonderful ConTeXt manuals and generate a million more questions ;) --johnk --0016e6dab0f86c04b604b332f3d2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
---Mojca wrote:

On Sat, Dec 3, 2011 at 04:56, John Kitzmil= ler wrote:

>
> I think I can get this setuptex.bat automated for rand= om context runs but,
>
> for some reason(s) C:>context somefile.tex will not= work globally on my
> personal computer (Lenovo x100e) over which I have adm= in control (maybe I am
> not a good admin?) and I have added C:\context\tex\tex= mf-mswin\bin to my
> PATH
>
> I still get "Lua script not registered" comp= laint when I try to compile
> outside of C:\context directory
>
> I suppose I could live with keeping all binaries and d= ocs in C:\context, but
> that is not so inviting compared to being able to pdfL= aTeX a doc over
> Dropbox via MikTeX for example.

You need to have C:\context\tex\texmf-mswin\bin in front of MikTeX'= ;s
bin, else the command "context" will use LuaTeX f= rom MikTeX and that
one won't find ConTeXt scripts.

However, you might stumble into some problems with LaTeX then, but it<= /span>
might be possible to remove pdfTeX (during installation of = ConTeXt you
can say --engines=3Dluatex) and then it will be unlikely th= at you will
want to use the same binary with ConTeXt and LaTeX (I have = no idea how
kpathsea would work in such a scenario).

Mojca

end of quote ---=

Good thinking Mo= jca! Moving C:\context up in PATH has done the trick from the command line.= Now I will fuss getting editor to work.

I compiled a few= of my standard docs through MiKTeX pdflatex and mpost docs with no conflic= t so far. Thank you so much for the suggestion and thanks to luigi and Hans= for their help too.

Then I will read and play wit= h wonderful ConTeXt manuals and generate a million more questions ;)=

--johnk
--0016e6dab0f86c04b604b332f3d2-- --===============1330115107== 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 ___________________________________________________________________________________ --===============1330115107==--