ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Lua script not registered
@ 2011-12-03  3:56 John Kitzmiller
  2011-12-03  9:30 ` Mojca Miklavec
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: John Kitzmiller @ 2011-12-03  3:56 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1074 bytes --]

Replying to the list in this manner--having to retype the subject--is
unusual to me, and I hope it does not create problems for the list. Please
help me on how to reply within the mail archive to make more efficient.
Many thanks to those who have replied on the topic!

Thank you, Aditya--

I had run C:\context\tex\setuptex.bat and then tried

C:\context>context firstfile.tex

which worked (now down to 3+ secs from 11+ at first run--file = \starttext
Hello World \stoptext)

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.

--John

[-- Attachment #1.2: Type: text/html, Size: 1240 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Lua script not registered
  2011-12-03  3:56 Lua script not registered John Kitzmiller
@ 2011-12-03  9:30 ` Mojca Miklavec
  2011-12-03 10:16 ` OT: Replying to messages from archive (was: Lua script not registered) Paul Menzel
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Mojca Miklavec @ 2011-12-03  9:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* OT: Replying to messages from archive (was: Lua script not registered)
  2011-12-03  3:56 Lua script not registered John Kitzmiller
  2011-12-03  9:30 ` Mojca Miklavec
@ 2011-12-03 10:16 ` Paul Menzel
  2011-12-03 10:52 ` Lua script not registered Hans Hagen
  2011-12-03 11:05 ` luigi scarso
  3 siblings, 0 replies; 5+ messages in thread
From: Paul Menzel @ 2011-12-03 10:16 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1050 bytes --]

Dear John,


Am Freitag, den 02.12.2011, 22:56 -0500 schrieb John Kitzmiller:
> Replying to the list in this manner--having to retype the subject--is
> unusual to me, and I hope it does not create problems for the list. Please
> help me on how to reply within the mail archive to make more efficient.
> Many thanks to those who have replied on the topic!

are you subscribed to the list? If yes, have you set up to get the
digest mode?

In either way, when participating in a discussion it is a good thing to
subscribe [1] and then configure the list to send you all messages. Then
you can reply to the list like you are used to and the threading is
kept.

To get the reference you can also download the archive as a mbox file
[3] and get the reference there or configure the correct message headers
(In-Reply-To, References).


Thanks,

Paul


[1] http://www.ntg.nl/mailman/listinfo/ntg-context
[2] http://en.opensuse.org/openSUSE:Mailing_list_netiquette
[3] http://www.ntg.nl/pipermail/ntg-context/
    (last column)

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Lua script not registered
  2011-12-03  3:56 Lua script not registered John Kitzmiller
  2011-12-03  9:30 ` Mojca Miklavec
  2011-12-03 10:16 ` OT: Replying to messages from archive (was: Lua script not registered) Paul Menzel
@ 2011-12-03 10:52 ` Hans Hagen
  2011-12-03 11:05 ` luigi scarso
  3 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2011-12-03 10:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: John Kitzmiller

On 3-12-2011 04:56, John Kitzmiller wrote:
> Replying to the list in this manner--having to retype the subject--is
> unusual to me, and I hope it does not create problems for the list. Please
> help me on how to reply within the mail archive to make more efficient.
> Many thanks to those who have replied on the topic!
>
> Thank you, Aditya--
>
> I had run C:\context\tex\setuptex.bat and then tried
>
> C:\context>context firstfile.tex
>
> which worked (now down to 3+ secs from 11+ at first run--file = \starttext
> Hello World \stoptext)
>
> 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.

I use windows here and it works ok, so it should be possible to get it 
working. In principle the only thing needed is to add the tex bin path 
to the environment variable PATH (beware there are two of them). From an 
editor, you can best run 'mtxrun --script context ...'.

Is the cache generated? Has there been an initial 'mtxrun --generate'?

Hans


-----------------------------------------------------------------
                                           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 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Lua script not registered
  2011-12-03  3:56 Lua script not registered John Kitzmiller
                   ` (2 preceding siblings ...)
  2011-12-03 10:52 ` Lua script not registered Hans Hagen
@ 2011-12-03 11:05 ` luigi scarso
  3 siblings, 0 replies; 5+ messages in thread
From: luigi scarso @ 2011-12-03 11:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, Dec 3, 2011 at 4:56 AM, John Kitzmiller <jkitzm@gmail.com> wrote:
> Replying to the list in this manner--having to retype the subject--is
> unusual to me, and I hope it does not create problems for the list. Please
> help me on how to reply within the mail archive to make more efficient. Many
> thanks to those who have replied on the topic!
I  use gmail --- I mean the web interface https://mail.google.com ---
without any problem.

-- 
luigi
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-12-03 11:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-03  3:56 Lua script not registered John Kitzmiller
2011-12-03  9:30 ` Mojca Miklavec
2011-12-03 10:16 ` OT: Replying to messages from archive (was: Lua script not registered) Paul Menzel
2011-12-03 10:52 ` Lua script not registered Hans Hagen
2011-12-03 11:05 ` luigi scarso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).